Hi, Loose the registration functions in your dissector. These get generated by the makefile. See the latest doc/README.plugin.
Thanx, Jaap On Mon, 5 Feb 2007, David Bunch wrote: > Hey, > I did read the latest README.plugin > Thats how I got this far. I don't know what I am missing. The linker > keeps failing and I keep getting this error. I followed the > README.pluginand I got my base code from the developer's guide. Its > the same skeleton > code, I just filled in the Variable names for my protocol. > > .libs/blksh.la-1.o(.rodata+0x0): In function `plugin_register': > /home/deb32/wireshark-0.99.4/plugins/blksh/plugin.c:19: multiple > definition of `version' > .libs/packet-blksh.o(.rodata+0x0):/home/deb32/wireshark-0.99.4 > /plugins/blksh/packet-blksh.c:39: > first defined here > .libs/blksh.la-1.o(.text+0x0): In function `plugin_register': > /home/deb32/wireshark-0.99.4/plugins/blksh/plugin.c:19: multiple > definition of `plugin_register' > .libs/packet-blksh.o(.text+0x0):/home/deb32/wireshark-0.99.4 > /plugins/blksh/packet-blksh.c:39: > first defined here > /usr/bin/ld: Warning: size of symbol `plugin_register' changed from 39 > to 27 in .libs/blksh.la-1.o > .libs/blksh.la-1.o(.text+0x1c): In function `plugin_reg_handoff': > /home/deb32/wireshark-0.99.4/plugins/blksh/plugin.c:25: multiple > definition of `plugin_reg_handoff' > .libs/packet-blksh.o(.text+0x28):/home/deb32/wireshark-0.99.4 > /plugins/blksh/packet-blksh.c:47: > first defined here > make[3]: *** [blksh.la] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > > -- > Whoever fights monsters should see to it that in the process he does not > become a monster. And when you look into an abyss, the abyss also looks > into you. > -- Friedrich Nietzsche > _______________________________________________ Wireshark-dev mailing list [email protected] http://www.wireshark.org/mailman/listinfo/wireshark-dev
