tcpdump mailing list archives
Re: compiling problem
From: Rick Jones <rick.jones2 () hp com>
Date: Wed, 07 Jun 2006 09:31:29 -0700
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 errorprint-dhcp6.o:./print-dhcp6.c:445: more undefined references to `__ntohs' followprint-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 wonder if the manpage for ntohl and/or ntohs it shows an include file that print-dhcp6.c is not including?
rick jones - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
Current thread:
- compiling problem lalani (Jun 06)
- Re: compiling problem Hannes Gredler (Jun 07)
- Re: compiling problem Harley Stenzel (Jun 07)
- Re: compiling problem Rick Jones (Jun 07)