Numbat compile error

75 views
Skip to first unread message

Md.Mahbubur Rasheed

unread,
May 15, 2013, 5:53:34 AM5/15/13
to omn...@googlegroups.com

Hi,

I get the following error during compiling Numbat. Any idea how to fix this issue?

FYI, my build environment is, Mac OS X 10.8, Omnet++ 4.3, Numbat git version.


Undefined symbols for architecture x86_64:

  "_pcap_close", referenced from:

      cSocketRTScheduler::endRun()      in cSocketRTScheduler.o

  "_pcap_compile", referenced from:

      cSocketRTScheduler::setInterfaceModule(cModule*, char const*, char const*)in cSocketRTScheduler.o

  "_pcap_datalink", referenced from:

      cSocketRTScheduler::setInterfaceModule(cModule*, char const*, char const*)in cSocketRTScheduler.o

  "_pcap_dispatch", referenced from:

      cSocketRTScheduler::receiveWithTimeout()       in cSocketRTScheduler.o

  "_pcap_geterr", referenced from:

      cSocketRTScheduler::receiveWithTimeout()       in cSocketRTScheduler.o

      cSocketRTScheduler::setInterfaceModule(cModule*, char const*, char const*)in cSocketRTScheduler.o

      cSocketRTScheduler::endRun()      in cSocketRTScheduler.o

  "_pcap_open_live", referenced from:

      cSocketRTScheduler::setInterfaceModule(cModule*, char const*, char const*)in cSocketRTScheduler.o

  "_pcap_setfilter", referenced from:

      cSocketRTScheduler::setInterfaceModule(cModule*, char const*, char const*)in cSocketRTScheduler.o

  "_pcap_setnonblock", referenced from:

      cSocketRTScheduler::setInterfaceModule(cModule*, char const*, char const*)in cSocketRTScheduler.o

  "_pcap_stats", referenced from:

      cSocketRTScheduler::endRun()      in cSocketRTScheduler.o

ld: symbol(s) not found for architecture x86_64

collect2: ld returned 1 exit status

make: *** [out/gcc-debug//numbat-git] Error 1



Thanks in advance. :)

Tao Li

unread,
Feb 13, 2014, 11:57:21 AM2/13/14
to omn...@googlegroups.com
Hi Md Mahbubur Rasheed ,

I also encountered this problem. Did you ever manage to solve it?

Thanks in advance!
Reply all
Reply to author
Forward
0 new messages