tcpdump mailing list archives

compiling problem


From: lalani () cs fsu edu
Date: Sun, 4 Jun 2006 11:36:48 -0400

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.


Current thread: