[gradsusr] Error compiling ncurses library
Huber Paúl Gilt López
huber.gilt at igp.gob.pe
Mon Jun 21 13:39:10 EDT 2010
Hello Everybody,
Im trying to compile the ncurses library, but after exec these commands I
found the error: Can't find library for lunwind
#export CC=gcc
#export CXX=g++
#export FC=f90
#./configure disable-shared
prefix=/home/huber/grads/supplibs/src/readline-5.0
#make
make[1]: Entering directory
`/home/huber/grads/supplibs/src/ncurses-5.7/progs'
gcc ../objects/tic.o ../objects/dump_entry.o -I../progs -I. -DHAVE_CONFIG_H
-I. -I../include -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG
-I/home/huber/grads/supplibs/src/ncurses-5.7/include/ncurses -O2 --param
max-inline-insns-single=1200 -static -L../lib -lncurses -L../lib -lncurses
-dynamic -o tic
ld: Can't find library for -lunwind
Fatal error.
collect2: ld returned 1 exit status
make[1]: *** [tic] Error 1
make[1]: Leaving directory
`/home/huber/grads/supplibs/src/ncurses-5.7/progs'
make: *** [all] Error 2
And also, I found this library in: /usr/lib/hpux32/libunwind.so, so I added
the -L/usr/lib
/hpux32 lunwind at the end of the last command line, but neither its the
same error:
ld: Can't find library for -lunwind
Fatal error.
collect2: ld returned 1 exit status
How can I setup the lunwind library, is it necessary or maybe can I exclude
it?
Please help me,
Best regards,
Huber Paúl Gilt López
IGP-Perú
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100621/41cccf6b/attachment-0003.html
More information about the gradsusr
mailing list