Nicolas wrote:
> hi,
>
> i can't compile mesalib on my AMD64. I have installed CLFS for x86_64-pure64
>
> so, when i tape "make linux-dri", i have this error message :
>
> /usr/bin/ld: /usr/lib/libdrm.a(xf86drm.o): relocation R_X86_64_32S 
> against `a local symbol' can not be used when making a shared object; 
> recompile with -fPIC
> /usr/lib/libdrm.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
>
>
> so how i can compile with -fPIC ??
>
> and it's mesa or libdrm that i must recompile with -fPIC??
>
> thanks for your help
>
>
> _______________________________________________
> Clfs-dev mailing list
> [EMAIL PROTECTED]
> http://ninja.linux-phreak.biz/mailman/listinfo/clfs-dev
>   
Every package is different try setting the environment variables 
CFLAGS="-fPIC" and CXXFLAGS="-fPIC".

_______________________________________________
Clfs-dev mailing list
[EMAIL PROTECTED]
http://ninja.linux-phreak.biz/mailman/listinfo/clfs-dev

Reply via email to