F11: Static linking now impossible?

Tom Horsley tom.horsley at att.net
Fri Jun 26 17:15:47 UTC 2009


I'm sure I told it to install all the software development
package groups, but I just tried this:

tomh> gcc -g -static -o fact /usr/lib/NightView/fact.c
/usr/lib/NightView/fact.c: In function 'main':
/usr/lib/NightView/fact.c:29: warning: incompatible implicit declaration of built-in function 'exit'
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status

Cannot find -lc? There is no libc.a anymore? Or is gcc's
search rules busted?




More information about the fedora-list mailing list