gcc doesn't find the dynamically lib (libc.so), that's why it uses the static
one (libc.a). Create approriate symlinks:
ln -s /lib/libc.so.X /usr/lib/libc.so
(X = 5 or 6) and maybe: ln -s /usr/lib/libc.so /usr/local/lib
If you don't succeed try
gcc -c HelloLinux.c; gcc -o HelloLinux HelloLinux.o /usr/lib/libc.so
gcc -fpic is not supposed to create dynamically linked executables but
dynamic libraries.
-- Kurt Garloff, Dortmund <K.Garloff@ping.de> PGP key on http://student.physik.uni-dortmund.de/homepages/garloff- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu