tcpdump mailing list archives
having trouble with make
From: lalani () cs fsu edu
Date: Fri, 2 Jun 2006 12:31:45 -0400
Hi guys, 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 errorprint-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:
- having trouble with make lalani (Jun 02)