Jogchum Reitsma schreef:
Kevin Brosius schreef:
I try to compile cinelerra-svn on a x86_64 Suse 10.0 box. Configure
reports a missing OpenEXR, but both the 64-bit and the 32-bit are
installed (from the distro). The error message is

    

Do you have OpenEXR-devel installed?  I have that and OpenEXR installed
on SUSE 9.0.

rpm -q OpenEXR-devel
OpenEXR-devel-1.2.1-1

rpm -q OpenEXR
OpenEXR-1.2.1-1

Once those are installed, configure finds them on my system.  Also, you
can use the SRPM from me, if you like:

http://kevb.net/files/RPM/SRPMS/

  
Thanks for the replies so far, I am close to the destination is my impression...

Apparently OpenSuse comes without a lot of -devel rpm's, so I went downloading until ./configure was happy (all required libraries found). I compiled the x264-libs from source (x264-389). From the error message from making cinelerra it seems to me that I have made a mistake in this compilation, although it went smoothly.

make of Cinelerra ends with the following error:

gcc -shared  .libs/atom.o .libs/avcc.o .libs/avi_hdrl.o .libs/avi_idx1.o .libs/avi_movi.o .libs/avi_strl.o .libs/avi_odml.o .libs/avi_ix.o .libs/avi_indx.o .libs/avi_riff.o .libs/cmodel_default.o .libs/cmodel_float.o .libs/cmodel_yuv420p.o .libs/cmodel_yuv422.o .libs/codecs.o .libs/colormodels.o .libs/ctab.o .libs/dinf.o .libs/dref.o .libs/edts.o .libs/elst.o .libs/esds.o .libs/graphics.o .libs/hdlr.o .libs/ima4.o .libs/interlacemodes.o .libs/jpeg.o .libs/libdv.o .libs/libmjpeg.o .libs/matrix.o .libs/mdat.o .libs/mdhd.o .libs/mdia.o .libs/minf.o .libs/moov.o .libs/mp4a.o .libs/mvhd.o .libs/plugin.o .libs/qtdv.o .libs/qtffmpeg.o .libs/qth264.o .libs/qtpng.o .libs/qtmp3.o .libs/quicktime.o .libs/raw.o .libs/rawaudio.o .libs/rle.o .libs/smhd.o .libs/stbl.o .libs/stco.o .libs/stsc.o .libs/stsd.o .libs/stsdtable.o .libs/stss.o .libs/stsz.o .libs/stts.o .libs/tkhd.o .libs/trak.o .libs/twos.o .libs/udta.o .libs/ulaw.o .libs/util.o .libs/v308.o .libs/v408.o .libs/v410.o .libs/vmhd.o .libs/vbraudio.o .libs/vorbis.o .libs/workarounds.o .libs/yuv2.o .libs/yuv4.o .libs/yv12.o .libs/wmx2.o .libs/wma.o .libs/mpeg4.o -Wl,--whole-archive ffmpeg/libavcodec/.libs/libavcodec.a encore50/.libs/libencore.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/work/cinelerra/hvirtual/libmpeg3/.libs /usr/lib64/liba52.so -lc -lgcc_s /usr/lib64/libmp4v2.so -L/usr/lib64 /usr/lib64/libstdc++.so /usr/lib64/libtheora.so /usr/lib64/libvorbisenc.so /usr/lib64/libvorbisfile.so /usr/lib64/libvorbis.so /usr/lib64/libogg.so -lmp3lame /usr/lib64/libfaad.so /usr/lib64/libfaac.so ../libmpeg3/.libs/libmpeg3hv.so -L/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../ -lx264 /usr/lib64/libdv.so /usr/lib64/libjpeg.so -lpng -lz -lm -ldl -lpthread  -Wl,--no-undefined -Wl,-soname -Wl,libquicktimehv-1.6.0.so.1 -o .libs/libquicktimehv-1.6.0.so.1.0.0
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib/libx264.a(common.o): relocation R_X86_64_32S 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
collect2: ld returned 1 exit status
make[3]: *** [libquicktimehv.la] Fout 1
make[3]: Leaving directory `/work/cinelerra/hvirtual/quicktime'
make[2]: *** [all-recursive] Fout 1
make[2]: Leaving directory `/work/cinelerra/hvirtual/quicktime'
make[1]: *** [all-recursive] Fout 1
make[1]: Leaving directory `/work/cinelerra/hvirtual'
make: *** [all] Fout 2


System is (dual) x86_64, (Open)Suse 10.0

Do you have any clue?

Many thanks in advance,

kind greetings, Jogchum
I recompiled the x264 source with -fPIC (make clean; ./configure --extraflags=-fPIC; make; make install; ldconfig), after that recompiled cinelerra (make clean; ./configure; make).

After that, I got the same error message, but now concerning
/usr/local/lib/libx264.a(dct-a.o)             in stead of
/usr/local/lib/libx264.a(common.o)

Again, any clues?

Thanks again,

kind greetings, Jogchum

Reply via email to