From owner-freebsd-multimedia Thu Jun 27 19: 6:29 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from gouda.acatysmoof.com (adsl-64-170-164-211.dsl.lsan03.pacbell.net [64.170.164.211]) by hub.freebsd.org (Postfix) with ESMTP id 4FAC437B405 for ; Thu, 27 Jun 2002 19:06:05 -0700 (PDT) Received: (from nobody@localhost) by gouda.acatysmoof.com (8.11.6/8.11.1) id g5S27Un07722; Thu, 27 Jun 2002 19:07:30 -0700 (PDT) (envelope-from alex@acatysmoof.com) Date: Thu, 27 Jun 2002 19:07:30 -0700 (PDT) Message-Id: <200206280207.g5S27Un07722@gouda.acatysmoof.com> From: "Alex Teslik" To: Erich Zigler , freebsd-multimedia@freebsd.org Reply-To: alex@acatysmoof.com Subject: Re: ffmpeg alpha port fix (was: Encoding from bktr) X-Mailer: NeoMail 1.25 X-IPAddress: 204.128.192.72 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 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 This is a known problem. You need to make sure you delete/uninstall any installs of ffmpeg before compiling, making sure the libav libraries have been deleted from your lib directory. Alex > When trying to compile now I get this. What am I missing? > > Because it looks like Im missing a lib or header of some kind. > > is the location of the previous definition > cc -L/usr/local/lib -o ffmpeg ffmpeg.o -L./libavcodec -L./libav \ > -lavformat -lavcodec -L/usr/local/lib -lm -la52 > -L/usr/local/lib -ldjbfft -lm > ffmpeg.o: In function `write_picture': > ffmpeg.o(.text+0x474): undefined reference to `av_malloc' > ffmpeg.o(.text+0x539): undefined reference to `av_malloc' > ffmpeg.o(.text+0x601): undefined reference to `av_malloc' > ffmpeg.o(.text+0x6b9): undefined reference to `av_malloc' > ffmpeg.o(.text+0x74d): undefined reference to `av_malloc' > ffmpeg.o(.text+0x7f3): undefined reference to `av_free' > ffmpeg.o: In function `do_video_out': > ffmpeg.o(.text+0x92a): undefined reference to `av_malloc' > ffmpeg.o(.text+0x97e): undefined reference to `av_malloc' > ffmpeg.o(.text+0x9f8): undefined reference to `av_free' > ffmpeg.o(.text+0xa55): undefined reference to `av_malloc' > ffmpeg.o(.text+0xbfd): undefined reference to `av_free' > Stop in /usr/ports/graphics/ffmpeg. > *** Error code 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message