Re: Solaris8 compiling problem : ld: fatal: library -ldl: not found
Brought to you by:
set
From: Yannick M. <yan...@gm...> - 2007-01-19 18:17:28
|
I found that in the ncurses 5.4 package that I have installed on the system there is not these strings : acs32map newterm32 when I run nm libncurses.so but there are these ones : acsmap and newterm the ones with the 32 in it is not there so im trying to compile ncurses 5.6 from source now ... Let me know if you know why these acs32map and newterm32 functions are referenced in your code and why I dont have them in my ncurses libs Thank you Yannick On 1/18/07, Yannick Mercier <yan...@gm...> wrote: > > Hi SET > to succeed in the compilation of tvision, I modified the sources that > used > term.h to #include the </usr/local/include/ncurses/termh> instead of just > <term.h>. > Then tvision compiled successfully, now trying to compile setedit > I got this error : > > g++ -I../include -I../setedit/include -I../settvuti/include > -I../sdg/include -I../infview/include -I../../tvision/include -I../extra > -I../easydiag -I../librhuti -I../libpcre -I../mp3 -I../calcu > -I../holidays -DFOR_EDITOR -O2 -pipe -c ../setedit/winlistd.cc -o > obj/winlistd.o > g++ -L/opt/tvision/lib -L/export/home/ymercier/newSetEdit/tvision/makes > -L../libpcre -L. -L. -DFOR_EDITOR -o editor.exe obj/accehtml.o > obj/advice.o obj/ampdiag.o obj/intermp3.o obj/mp3list.o obj/mp3play.o > obj/ascii.o obj/boardmix.o obj/bufun.o obj/calcu.o obj/calendar.o > obj/ceditor.o obj/codepage.o obj/completi.o obj/debug.o obj/deedidia.o > obj/doedidia.o obj/dskascii.o obj/dskcalen.o obj/dskclip.o obj/dskclose.o > obj/dskedito.o obj/dskhelp.o obj/dskman.o obj/dskmessa.o obj/dskmp3.o > obj/dskwin.o obj/dstfile.o obj/dumpfile.o obj/edcolor.o obj/edconst.o > obj/edfonts.o obj/editdiag.o obj/editmain.o obj/editmenu.o obj/editorfo.o > obj/editpale.o obj/editwind.o obj/edkeys.o obj/edmsg.o obj/edprefs.o > obj/edprint.o obj/edprj.o obj/edspecs.o obj/djmdr.o obj/dyncat.o > obj/memmove.o obj/mixer.o obj/mixersb.o obj/mixoss.o obj/stackdbg.o > obj/strncpyz.o obj/strndup.o obj/fstrcmp.o obj/getctxhl.o obj/gzfiles.o > obj/holidays.o obj/inf.o obj/infbase.o obj/manview.o obj/nhiscoll.o > obj/ninfview.o obj/ninfwind.o obj/nmanwind.o obj/sinf.o obj/sman.o > obj/intgrep.o obj/keytrans.o obj/linelen.o obj/loadcle.o obj/loaddefl.o > obj/loadfunc.o obj/loadnobkp.o obj/loadshl.o obj/loadusew.o obj/macrocom.o > obj/menuload.o obj/mli.o obj/mliasimp.o obj/mlicsdg.o obj/mliediti.o > obj/mliedito.o obj/mlisdg.o obj/msignal.o obj/nceditor.o obj/ndskwasc.o > obj/ndskwcal.o obj/ndskwcli.o obj/ndskwclo.o obj/ndskwedi.o obj/ndskwhel.o > obj/ndskwman.o obj/ndskwmes.o obj/ndskwmp3.o obj/ndskwprj.o obj/neditwin.o > obj/nfileedi.o obj/nsindica.o obj/ntedcol.o obj/parser.o obj/pathlist.o > obj/pathtool.o obj/pclipper.o obj/pmacros.o obj/pperl.o obj/pphp.o > obj/ppython.o obj/pvarious.o obj/pvhdl.o obj/runprog.o obj/sceditor.o > obj/scresave.o obj/sdginter.o obj/sdskasci.o obj/sdskcale.o obj/sdskclip.o > obj/sdskclos.o obj/sdskedit.o obj/sdskhelp.o obj/sdskman.o obj/sdskmess.o > obj/sdskmp3.o obj/sdskprj.o obj/search.o obj/sedcolle.o obj/slpinter.o > obj/splinman.o obj/ssindica.o obj/ssyntax.o obj/tags.o obj/tedcolle.o > obj/tips.o obj/tpaltext.o obj/tsindica.o obj/txhgen.o obj/winlistd.o > librhuti.a libsettv.a libeasyd.a -lrhtv -ldl -lz -lpcre > Undefined first referenced > symbol in file > acs32map > /export/home/ymercier/newSetEdit/tvision/makes/librhtv.so > newterm32 > /export/home/ymercier/newSetEdit/tvision/makes/librhtv.so > ld: fatal: Symbol referencing errors. No output written to editor.exe > collect2: ld returned 1 exit status > make[2]: *** [ editor.exe] Error 1 > make[2]: Leaving directory > `/export/home/ymercier/newSetEdit/setedit/makes' > make[1]: *** [editor] Error 2 > make[1]: Leaving directory > `/export/home/ymercier/newSetEdit/setedit/makes' > make: *** [editor] Error 2 > # > > > > > On 1/16/07, Salvador Eduardo Tropea <sal...@in...> wrote: > > > > On 15/01/07 12:31, Salvador Eduardo Tropea wrote: > > > > >Not sure, g++ is including the one from /usr/include first by > > >configuration. Try temporaly moving it. > > > > > > > > You could also try adding -Ipath_to_real_term_header to the CFLAGS. > > > > SET > > > > > |