[x264-devel] Re: vlc + x264

joel gwondaleya at free.fr
Tue Mar 28 14:01:40 CEST 2006


Alvin,

I am not sure at all, but try also to use --extra-ldflags=-fPIC in your 
configure call. It should do the trick. I have read somewhere (can't 
remember where) that you should compile AND link with this option to 
make the library "user" happy.
Hope this help

Joël

>>From alvin at Mail.Linux-Consulting.com  Tue Mar 28 00:36:41 2006
>Return-Path: <alvin at Mail.Linux-Consulting.com>
>Received: from Maggie.Linux-Consulting.com (localhost [127.0.0.1])
>	by Mail.Linux-Consulting.com (8.12.11/8.12.11/check_local-5) with ESMTP id k2S8afrZ028016;
>	Tue, 28 Mar 2006 00:36:41 -0800
>Received: from localhost (alvin at localhost)
>	by Maggie.Linux-Consulting.com (8.12.11/8.12.11/Submit) with SMTP id k2S8aeNF028013;
>	Tue, 28 Mar 2006 00:36:40 -0800
>X-Authentication-Warning: Maggie.Linux-Consulting.com: alvin owned process doing -bs
>Date: Tue, 28 Mar 2006 00:36:40 -0800 (PST)
>From: Alvin Oga <alvin at Mail.Linux-Consulting.com>
>X-Sender: alvin at Maggie.Linux-Consulting.com
>To: x264-devel at videolan.org
>cc: x264 at Mail.Linux-Consulting.com
>Subject: vlc + x264
>Message-ID: <Pine.LNX.3.96.1060328002444.27976A-100000 at Maggie.Linux-Consulting.com>
>MIME-Version: 1.0
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>Content-Length: 1381
>Lines: 59
>Status: RO
>
>
>hi folks
>
>- i've been pulling my head off trying to get vlc to
>  compile with x264 support ( 64 bit machine ) 
>
>- i have a dual core 64bit athlon running fedora core4
>  and core4-test3 (aka core5)
>	- it's all default apps .. no upgrades other
>	than from semi-official "yum update" 
>
>	fedora5# gcc -v 
>	gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)
>
>	fedora4# gcc -v
>	gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
>
>
>- i compiled x264 snapshots from 
>	ftp://ftp.videolan.org/pub/videolan/x264/snapshots
>
>	cd x264-today#  ./configure
>
>	- i also compiled it with the -fPIC flag
>
>	cd x264-today#  ./configure  --extra-cflags=-fPIC
>	
>	- it created and installed
>		/usr/local/lib/libx264.a
>		/usr/local/include/x264.h
>
>- when i compile vlc snapshots or released stable code
>
>	http://nightlies.videolan.org/build/source/vlc-snapshot-*
>
>	cd vlc-0.8.5-svn
>	./configure --disable-libmpeg2 --disable-wxwidgets --disable-skins2
>
>	and the error i get is:
>
>	/usr/bin/ld: /usr/local/lib/libx264.a(dct-a.o): 
>	relocation R_X86_64_32 against `a local symbol' can not be used
>	when making a shared object; recompile with -fPIC
>
>--->>>	/usr/local/lib/libx264.a: could not read symbols: Bad value
>
>
>-- my question is how do i resolve this "bad symbol" problems ??
>
>	- i've used the -fPIC options for liba52dec, libmad, ...
>	and gcc was happy afterward... except for x264.a 
>
>
>thanx in advance
>alvin
>
>
>
>
>
>  
>

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list