This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Error while compiling Wireshark source : epan/.libs/libwireshark.so: undefined reference to `proto_reg_handoff_PROTOABBREV'

0

I have written a new dissector for wireshark. I have made changes to Makefile.common and CMakelist.txt. Now when I try to compile the Wireshark source, I get this error.

epan/.libs/libwireshark.so: undefined reference to proto_reg_handoff_PROTOABBREV' collect2: ld returned 1 exit status make[2]: *** [wireshark] Error 1 make[2]: Leaving directory/home/sid/ws/wireshark-1.4.3' make[1]: [all-recursive] Error 1 make[1]: Leaving directory `/home/sid/ws/wireshark-1.4.3' make: [all] Error 2

Any suggestions??

Thanks, Sidharth

asked 31 Jan '11, 04:53

sid's gravatar image

sid
45192021
accept rate: 0%


One Answer:

0
./autogen.sh
./configure
make

answered 31 Jan '11, 12:46

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

thanks jaap,

i have done the same thing..after the make i get this error..any help??

(31 Jan '11, 20:54) sid

Is the symbol 'proto_reg_handoff_PROTOABBREV' literally present in your dissector code?

(31 Jan '11, 22:25) Jaap ♦