tcpdump mailing list archives

Re: compiling problem


From: Hannes Gredler <hannes () juniper net>
Date: Wed, 07 Jun 2006 15:48:06 +0200

zubin,

unless you post qualified information -
for example the config.log file i fear nobody's
crystal ball on the list is clear enough to provide an answer
your question.

/hannes


lalani () cs fsu edu wrote:
Hi guys,
 I havent heard from anyone and I really need solution to this problem.
 I was able to successfully create makefile.

 When I tried to run the 'make' command with this option in the makefile
 #CCOPT = -O2
 CCOPT = -g
 I get this error

print-dhcp6.o:./print-dhcp6.c:445: more undefined references to `__ntohs' follow
print-dhcp6.o: In function `dhcp6opt_print':
./print-dhcp6.c:465: undefined reference to `__ntohl'
./print-dhcp6.c:469: undefined reference to `__ntohl'
./print-dhcp6.c:489: undefined reference to `__ntohl'
./print-dhcp6.c:551: undefined reference to `__ntohl'
./print-dhcp6.c:563: undefined reference to `__ntohs'
./print-dhcp6.c:573: undefined reference to `__ntohl'
./print-dhcp6.c:574: undefined reference to `__ntohl'
./print-dhcp6.c:575: undefined reference to `__ntohl'
./print-dhcp6.c:596: undefined reference to `__ntohl'
./print-dhcp6.c:598: undefined reference to `__ntohl'


I wanted to use -g so later I can use debuuger like gdb, ddd to debug the program.
I would really appreciate help on this matter.

Thanks for your consideration,
zubin

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: