Hi all,

I have made some significant progress with compiling under AMD64

Suse10.0 box :
- used export CFLAGS="-03 -fPIC"
- svn x264 + compile /install
- passed --external ffmpeg to ./configure for Cinelerra
- BINGO, compiled, worked etc...  RHHHaaaaa at last...

That one was a major issue for me....

Ubuntu box :
- gcc see  the export for CFLAGS
- svn x264 and ffmpeg
- X264 compiled and installed
- I can't compile ffmpeg with X264 option enabled... bizarre, odd

Anyway, I removed this option since I already have x264 from SVN

Went back to hvirtual directory :
./configure --external-ffmpeg

checking for x264_encoder_open in -lx264... yes
checking x264.h usability... yes
checking x264.h presence... yes
checking for x264.h... yes

No package 'libpostproc' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

So .... I tried
./configure

Allowed me to go for make
and got :
/usr/bin/ld: /usr/lib/libx264.a(common.o): relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
/usr/lib/libx264.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libquicktimehv.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Back to original problem.
Meaning that I need to pass some options to the hvirtual/ffmpeg
configure

So can I do : -with-external-libx264 or pass it to the ffmpeg CFLAG at
compile time?
if I can grab some info about ffmpeg CFLAGS I can pass to the hvirtual
configure that would be great.
Strangely the -fpic passed on gcc CFLAGS does not seem to be taken into
account

Thanks a lot  already for your time and support
E  

Reply via email to