Wireshark-dev: Re: [Wireshark-dev] Regression in SVN revision ~41162?
From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Thu, 23 Feb 2012 10:08:03 -0500
Tyson Key wrote:
Hi list,

It seems that as of revision 41162 (or maybe a few before?), I am no
longer able to completely compile and link the EPAN/dissectors portion
of the codebase under Ubuntu. I suspect that recent modifications to
the MPEG-related dissectors may have caused this, given by the errors
from the linker that I receive:
[...]
In function `proto_register_mpeg_pat':
/home/tyson/wireshark/epan/dissectors/packet-mpeg-pat.c:134: multiple
definition of `proto_register_mpeg_pat'
dissectors/.libs/libdissectors.a(libdissectors_la-packet-mpeg-pat.o):/home/tyson/wireshark/epan/dissectors/packet-mpeg-pat.c:134:
first defined here
dissectors/.libs/libdissectors.a(lt2-libdissectors_la-packet-mpeg-pat.o):
In function `proto_reg_handoff_mpeg_pat':
/home/tyson/wireshark/epan/dissectors/packet-mpeg-pat.c:199: multiple
definition of `proto_reg_handoff_mpeg_pat'
dissectors/.libs/libdissectors.a(libdissectors_la-packet-mpeg-pat.o):/home/tyson/wireshark/epan/dissectors/packet-mpeg-pat.c:199:
first defined here

Have you tried a "make clean"?

Have you changed libtool versions recently? I note that you have both a "libdissectors_la-packet-mpeg-pat.o" and a "lt2-libdissectors_la-packet-mpeg-pat.o", not sure what that's about.