Problem with static compilation

pinotj at club-internet.fr pinotj at club-internet.fr
Sun Feb 27 02:22:46 PST 2005


Hi,

I built again HLFS, everything is fine (nls) except the fact I cannot statically compile new software.

Example for aespipe:

 gcc  -nointl -static -o aespipe aespipe.o aes.o md5.o sha512.o rmd160.o
 /usr/bin/ld: cannot find -lc
 collect2: ld returned 1 exit status
 make: *** [aespipe] Error 1

Doesn't depend of -pie or -no-pie.

Is it a spec problem ? Did I forget something ?


-- 
Jerome Pinot
http://ngc891.blogdns.net/ 




More information about the hlfs-dev mailing list