Gave it a shot at compiling on 10.9 (OSX)
Any help?
10 warnings generated.
Undefined symbols for architecture x86_64:
"_field_print", referenced from:
_tcp_print in hexinject-pP3qtt.o
_udp_print in hexinject-pP3qtt.o
_icmp_print in hexinject-pP3qtt.o
_igmp_print in hexinject-pP3qtt.o
_ip_print in hexinject-pP3qtt.o
_arp_print in hexinject-pP3qtt.o
_ethernet_print in hexinject-pP3qtt.o
...
"_protocol_16bit_extract", referenced from:
_ethernet_print in hexinject-pP3qtt.o
_llc_print in hexinject-pP3qtt.o
"_protocol_48bit_extract", referenced from:
_ethernet_print in hexinject-pP3qtt.o
"_protocol_8bit_extract", referenced from:
_ip_print in hexinject-pP3qtt.o
_isl_print in hexinject-pP3qtt.o
_llc_print in hexinject-pP3qtt.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [all] Error 1
Hello Vincent,
the linker seems to have problem with INLINED functions in prettypacket.h:
try to remove the keyword "inline" from these functions, or use gcc to compile the program.
I'll try to install clang and fix the issues (but I'm sorry I have little time now to do so).
Bye