inetmanet compiling error

11 views
Skip to first unread message

peter

unread,
Sep 1, 2010, 11:26:42 AM9/1/10
to omnetpp
Hi,

I tried to build inetmanet-g4ab1fe0 on omnetpp 4.1 and got following
error:

linklayer/ext/cSocketRTScheduler.cc: In member function 'virtual void
cSocketRTScheduler::startRun()':
linklayer/ext/cSocketRTScheduler.cc:63: warning: comparison between
signed and unsigned integer expressions
linklayer/ext/cSocketRTScheduler.cc:65: error: 'IP_HDRINCL' was not
declared in this scope
linklayer/ext/cSocketRTScheduler.cc: In member function 'void
cSocketRTScheduler::sendBytes(uint8_t*, size_t, sockaddr*,
socklen_t)':
linklayer/ext/cSocketRTScheduler.cc:296: warning: comparison between
signed and unsigned integer expressions
make[1]: *** [../out/gcc-debug//src/linklayer/ext/
cSocketRTScheduler.o] Error 1
make[1]: Leaving directory `/c/omnetpp-4.0p1/workspace-epon/inetmanet-
inetmanet-4ab1fe0/src'
make: *** [all] Error 2

could anyone tell me plese wich packet is missing?

thankx

Peter

HAEFLINGER, PATRICK (PATRICK)

unread,
Sep 1, 2010, 11:31:56 AM9/1/10
to omn...@googlegroups.com
Hi Peter,

Something is strange, you state that you try to compile in omnetpp4.1
And in the error message I can see following `/c/omnetpp-4.0p1/workspace-epon/ine....
Check your omnet configuration, may be a version mismatch !

Patrick

-----Message d'origine-----
De : omn...@googlegroups.com [mailto:omn...@googlegroups.com] De la part de peter
Envoyé : mercredi 1 septembre 2010 17:27
À : omnetpp
Objet : [Omnetpp-l] inetmanet compiling error

Hi,

thankx

Peter

--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to omnetpp+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/omnetpp?hl=en.

peter

unread,
Sep 1, 2010, 5:13:34 PM9/1/10
to omnetpp
Hi Patrick,

yes you are right, this error is from omnet 4.0p1 but i got the same
error with omnetpp 4.1 and 4.0... i would like prefer omnet 4.1..

would apreciate any hint or help in this issue!!

thanx,
Peter



On 1 Sep., 17:31, "HAEFLINGER, PATRICK (PATRICK)"

Alfonso Ariza Quintana

unread,
Sep 2, 2010, 5:16:14 AM9/2/10
to omn...@googlegroups.com

This is a header problem with windows you should have in the cSocketRTScheduler.cc file this code

#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__CYGWIN__) || defined(_WIN64)
#include <ws2tcpip.h>
#endif


> Date: Wed, 1 Sep 2010 14:13:34 -0700
> Subject: [Omnetpp-l] Re: inetmanet compiling error
> From: pet...@googlemail.com
> To: omn...@googlegroups.com

peter

unread,
Sep 2, 2010, 11:18:23 AM9/2/10
to omnetpp
thanx a lot!!! this really solved my problem :)

BUT I got some new errors with simtime_t and double conversion
problems, which could be solved with the SIMTIME_DBL(t) converting
macro or with the CFLAG -DUSE_DOUBLE_SIMTIME in the makfile..

so far so good, new errors occured :/
i will post them shortly...



On 2 Sep., 11:16, Alfonso Ariza Quintana <aariza...@hotmail.com>
wrote:
> This is a header problem with windows you should have in the cSocketRTScheduler.cc file this code
>
> #if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__CYGWIN__) || defined(_WIN64)#include <ws2tcpip.h>#endif
>
> > Date: Wed, 1 Sep 2010 14:13:34 -0700
> > Subject: [Omnetpp-l] Re: inetmanet compiling error
> > From: peti...@googlemail.com

peter

unread,
Sep 2, 2010, 12:19:09 PM9/2/10
to omnetpp
...now the compiler misses netinet/in.h
what did i wrong?

any hint would be great!

Peter

Alfonso Ariza Quintana

unread,
Sep 3, 2010, 3:53:00 AM9/3/10
to omn...@googlegroups.com
but what version of inetmanet are you using?

> Date: Thu, 2 Sep 2010 09:19:09 -0700

> Subject: [Omnetpp-l] Re: inetmanet compiling error

peter

unread,
Sep 4, 2010, 3:30:21 AM9/4/10
to omnetpp
I am using the latest version on
http://github.com/inetmanet/inetmanet/downloads
from 2009-02-24 commit 4ab1fe0

does a newer version exist?

On 3 Sep., 09:53, Alfonso Ariza Quintana <aariza...@hotmail.com>
wrote:
> but what version of inetmanet are you using?
>
> > Date: Thu, 2 Sep 2010 09:19:09 -0700
> > Subject: [Omnetpp-l] Re: inetmanet compiling error
> > From: peti...@googlemail.com
Message has been deleted

Alberto Cortés

unread,
Sep 6, 2010, 11:53:18 AM9/6/10
to omn...@googlegroups.com
Use "git clone git://github.com/inetmanet/inetmanet.git".

Check out the git documentation [1] for more info.

[1] http://git-scm.com/documentation

On Sat, Sep 4, 2010 at 11:16 AM, peter <pet...@googlemail.com> wrote:
> this is not the newest version for shure..
> i have read that the inetmanet can be checked out with git like svn
> could someone give me a hint how to do this?
> the command "git checkout http://github.com/inetmanet/inetmanet.git"
> does not work..
>
> thanks a lot
> peter
>
> On 4 Sep., 09:30, peter <peti...@googlemail.com> wrote:
>> I am using the latest version onhttp://github.com/inetmanet/inetmanet/downloads

--
Alberto Cortés
Telematic Engineering Dept. at UC3M

Reply all
Reply to author
Forward
0 new messages