[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying to compile Cinelerra



El mar, 28-06-2005 a las 18:29 +0000, Jean-Luc Coulon (f5ibh) escribió:
> Hi,
> 
> I'm trying to compile cinelerra (video editing program) in the 64 bit  
> environment.

> /usr/bin/ld:  
> /usr/lib/gcc/x86_64-linux/4.0.1/../../../../lib64/libavcodec.a(dsputil_mmx.o):  
> relocation R_X86_64_32S can not be used when making a shared object;  
> recompile with -fPIC
> /usr/lib/gcc/x86_64-linux/4.0.1/../../../../lib64/libavcodec.a: could  
> not read symbols: Bad value
> collect2: ld returned 1 exit status

> Is there something I can do easily?

Yes, add -fPIC to your CFLAGS.

> There is the mention to compile with -fPIC. But what should be compiled  
> with this option?

Everything that ends up in a shared object/library. In case of doubt,
make that everything.

Greetings,
-- 
Javier Kohen <jkohen@users.sourceforge.net>
ICQ: blashyrkh #2361802
Jabber: jkohen@jabber.org

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: