[EMAIL PROTECTED] 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 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.

Reply via email to