John Burrell wrote:
>>
>> I agree that this is a better solution for the book if it works. There
>> is some internal configure code that searches for clang. If is does
>> work, I'm not sure CXX is required for cups. I quick look does not show
>> any c++ or cpp files.
>>
>
> You're correct. I built cups-1.6.3 as per the book but added CC=gcc to the 
> configure line and make went to the end.
>
> So no need for the CXX=
>
> Without the CC=gcc I get:
>
> /bin/ld: 
> /usr/lib64/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib64/crt1.o: 
> relocation R_X86_64_32S against `__libc_csu_fini' can not be used when making 
> a shared object; recompile with -fPIC
> /usr/lib64/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib64/crt1.o: could 
> not read symbols: Bad value
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make[1]: *** [gziptoany] Error 1

Yes, that's what I got too.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to