header problem and linker script problem
Hi,
while compiling ncurses, I get the following warnings:
Note that I am using gcc 2.7.2.3, so this may be the reason, too.
In file included from /usr/i386-gnu/include/bits/errno.h:307,
from /usr/i386-gnu/include/errno.h:36,
from ../../ncurses/curses.priv.h:91,
from ../../ncurses/lib_dft_fgbg.c:32:
/usr/i386-gnu/include/hurd/threadvar.h:79: warning: no previous prototype for `__hurd_threadvar_location_from_sp'
In file included from /usr/i386-gnu/include/hurd/threadvar.h:88,
from /usr/i386-gnu/include/bits/errno.h:307,
from /usr/i386-gnu/include/errno.h:36,
from ../../ncurses/curses.priv.h:91,
from ../../ncurses/lib_dft_fgbg.c:32:
/usr/i386-gnu/include/machine-sp.h:31: warning: no previous prototype for `__thread_stack_pointer'
In file included from /usr/i386-gnu/include/bits/errno.h:307,
from /usr/i386-gnu/include/errno.h:36,
from ../../ncurses/curses.priv.h:91,
from ../../ncurses/lib_dft_fgbg.c:32:
/usr/i386-gnu/include/hurd/threadvar.h:111: warning: no previous prototype for `__hurd_errno_location'
Second problem:
libc.so linker script problem is back. Consider the following invocation:
i386-gnu-gcc -o ../lib/libncurses.so.4.2 -L../lib -L/gnu/lib -shared
-Wl,-soname,`basename ../lib/libncurses.so.4`,-stats ../obj_s/hardscroll.o
../obj_s/hashmap.o ../obj_s/lib_acs.o ../obj_s/lib_addch.o
[more object files follow]
This does produce the error, that /lib/libc.so.0.2 could not be found,
although I have correct i386-gnu-gcc wrapper (with
-rpath=/usr/i386-gnu/lib).
The only solution was to edit /gnu/lib/libc.so and change the absolute
paths.
Thank you,
Marcus
--
"Rhubarb is no Egyptian god." Debian GNU/Linux finger brinkmd@
Marcus Brinkmann http://www.debian.org master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de for public PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ PGP Key ID 36E7CD09
Reply to: