> I downloaded both the 2.1 and the 2.0 daily snapshots. When I try to > compile either one I get an error : > > make[5]: Leaving directory `/home/koenraad/fpc/fpc/packages/base/netdb' > make[4]: Leaving directory `/home/koenraad/fpc/fpc/packages/base/netdb' > make -C md5 smart > make[4]: Entering directory `/home/koenraad/fpc/fpc/packages/base/md5' > make all LINKSMART=1 CREATESMART=1 > make[5]: Entering directory `/home/koenraad/fpc/fpc/packages/base/md5' > /home/koenraad/fpc/fpc/compiler/ppc386 -XX -CX -Ur -Xs -OG2p3 -n > -Fu/home/koenraad/fpc/fpc/rtl/units/i386-linux -FE. -FUunits/i386-linux > -di386 -dRELEASE md5.pp > make[5]: Leaving directory `/home/koenraad/fpc/fpc/packages/base/md5' > make[4]: Leaving directory `/home/koenraad/fpc/fpc/packages/base/md5' > make -C gdbint smart > make[4]: Entering directory `/home/koenraad/fpc/fpc/packages/base/gdbint' > make all LINKSMART=1 CREATESMART=1 > make[5]: Entering directory `/home/koenraad/fpc/fpc/packages/base/gdbint' > /home/koenraad/fpc/fpc/compiler/ppc386 -XX -CX -Ur -Xs -OG2p3 -n > -Fu/home/koenraad/fpc/fpc/rtl/units/i386-linux > -Fl/home/koenraad/fpc/fpc/libgdb/linux/i386 > -Fo/home/koenraad/fpc/fpc/libgdb/linux/i386 -FE. -FUunits/i386-linux > -Fl/usr/X11R6/lib/Xaw95 -Fl/usr/X11R6/lib/Xaw3d -Fl/usr/X11R6/lib > -Fl/usr/i486-linux/lib -Fl/usr/i486-linux-libc5/lib=libc5 > -Fl/usr/i486-linux-libc6/lib=libc6 -Fl/usr/i486-linuxaout/lib > -Fl/usr/i386-suse-linux/lib -Fl/usr/local/lib -Fl/usr/openwin/lib > -Fl/opt/kde/lib -Fl/opt/kde2/lib -Fl/opt/kde3/lib -Fl/opt/gnome/lib > -Fl/opt/gnome2/lib -Flinclude -Fl/etc/ld.so.conf.d/*.conf -di386 > -dRELEASE gdbver.pp > /usr/bin/ld: cannot find -lc > gdbver.pp(96,1) Error: Error while linking > make[5]: *** [gdbver] Fout 1 > make[5]: Leaving directory `/home/koenraad/fpc/fpc/packages/base/gdbint' > make[4]: *** [fpc_smart] Fout 2 > make[4]: Leaving directory `/home/koenraad/fpc/fpc/packages/base/gdbint' > make[3]: *** [gdbint_smart] Fout 2 > make[3]: Leaving directory `/home/koenraad/fpc/fpc/packages/base' > make[2]: *** [base_smart] Fout 2 > make[2]: Leaving directory `/home/koenraad/fpc/fpc/packages' > make[1]: *** [packages_base_smart] Fout 2 > make[1]: Leaving directory `/home/koenraad/fpc/fpc' > make: *** [build-stamp.i386-linux] Fout 2 > > I think the error is the linker complaining about "cannot find -lc", but > I can't find out what is actually wrong. Any pointers ?
It can't find libc. Since nearly every linux distro has libc, this probably means some symlink isn't set. (from libc-x.y.z.a.b.so to libc.so or so in /usr/lib or /lib or both) Some distributions only install the symlink when the corresponding -devel package is installed, but that package can be huge, so setting the symlink manually might help _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal