[x264-devel] vlc + x264

Alvin Oga alvin at Mail.Linux-Consulting.com
Tue Mar 28 10:36:40 CEST 2006


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