Date: Sun, 02 Jun 2002 14:28:31 -0700 From: "David C. Myers" <myers@aedifice.net> To: freebsd-multimedia@freebsd.org Subject: link errors when building transcode from ports Message-ID: <1023053313.219.3.camel@marburg.aedifice.net>
next in thread | raw e-mail | index | archive | help
Folks: I get the following "multiple definition" linker errors while trying to build transcode from ports. Any ideas? This is from a freshly cvsupped /usr/ports on FreeBSD 4.6-RC. Many thanks. -David. cc -shared export_mjpeg.lo vid_aux.lo aud_aux.lo -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lgnugetopt -L/usr/lib /usr/local/lib/libmp3lame.so -lm -L/usr/ports/graphics/transcode/work/transcode-0.6.0pre5/ffmpeg/libavcodec -L/usr/ports/graphics/transcode/work/transcode-0.6.0pre5/libvo -lvout -L/usr/ports/graphics/transcode/work/transcode-0.6.0pre5/libac3 -lac3_tc -lavcodec -L/usr/ports/graphics/transcode/work/transcode-0.6.0pre5/avilib -lavi -lm -lc -Wl,-soname -Wl,export_mjpeg.so -o .libs/export_mjpeg.so /usr/local/lib/libavcodec.a(parse.o): In function `ac3_init': parse.o(.text+0x0): multiple definition of `ac3_init' /usr/ports/graphics/transcode/work/transcode-0.6.0pre5/libac3/libac3_tc.a(decode.o)(.text+0x0): first defined here /usr/libexec/elf/ld: Warning: size of symbol `ac3_init' changed from 82 to 13 in parse.o /usr/local/lib/libavcodec.a(bitstream.o): In function `bitstream_get_bh': bitstream.o(.text+0x18): multiple definition of `bitstream_get_bh' /usr/ports/graphics/transcode/work/transcode-0.6.0pre5/libac3/libac3_tc.a(bitstream.o)(.text+0xf8): first defined here /usr/libexec/elf/ld: Warning: size of symbol `bitstream_get_bh' changed from 91 to 94 in bitstream.o /usr/local/lib/libavcodec.a(downmix.o): In function `downmix': downmix.o(.text+0x6d8): multiple definition of `downmix' /usr/ports/graphics/transcode/work/transcode-0.6.0pre5/libac3/libac3_tc.a(downmix.o)(.text+0xc0c): first defined here /usr/libexec/elf/ld: Warning: size of symbol `downmix' changed from 248 to 1905 in downmix.o /usr/local/lib/libavcodec.a(imdct.o): In function `imdct_do_512': imdct.o(.text+0x0): multiple definition of `imdct_do_512' /usr/ports/graphics/transcode/work/transcode-0.6.0pre5/libac3/libac3_tc.a(imdct.o)(.text+0x4fc): first defined here /usr/libexec/elf/ld: Warning: size of symbol `imdct_do_512' changed from 1421 to 802 in imdct.o /usr/local/lib/libavcodec.a(imdct.o): In function `imdct_do_256': imdct.o(.text+0x324): multiple definition of `imdct_do_256' /usr/ports/graphics/transcode/work/transcode-0.6.0pre5/libac3/libac3_tc.a(imdct.o)(.text+0xa8c): first defined here /usr/libexec/elf/ld: Warning: size of symbol `imdct_do_256' changed from 2357 to 1027 in imdct.o /usr/local/lib/libavcodec.a(imdct.o): In function `imdct_init': imdct.o(.text+0x728): multiple definition of `imdct_init' /usr/ports/graphics/transcode/work/transcode-0.6.0pre5/libac3/libac3_tc.a(imdct.o)(.text+0x0): first defined here /usr/libexec/elf/ld: Warning: size of symbol `imdct_init' changed from 1276 to 349 in imdct.o gmake[2]: *** [export_mjpeg.la] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/transcode/work/transcode-0.6.0pre5/export' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/transcode/work/transcode-0.6.0pre5' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/graphics/transcode. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1023053313.219.3.camel>