Wireshark-dev: Re: [Wireshark-dev] Regression in SVN revision ~41162?

From: Tyson Key <tyson.key@xxxxxxxxx>
Date: Thu, 23 Feb 2012 15:37:15 +0000
Thanks Jeff,

I eventually managed to narrow it down to having two instances of
"packet-mpeg-pat.c" and "packet-mpeg-sect.c" in
/wireshark/epan/dissectors/Makefile.common, for reasons that somewhat
elude me, right now.

I suspect that wanting to try the latest MPEG-2 changes a while ago,
and forgetting to update that file after updating to the latest SVN
revision might have had something to do with it, though. (Even though
I ran the "autogen.sh" script, and the usual "./configure && make &&
sudo make install" commands, afterwards).

Oh well.

Tyson.

On 23 February 2012 15:08, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:
> 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.
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe



-- 
                                          Fight Internet Censorship!
http://www.eff.org
http://vmlemon.wordpress.com | Twitter/FriendFeed/Skype: vmlemon |
00447934365844