Hi!
I tried to build Cups-2.2.6 per
http://linuxfromscratch.org/blfs/view/svn/pst/cups.html
I've got clang installed and, despite using "CC=gcc ./configure ...",
the script found clang:

checking for clang++... clang++
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes

and later 'make' failed with:

Linking libcupsppdc.so.1...
/usr/bin/ld: cannot find crtbeginS.o: Datei oder Verzeichnis nicht gefunden
clang-5.0: error: linker command failed with exit code 1 (use -v to
see invocation)
make[1]: *** [Makefile:325: libcupsppdc.so.1] Fehler 1
make: *** [Makefile:38: all] Fehler 1

I fixed the problem by passing 'CXX=g++' in addition to 'CC=gcc' to
./configure. Perhaps, the BLFS book needs to be modified this way.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to