From owner-freebsd-multimedia Sun Jun 2 14:31:23 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mta1.snfc21.pbi.net (mta1.snfc21.pbi.net [206.13.28.122]) by hub.freebsd.org (Postfix) with ESMTP id 3D4F337B407 for ; Sun, 2 Jun 2002 14:31:18 -0700 (PDT) Received: from marburg.aedifice.net ([209.233.30.172]) by mta1.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0GX300ETDKZJ6C@mta1.snfc21.pbi.net> for freebsd-multimedia@freebsd.org; Sun, 2 Jun 2002 14:28:33 -0700 (PDT) Date: Sun, 02 Jun 2002 14:28:31 -0700 From: "David C. Myers" Subject: link errors when building transcode from ports To: freebsd-multimedia@freebsd.org Message-id: <1023053313.219.3.camel@marburg.aedifice.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.0.5 Content-type: text/plain Content-transfer-encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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