On Wed, Oct 20, 2010 at 11:02:52AM +0200, John P. Hartmann wrote:
gcc ../objects/tic.o ../objects/dump_entry.o -I../progs -I.
-DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DNDEBUG -O2 --param max-inline-insns-single=1200 -static -L../lib
-lncurses -L../lib -lncurses -dynamic -o tic
/usr/bin/ld: cannot find -lc
I've not seen this for Linux, but recall some other systems (Solaris, iirc),
where ld gets confused by the switch between dynamic/static.
fwiw, I've built ncurses 5.7 + current patches with Fedora13.
Perhaps knowing the configure options you're using would help.
collect2: ld returned 1 exit status
make[1]: *** [tic] Error 1
make[1]: Leaving directory `/usr/src/ncurses-5.7/progs'
-rw-r--r-- 1 root root 238 Jul 6 15:30 /usr/lib/libc.so
I've built other packages from source without problems. Is it a
versioning problem? [I did read INSTALL.]
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkzBbFMACgkQcCNT4PfkjtvrEACgj2SzFeSmlxcrDFt7FHWHOuao
QFEAmgN5aj9g/ODsk9Qh3eSwsOfj/4rV
=ICyv
-----END PGP SIGNATURE-----