Hello,

gcc-10 changed some defaults, causing tcpreplay (and many other
packages) to fail to build¹. The relevant lines are

| /usr/bin/ld: tcpreplay-tcpreplay.o:./src/timestamp_trace.h:28: multiple 
definition of `trace_num'; tcpreplay-send_packets.o:./src/timestamp_trace.h:28: 
first defined here
| /usr/bin/ld: ./tcpedit/libtcpedit.a(tcpedit.o):(.rodata+0x0): multiple 
definition of `tcpedit_tcpedit_optDesc_p'; 
tcprewrite-tcprewrite_opts.o:./src/tcprewrite_opts.c:1616: first defined here
| /usr/bin/ld: tcpreplay_edit-tcpreplay.o:./src/timestamp_trace.h:28: multiple 
definition of `trace_num'; 
tcpreplay_edit-send_packets.o:./src/timestamp_trace.h:28: first defined here
| /usr/bin/ld: ./tcpedit/libtcpedit.a(tcpedit.o):(.rodata+0x0): multiple 
definition of `tcpedit_tcpedit_optDesc_p'; 
tcpreplay_edit-tcpreplay_edit_opts.o:./src/tcpreplay_edit_opts.c:2316: first 
defined here

The Gentoo wiki² provided some help on this but I failed to fix this for
tcpedit_tcpedit_optDesc_p - could you please check?

Regards,

    Christoph

¹ https://bugs.debian.org/957862
² https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common



_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to