Problem with static compilation

pinotj at pinotj at
Sun Feb 27 02:22:46 PST 2005


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 

More information about the hlfs-dev mailing list