Re: Solaris8 compiling problem : ld: fatal: library -ldl: not found
Brought to you by:
set
From: Yannick M. <yan...@gm...> - 2006-12-22 14:02:00
|
Hi Ivan and Set, my response below On 12/21/06, Ivan Baldo <ib...@ad...> wrote: > > Hello Yannick. > Did you run "make install" after compiling Turbo Vision and it > succeeded? > Then for the ./configure of setedit pass the options > --tv-include=3D/opt/tvision/include and --tv-lib=3D/opt/tvision/lib thoug= h > first look where the includes and library of Turbo Vision is under > /opt/tvision, maybe I got those examples wrong. > I didnt <make install> tvision, I thought that was not required since the setedit's <./configure> looks for tvision in ../tvision by default, thats why I just stop at make for tvision, let me know if the make install is require= d > > Does your linker know about the /usr/local/lib path? Does it find > libraries there? > How can I find that out ? I have set the /usr/local/lib path first in the LD_LIBRARY_PATH environment variable but I dont know if that does it for the linker Please look if you have /usr/lib/libncurses.* files, they should be > only under /usr/local/lib/libncurses.* > Yes, libncurses is only under /usr/local/lib root > ls -l /usr/lib/libncurses.* ls: No match. root > ls -l /usr/local/lib/libncurses.* -rw-r--r-- 1 bin bin 450896 May 19 2004 /usr/local/lib/libncurses.a lrwxrwxrwx 1 root other 15 Jul 30 2004 /usr/local/lib/libncurses.so -> libncurses.so.5 lrwxrwxrwx 1 root other 17 Jul 30 2004 /usr/local/lib/libncurses.so.5 -> libncurses.so.5.4 -rw-r--r-- 1 bin bin 335048 May 19 2004 /usr/local/lib/libncurses.so.5.4 root > For dynamic linking is very important to have an > /usr/local/lib/libncurses.so file, if you don't have that, then Turbo > Vision will statically link /usr/local/lib/libncurses.a and the editor > should know about that and link it statically too. > I have both .so and .a under /usr/local/lib : root > ls -l /usr/local/lib/libncurses.* -rw-r--r-- 1 bin bin 450896 May 19 2004 /usr/local/lib/libncurses.a lrwxrwxrwx 1 root other 15 Jul 30 2004 /usr/local/lib/libncurses.so -> libncurses.so.5 lrwxrwxrwx 1 root other 17 Jul 30 2004 /usr/local/lib/libncurses.so.5 -> libncurses.so.5.4 -rw-r--r-- 1 bin bin 335048 May 19 2004 /usr/local/lib/libncurses.so.5.4 Please, look at the /opt/tvision/bin/rhtv-config --dlibs output, if > you don't have a /usr/local/lib/libncurses.so file then in the output of > this program you should see something like -lrhtv -lncurses , if it > does not output it in that case (when ncurses doesn't have a dynamic > version) then it is an error in the rhtv-config program, you may > workaround it doing a shell script with the same parameters as the > rhtv-config program and same output except that it outputs also > -lncurses when asked for dynamic libraries and replacing it with that > shell script. > Here is the output, is that correct ? : root > pwd /export/home/ymercier/setedit/setedit/contrib/tvision root > ./rhtv-config --dlibs -lrhtv root > Any information you find can help to improve the building process > and make the Turbo Vision and SETEdit program more portable. > Thanks for your patience so far! > Goodbye. > > > > El 21/12/06 14:16, Yannick Mercier escribi=F3: > > Hi Set, > > Im using a regular console, and I have the sunfreeware ncurses > > package installed > > including libs and includes in /usr/local/lib and > > /usr/local/include/ncurses > > > > I re-builted tvision with the --include option so it finds my ncurses > > includes : > > > > > > root > ./configure --prefix=3D/opt/tvision > > --include=3D/usr/local/include/ncurses > > Configuring Turbo Vision v2.1.0 library > > > > Determining OS: UNIX [Solaris] > > C flags: -O2 -pipe > > C++ flags: -O2 -pipe > > Looking for a working gcc: gcc OK > > Looking for the C++ compiler: g++ > > Checking Architecture: SPARC > > Looking for pointer size: 32 bits > > Looking for prefix: /opt/tvision (cached/specified) > > Checking if this system follows the FHS: no > > Looking for GNU make: make > > Looking for GNU ar: ar > > sh: ginstall: not found > > Looking for install tool: install > > Looking for xgettext: no > > Looking for gpm library: no, disabling mouse support > > Looking for ncurses library: 5.4 OK > > Checking if ncurses have define_key: no > > Looking for X keysyms definitions: no, disabling enhanced support for > > Eterm 0.8.10+ > > Looking for X11 libs: no, disabling X11 version > > Checking for international support: yes OK > > Checking endianess: big endian > > > > Generating Makefile > > glob failed (child exited with status 1) at conflib.pl line 1501, > > <_GEN_1> chunk 150. > > Configuring makefiles: intl/dummy/Makefile > > Configuring RHIDE: examples/rhide.env makes/rhide.env compat/rhide.env > > Generating configuration header: no changes > > Extracting from makes/librhtv.imk: processing > > Extracting from compat/compat.imk: processing > > Processing winnt/bccmake.in =3D> winnt/Makefile > > Processing winnt/msvcmake.in =3D> winnt/Makefile.nmk > > Makefiles for examples. > > Makefiles for translations. > > Processing intl/gnumake.in =3D> intl/Makefile > > Processing redhat/librhtv.spec.in =3D> redhat/librhtv-2.1.0.spec > > Processing qnxrtp/tvision.qpg.in =3D> qnxrtp/tvision.qpg > > > > Succesful configuration! > > > > > > * No X11 support detected. If X11 is installed make sure you have the > > development package installed (i.e. xlibs-dev). Also check the option= s > > to specify the paths > > > > > > > > > > the make returned some errors about term.h, I noticed it was using > > /usr/include/term.h > > and there was a term.h also in the ncurses package, so I edited the > > source files to change > > #include term.h to #include ncurses/term.h and the built succeeded > > > > > > In file included from ../classes/unix/unixdis.cc:19: > > /usr/include/term.h:1060: parse error before `,' token > > /usr/include/term.h:1081: 'chtype' is used as a type, but is not > > defined as a > > type. > > /usr/include/term.h:1082: 'chtype' is used as a type, but is not > > > > > > At the end of the make, I get this but I always do : > > > > make[1]: Leaving directory > > `/export/home/ymercier/setedit/setedit/contrib/tvision/makes' > > cd makes; rm librhtv.so; ln -s librhtv.so.2.1.0 librhtv.so > > librhtv.so: No such file or directory > > cd makes; rm librhtv.so.2 ; ln -s librhtv.so.2.1.0 librhtv.so.2 > > librhtv.so.2: No such file or directory > > root > > > > > > > after that I go to ../setedit, make clean and configure, here is the > > output : > > > > > > root > ./configure --prefix=3D/opt/setedit --without-calc > > --without-calend --without-mixer --without-mp3 --no-intl --no-infview > > Configuring SETEdit v0.5.4 > > > > Determining OS: UNIX [Solaris] > > Looking for installed Turbo Vision: > > Include dir: ../tvision/include > > Library dir: ../tvision/makes > > sh: rhtv-config: not found > > Looking for Turbo Vision config program: > > ../tvision/include/../rhtv-config, OK > > C flags: -O2 -pipe > > Special C flags: -O3 -fomit-frame-pointer -ffast-math -pipe > > C++ flags: -O2 -pipe > > Special C++ flags: -O3 -fomit-frame-pointer -ffast-math -pipe > > Looking for a working gcc: gcc OK > > Checking Architecture: SPARC > > Looking for prefix: /opt/setedit (cached/specified) > > Checking if this system follows the FHS: no > > Looking for GNU make: make > > Looking for GNU ar: ar > > sh: ginstall: not found > > Looking for install tool: install > > Looking for the C++ compiler: g++ > > Checking TV version: 2.1.0 OK > > Checking for international support: disabled by user request. > > Looking for PCRE library: no 2.0.6+, no 2.0+, using shipped one. > > Looking for zlib: 1.2.1 OK > > Looking for BZip2 library: using shipped one > > Looking for xgettext: no (cached) > > sh: makeinfo: not found > > Looking for makeinfo: no > > Looking for dl library: yes > > Looking for AA library: no > > Looking for GDB/MI library: not installed > > Tools for Distrib: tar gzip OK > > > > Configuring RHIDE: makes/rhide.env mp3/libamp/rhide.env > > mp3/mpegsound/rhide.env > > Generating configuration header: created new header > > Generating Makefile > > Processing redhat/setedit.spec.in =3D> redhat/setedit- 0.5.4.spec > > Processing gettext/Makefile.in =3D> gettext/Makefile > > Processing holidays/Makefile.in =3D> holidays/Makefile > > Processing doc/gnumake.in =3D> doc/Makefile > > Processing internac/gnumake.in =3D> internac/Makefile > > Processing libbzip2/gnumake.in =3D> libbzip2/Makefile > > Processing libpcre/gnumake.in =3D> libpcre/Makefile > > Processing libz/gnumake.in =3D> libz/Makefile > > > > Successful configuration! > > > > * The 'xgettext' tools aren't installed internat. files can't be > created. > > * The 'makeinfo' tool isn't installed documentation can't be created. > > * Using shipped PCRE lib, to avoid wasting system resources you should > > install > > the library and also the development package (i.e. libpcre3 and > > libpcre3-dev) > > * Using shipped bzip2 lib, to avoid wasting system resources you > > should install > > the library and also the development package (i.e . libbz2 and > > libbz2-dev) > > * AA lib is not installed (or isn't functional) so you won't get a > > nice console > > screen saver > > * NO DEBUG SUPPORT! The migdb library isn't available, debug features > > disabled. > > root > > > > > I make, and at the end I get this error: > > > > > > > > g++ -L/opt/tvision/lib > > -L/export/home/ymercier/setedit/setedit/contrib/tvision/makes > > -L../libbzip2 -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/pvarious.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 libeasyd.a librhuti.a libsettv.a -lrhtv -ldl -lbz2 > > -lz -lpcre > > Undefined first referenced > > symbol in file > > acs32map > > /export/home/ymercier/setedit/setedit/contrib/tvision/makes/librhtv.so > > newterm32 > > /export/home/ymercier/setedit/setedit/contrib/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/setedit/setedit/contrib/setedit/makes' > > make[1]: *** [editor] Error 2 > > make[1]: Leaving directory > > `/export/home/ymercier/setedit/setedit/contrib/setedit/makes' > > make: *** [editor] Error 2 > > root > > > > > > > > > Thanks again for your support > > > > Yannick > > > > > > > > > > > > > > On 12/18/06, *Salvador Eduardo Tropea* <sal...@in... > > <mailto:sal...@in...>> wrote: > > > > On 15/12/06 15:12, Yannick Mercier wrote: > > > > > I give a try to editor.exe located in the makes directory > > > and I dont have the ELF error, but there is nothing happening, > > > > > > Are you running in a regular console or using X? > > > > > I used > > > the truss utility to see what it is doing and here is the output = : > > > > > > root > truss ./editor.exe > > > execve("editor.exe", 0xFFBEFA04, 0xFFBEFA0C) argc =3D 1 > > > resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) =3D 16 > > > open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT > > > stat("/lib/librhtv.so.2.0.3", 0xFFBEF2E8) Err#2 ENOENT > > > > > > Note that 2.0.3 is the stable release (needed for 0.5.4) but is a > > little > > bit old. > > > > > stat("/usr/lib/librhtv.so.2.0.3", 0xFFBEF2E8) Err#2 ENOENT > > > stat("/usr/local/ssl/lib/librhtv.so.2.0.3", 0xFFBEF2E8) Err#2 > ENOENT > > > stat("/usr/local/lib/librhtv.so.2.0.3", 0xFFBEF2E8) Err#2 ENOENT > > > stat("/usr/ccs/lib/librhtv.so.2.0.3", 0xFFBEF2E8) Err#2 ENOENT > > > > > > stat("/export/home/ymercier/setedit/setedit/contrib/tvision/makes/librhtv= .so.2.0.3", > > > 0xFFBEF2E8) =3D 0 > > > > > > resolvepath("/export/home/ymercier/setedit/setedit/contrib/tvision/makes/= librhtv.so.2.0.3", > > > > > > > > "/export/home/ymercier/setedit/setedit/contrib/tvision/makes/librhtv.so.2= .0.3", > > > 1023) =3D 76 > > > > > > open("/export/home/ymercier/setedit/setedit/contrib/tvision/makes/librhtv= .so.2.0.3", > > > O_RDONLY) =3D 3 > > > > > > > > Ok, librhtv loaded. > > > > > mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = =3D > > > 0xFF390000 > > > mmap(0x08EF9CE8, 942080, PROT_NONE, > > > MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) =3D 0xFF280000 > > > mmap(0xFF280000, 693703, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, > > > 3, 0) =3D 0xFF280000 > > > mmap(0xFF338000, 173360, PROT_READ|PROT_WRITE|PROT_EXEC, > > > MAP_PRIVATE|MAP_FIXED, 3, 688128) =3D 0xFF338000 > > > mmap(0xFF364000, 496, PROT_READ|PROT_WRITE|PROT_EXEC, > > > MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) =3D 0xFF364000 > > > munmap(0xFF32A000, 57344) =3D 0 > > > memcntl(0xFF280000, 301200, MC_ADVISE, MADV_WILLNEED, 0, 0) =3D 0 > > > close(3) =3D 0 > > > stat("/lib/libdl.so.1", 0xFFBEF2E8) =3D 0 > > > resolvepath("/lib/libdl.so.1", "/usr/lib/libdl.so.1", 1023) =3D 1= 9 > > > open("/lib/libdl.so.1", O_RDONLY) =3D 3 > > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, > > > 0) =3D 0xFF390000 > > > mmap(0x2B7E2F90, 8192, PROT_NONE, > > MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, > > > -1, 0) =3D 0xFF380000 > > > mmap(0xFF380000, 2302, PROT_READ|PROT_WRITE|PROT_EXEC, > > > MAP_PRIVATE|MAP_FIXED, 3, 0) =3D 0xFF380000 > > > close(3) =3D 0 > > > > > > > > Ok, libdl loaded. > > > > > stat("/lib/libz.so", 0xFFBEF2E8) =3D 0 > > > resolvepath("/lib/libz.so", "/usr/lib/libz.so.1", 1023) =3D 18 > > > open("/lib/libz.so", O_RDONLY) =3D 3 > > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, > > > 0) =3D 0xFF390000 > > > mmap(0x042C2550, 122880, PROT_NONE, > > > MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) =3D 0xFF250000 > > > mmap(0xFF250000, 47322, PROT_READ|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, > > > 0) =3D 0xFF250000 > > > mmap(0xFF26C000, 6292, PROT_READ|PROT_WRITE|PROT_EXEC, > > > MAP_PRIVATE|MAP_FIXED, 3, 49152) =3D 0xFF26C000 > > > munmap(0xFF25C000, 65536) =3D 0 > > > memcntl(0xFF250000, 5308, MC_ADVISE, MADV_WILLNEED, 0, 0) =3D 0 > > > close(3) =3D 0 > > > > > > > > Ok, libz loaded. > > > > > mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, > > > MAP_PRIVATE|MAP_ANON, -1, 0) =3D 0xFF370000 > > > stat("/lib/libstdc++.so.5", 0xFFBEF2E8) Err#2 ENOENT > > > stat("/usr/lib/libstdc++.so.5", 0xFFBEF2E8) Err#2 ENOENT > > > stat("/usr/local/ssl/lib/libstdc++.so.5", 0xFFBEF2E8) Err#2 ENOEN= T > > > stat("/usr/local/lib/libstdc++.so.5", 0xFFBEF2E8) =3D 0 > > > resolvepath("/usr/local/lib/libstdc++.so.5", > > > "/usr/local/lib/libstdc++.so.5.0.2", 1023) =3D 33 > > > open("/usr/local/lib/libstdc++.so.5", O_RDONLY) =3D 3 > > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, > > > 0) =3D 0xFF390000 > > > mmap(0x042BF670, 557056, PROT_NONE, > > > MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) =3D 0xFF180000 > > > mmap(0xFF180000, 407880, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, > > > 3, 0) =3D 0xFF180000 > > > mmap(0xFF1F2000, 69600, PROT_READ|PROT_WRITE|PROT_EXEC, > > > MAP_PRIVATE|MAP_FIXED, 3, 401408) =3D 0xFF1F2000 > > > mmap(0xFF204000, 14344, PROT_READ|PROT_WRITE|PROT_EXEC, > > > MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) =3D 0xFF204000 > > > munmap(0xFF1E4000, 57344) =3D 0 > > > memcntl(0xFF180000, 182568, MC_ADVISE, MADV_WILLNEED, 0, 0) =3D 0 > > > close(3) =3D 0 > > > > > > > > Ok, libstdc++ loaded. > > > > > stat("/lib/libm.so.1", 0xFFBEF2E8) =3D 0 > > > resolvepath("/lib/libm.so.1", "/usr/lib/libm.so.1", 1023) =3D 18 > > > open("/lib/libm.so.1", O_RDONLY) =3D 3 > > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, > > > 0) =3D 0xFF390000 > > > mmap(0x02FAB5E8, 294912, PROT_NONE, > > > MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) =3D 0xFF130000 > > > mmap(0xFF130000, 225354, PROT_READ|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, > > > 3, 0) =3D 0xFF130000 > > > mmap(0xFF176000, 7292, PROT_READ|PROT_WRITE|PROT_EXEC, > > > MAP_PRIVATE|MAP_FIXED, 3, 221184) =3D 0xFF176000 > > > munmap(0xFF168000, 57344) =3D 0 > > > memcntl(0xFF130000, 10604, MC_ADVISE, MADV_WILLNEED, 0, 0) =3D 0 > > > close(3) =3D 0 > > > > > > > > Ok, libm loaded. > > > > > stat("/lib/libgcc_s.so.1", 0xFFBEF2E8) Err#2 ENOENT > > > stat("/usr/lib/libgcc_s.so.1", 0xFFBEF2E8) Err#2 ENOENT > > > stat("/usr/local/ssl/lib/libgcc_s.so.1", 0xFFBEF2E8) Err#2 ENOENT > > > stat("/usr/local/lib/libgcc_s.so.1", 0xFFBEF2E8) =3D 0 > > > resolvepath("/usr/local/lib/libgcc_s.so.1", > > > "/usr/local/lib/libgcc_s.so.1", 1023) =3D 28 > > > open("/usr/local/lib/libgcc_s.so.1", O_RDONLY) =3D 3 > > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, > > > 0) =3D 0xFF390000 > > > mmap(0x02FACD58, 106496, PROT_NONE, > > > MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) =3D 0xFF230000 > > > mmap(0xFF230000, 30452, PROT_READ|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, > > > 0) =3D 0xFF230000 > > > mmap(0xFF246000, 8484, PROT_READ|PROT_WRITE|PROT_EXEC, > > > MAP_PRIVATE|MAP_FIXED, 3, 24576) =3D 0xFF246000 > > > munmap(0xFF238000, 57344) =3D 0 > > > memcntl(0xFF230000, 5796, MC_ADVISE, MADV_WILLNEED, 0, 0) =3D 0 > > > close(3) =3D 0 > > > > > > Ok, libgcc loaded > > > > > stat("/lib/libc.so.1", 0xFFBEF2E8) =3D 0 > > > resolvepath("/lib/libc.so.1", "/usr/lib/libc.so.1", 1023) =3D 18 > > > open("/lib/libc.so.1", O_RDONLY) =3D 3 > > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, > > > 0) =3D 0xFF390000 > > > mmap(0x2B7E56A0, 802816, PROT_NONE, > > > MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) =3D 0xFF000000 > > > mmap(0xFF000000, 703936, PROT_READ|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, > > > 3, 0) =3D 0xFF000000 > > > mmap(0xFF0BC000, 24772, PROT_READ|PROT_WRITE|PROT_EXEC, > > > MAP_PRIVATE|MAP_FIXED, 3, 704512) =3D 0xFF0BC000 > > > munmap(0xFF0AC000, 65536) =3D 0 > > > memcntl(0xFF000000, 113528, MC_ADVISE, MADV_WILLNEED, 0, 0) =3D 0 > > > close(3) > > > > > > Ok, libc loaded. > > > > > =3D 0 > > > mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, > > > MAP_PRIVATE|MAP_ANON, -1, 0) =3D 0xFF220000 > > > stat("/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1", > > 0xFFBEF000) =3D 0 > > > resolvepath("/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1", > > > "/usr/platform/sun4u-us3/lib/libc_psr.so.1", 1023) =3D 41 > > > open("/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1", > > O_RDONLY) =3D 3 > > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, > > > 0) =3D 0xFF390000 > > > close(3) =3D 0 > > > > > > > > Looks like some libc complement. > > > > > sysconfig(_CONFIG_STACK_PROT) =3D 3 > > > brk(0x00146C70) =3D 0 > > > brk(0x0014AC70) =3D 0 > > > brk(0x0014AC70) =3D 0 > > > brk(0x0014CC70) =3D 0 > > > pathconf(".", _PC_PATH_MAX) =3D 1024 > > > stat64("./", 0xFFBEF7A0) =3D 0 > > > stat64("/", 0xFFBEF708) =3D 0 > > > open64("./../", O_RDONLY|O_NDELAY) =3D 3 > > > fcntl(3, F_SETFD, 0x00000001) =3D 0 > > > fstat64(3, 0xFFBEED28) =3D 0 > > > fstat64(3, 0xFFBEF7A0) =3D 0 > > > getdents64(3, 0x0014C580, 1048) =3D 1040 > > > getdents64(3, 0x0014C580, 1048) =3D 1000 > > > close(3) =3D 0 > > > open64("./../../", O_RDONLY|O_NDELAY) =3D 3 > > > fcntl(3, F_SETFD, 0x00000001) =3D 0 > > > fstat64(3, 0xFFBEED28) =3D 0 > > > fstat64(3, 0xFFBEF7A0) =3D 0 > > > getdents64(3, 0x0014C580, 1048) =3D 144 > > > close(3) =3D 0 > > > open64("./../../../", O_RDONLY|O_NDELAY) =3D 3 > > > fcntl(3, F_SETFD, 0x00000001) =3D 0 > > > fstat64(3, 0xFFBEED28) =3D 0 > > > fstat64(3, 0xFFBEF7A0) =3D 0 > > > getdents64(3, 0x0014C580, 1048) =3D 112 > > > close(3) =3D 0 > > > open64("./../../../../", O_RDONLY|O_NDELAY) =3D 3 > > > fcntl(3, F_SETFD, 0x00000001) =3D 0 > > > fstat64(3, 0xFFBEED28) =3D 0 > > > fstat64(3, 0xFFBEF7A0) =3D 0 > > > getdents64(3, 0x0014C580, 1048) =3D 176 > > > close(3) =3D 0 > > > open64("./../../../../../", O_RDONLY|O_NDELAY) =3D 3 > > > fcntl(3, F_SETFD, 0x00000001) =3D 0 > > > fstat64(3, 0xFFBEED28) =3D 0 > > > fstat64(3, 0xFFBEF7A0) =3D 0 > > > getdents64(3, 0x0014C580, 1048) =3D 1040 > > > getdents64(3, 0x0014C580, 1048) =3D 64 > > > getdents64(3, 0x0014C580, 1048) =3D 32 > > > getdents64(3, 0x0014C580, 1048) =3D 80 > > > getdents64(3, 0x0014C580, 1048) =3D 72 > > > close(3) =3D 0 > > > open64("./../../../../../../", O_RDONLY|O_NDELAY) =3D 3 > > > fcntl(3, F_SETFD, 0x00000001) =3D 0 > > > fstat64(3, 0xFFBEED28) =3D 0 > > > fstat64(3, 0xFFBEF7A0) =3D 0 > > > getdents64(3, 0x0014C580, 1048) =3D 584 > > > close(3) =3D 0 > > > open64("./../../../../../../../", O_RDONLY|O_NDELAY) =3D 3 > > > fcntl(3, F_SETFD, 0x00000001) =3D 0 > > > fstat64(3, 0xFFBEED28) =3D 0 > > > fstat64(3, 0xFFBEF7A0) =3D 0 > > > getdents64(3, 0x0014C580, 1048) =3D 264 > > > close(3) =3D 0 > > > open64("./../../../../../../../../", O_RDONLY|O_NDELAY) =3D 3 > > > fcntl(3, F_SETFD, 0x00000001) =3D 0 > > > fstat64(3, 0xFFBEED28) =3D 0 > > > fstat64(3, 0xFFBEF7A0) =3D 0 > > > open("/etc/mnttab", O_RDONLY) =3D 4 > > > brk(0x0014CC70) =3D 0 > > > brk(0x0014EC70) =3D 0 > > > fstat64(4, 0xFFBEE6E8) =3D 0 > > > ioctl(4, TCGETA, 0xFFBEE674) Err#22 EINVAL > > > read(4, " / d e v / m d / d s k /".., 512) =3D 512 > > > ioctl(4, (('m'<<8)|1), 0xFF0BEC30) =3D 0 > > > ioctl(4, (('m'<<8)|2), 0x0014A020) =3D 0 > > > read(4, " l e\t u f s\t r w , i n".., 512) =3D 512 > > > lstat64("/export", 0xFFBEE908) =3D 0 > > > lstat64("/export/..", 0xFFBEE908) =3D 0 > > > llseek(4, 0xFFFFFFFFFFFFFF6A, SEEK_CUR) =3D 874 > > > close(4) =3D 0 > > > close(3) =3D 0 > > > > > > The above looks like libc initialization > > > > > stat("/opt/setedit/share/setedit/syntaxhl.shl", 0xFFBEF330) =3D 0 > > > > > > Syntax Highlight conf. is there, that's a check to determine where > > are > > the config files. > > > > > stat("/opt/setedit/lib/setedit/datetools.so", 0xFFBEF330) Err#2 > > ENOENT > > > stat("/usr/lib/setedit/datetools.so", 0xFFBEF330) Err#2 ENOENT > > > stat("/usr/local/lib/setedit/datetools.so", 0xFFBEF330) Err#2 > > ENOENT > > > > > > Date Tools failed to load. > > > > > stat("//.setedit", 0xFFBEF2C0) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > getpid() =3D 23734 [23733] > > > > > > Note that HOME is pointing to / because you are running as root. > > > > > sysconfig(_CONFIG_MAXPID) =3D 30000 > > > lstat64("//.setedit/erMSaWwU", 0xFFBEF318) Err#2 ENOENT > > > open("//.setedit/erMSaWwU", O_RDWR|O_CREAT|O_EXCL, 0600) =3D 3 > > > getuid() =3D 0 [0] > > > getgid() =3D 1 [1] > > > chown("//.setedit/erMSaWwU", 0, 1) =3D 0 > > > dup(2) =3D 4 > > > fcntl(3, F_DUP2FD, 0x00000002) =3D 2 > > > > > > The standard error output was redirected to /.setedit/erMSaWwU > > Please post the content of this file. > > > > > sigaction(SIGABRT, 0xFFBEF778, 0xFFBEF7F8) =3D 0 > > > sigaction(SIGFPE, 0xFFBEF778, 0xFFBEF7F8) =3D 0 > > > sigaction(SIGILL, 0xFFBEF778, 0xFFBEF7F8) =3D 0 > > > sigaction(SIGSEGV, 0xFFBEF778, 0xFFBEF7F8) =3D 0 > > > sigaction(SIGTERM, 0xFFBEF778, 0xFFBEF7F8) =3D 0 > > > sigaction(SIGINT, 0xFFBEF778, 0xFFBEF7F8) =3D 0 > > > sigaction(SIGQUIT, 0xFFBEF778, 0xFFBEF7F8) =3D 0 > > > sigaction(SIGINT, 0xFFBEF778, 0xFFBEF7F8) =3D 0 > > > sigaction(SIGQUIT, 0xFFBEF7E8, 0xFFBEF868) =3D 0 > > > > > > Signals redirected. > > > > > stat("/tmp", 0xFFBEF7A0) =3D 0 > > > access("/tmp", 1) =3D 0 > > > stat("//.setedit", 0xFFBEED50) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/setenvir.dat", 0xFFBEEDC0) Err#2 ENOENT > > > stat("//.setedit", 0xFFBEED50) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/.setenvir.dat", 0xFFBEEDC0) Err#2 ENOENT > > > stat("//.setenvir.dat", 0xFFBEEDC0) Err#2 ENOENT > > > stat("//setenvir.dat", 0xFFBEEDC0) Err#2 ENOENT > > > open("/opt/setedit/share/setedit/setenvir.dat", O_RDONLY) Err#2 > > ENOENT > > > > > > No setenvir.dat file found (ok for the first run). > > > > > stat("//.setedit", 0xFFBEF730) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/keybind.dat", 0xFFBEF7A0) Err#2 ENOENT > > > stat("//.setedit", 0xFFBEF730) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/.keybind.dat", 0xFFBEF7A0) Err#2 ENOENT > > > stat("//.keybind.dat", 0xFFBEF7A0) Err#2 ENOENT > > > stat("//keybind.dat", 0xFFBEF7A0) Err#2 ENOENT > > > open("/opt/setedit/share/setedit/keybind.dat", O_RDONLY) Err#2 > > ENOENT > > > > > > No keybind.dat file (ok). > > > > > stat("//.setedit", 0xFFBEF730) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/syntaxhl.shl", 0xFFBEF7A0) Err#2 ENOENT > > > stat("//.setedit", 0xFFBEF730) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/.syntaxhl.shl", 0xFFBEF7A0) Err#2 ENOENT > > > stat("//.syntaxhl.shl", 0xFFBEF7A0) Err#2 ENOENT > > > stat("//syntaxhl.shl", 0xFFBEF7A0) Err#2 ENOENT > > > open("/opt/setedit/share/setedit/syntaxhl.shl", O_RDONLY) =3D 5 > > > > > > Syntax Highlight file found and starting to load. > > > > > fstat64(5, 0xFFBEF6C8) =3D 0 > > > brk(0x0014EC70) =3D 0 > > > brk(0x00150C70) =3D 0 > > > ioctl(5, TCGETA, 0xFFBEF654) Err#25 ENOTTY > > > read(5, " # C o p y r i g h t ".., 8192) =3D 8192 > > > read(5, " d i , e d i , s p , e s".., 8192) =3D 8192 > > > read(5, " f I n f C o m p i l e r".., 8192) =3D 8192 > > > read(5, " p a g e , p c , p r o c".., 8192) =3D 8192 > > > read(5, " u , e r r o r , e x i t".., 8192) =3D 8192 > > > read(5, " f i l e s , : : t c l t".., 8192) =3D 8192 > > > read(5, " e c k : 4 0 1 , * d c c".., 8192) =3D 8192 > > > read(5, " e a r , \ s e t q u a d".., 8192) =3D 8192 > > > read(5, " - - - - - - - - P D P".., 8192) =3D 8192 > > > read(5, " l e n a m e , u n d e f".., 8192) =3D 8192 > > > read(5, " e y w o r d s =3D S E R V".., 8192) =3D 8192 > > > read(5, " c l u d e _ o n c e , i".., 8192) =3D 8192 > > > read(5, " a t i o n F u n c t i".., 8192) =3D 8192 > > > read(5, " B a s e d o n t h".., 8192) =3D 8192 > > > read(5, " p e c i a l S y m b o l".., 8192) =3D 6616 > > > read(5, 0x0014D604, 8192) =3D 0 > > > brk(0x00150C70) =3D 0 > > > brk(0x00158C70) =3D 0 > > > llseek(5, 0, SEEK_CUR) =3D 121304 > > > llseek(5, 0, SEEK_SET) =3D 0 > > > read(5, " # C o p y r i g h t ".., 8192) =3D 8192 > > > read(5, " d i , e d i , s p , e s".., 8192) =3D 8192 > > > read(5, " f I n f C o m p i l e r".., 8192) =3D 8192 > > > brk(0x00158C70) =3D 0 > > > brk(0x0015AC70) =3D 0 > > > read(5, " p a g e , p c , p r o c".., 8192) =3D 8192 > > > read(5, " u , e r r o r , e x i t".., 8192) =3D 8192 > > > read(5, " f i l e s , : : t c l t".., 8192) =3D 8192 > > > read(5, " e c k : 4 0 1 , * d c c".., 8192) =3D 8192 > > > read(5, " e a r , \ s e t q u a d".., 8192) =3D 8192 > > > read(5, " - - - - - - - - P D P".., 8192) =3D 8192 > > > read(5, " l e n a m e , u n d e f".., 8192) =3D 8192 > > > read(5, " e y w o r d s =3D S E R V".., 8192) =3D 8192 > > > read(5, " c l u d e _ o n c e , i".., 8192) =3D 8192 > > > read(5, " a t i o n F u n c t i".., 8192) =3D 8192 > > > read(5, " B a s e d o n t h".., 8192) =3D 8192 > > > read(5, " p e c i a l S y m b o l".., 8192) =3D 6616 > > > llseek(5, 0xFFFFFFFFFFFFFFFF, SEEK_CUR) =3D 121303 > > > close(5) =3D 0 > > > > > > Finished to load. > > > > > stat("//.setedit", 0xFFBEF4F8) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/deflopts.txt", 0xFFBEF568) Err#2 ENOENT > > > stat("//.setedit", 0xFFBEF4F8) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/.deflopts.txt", 0xFFBEF568) Err#2 ENOENT > > > stat("//.deflopts.txt", 0xFFBEF568) Err#2 ENOENT > > > stat("//deflopts.txt", 0xFFBEF568) Err#2 ENOENT > > > open("/opt/setedit/share/setedit/deflopts.txt", O_RDONLY) Err#2 > > ENOENT > > > > > > No default options (ok). > > > > > stat("//.setedit", 0xFFBEF730) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/errors.cle", 0xFFBEF7A0) Err#2 ENOENT > > > stat("//.setedit", 0xFFBEF730) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/.errors.cle", 0xFFBEF7A0) Err#2 ENOENT > > > stat("//.errors.cle", 0xFFBEF7A0) Err#2 ENOENT > > > stat("//errors.cle", 0xFFBEF7A0) Err#2 ENOENT > > > > > > No errors.cle (ok). > > > > > stat("//.setedit", 0xFFBEF730) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/nobkp.txt", 0xFFBEF7A0) Err#2 ENOENT > > > stat("//.setedit", 0xFFBEF730) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/.nobkp.txt", 0xFFBEF7A0) Err#2 ENOENT > > > stat("//.nobkp.txt", 0xFFBEF7A0) Err#2 ENOENT > > > stat("//nobkp.txt", 0xFFBEF7A0) Err#2 ENOENT > > > stat("//.setedit", 0xFFBEF730) =3D 0 > > > > > > No nobkp.txt (ok). > > > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > open64(".", O_RDONLY|O_NDELAY) =3D 5 > > > fcntl(5, F_SETFD, 0x00000001) =3D 0 > > > fstat64(5, 0xFFBEF330) =3D 0 > > > getdents64(5, 0x0014E458, 1048) =3D 1048 > > > getdents64(5, 0x0014E458, 1048) =3D 1032 > > > getdents64(5, 0x0014E458, 1048) =3D 512 > > > getdents64(5, 0x0014E458, 1048) =3D 0 > > > close(5) =3D 0 > > > stat("tcedit.dst", 0xFFBEF3A0) Err#2 ENOENT > > > stat(".tcedit.dst", 0xFFBEF3A0) Err#2 ENOENT > > > stat("//.setedit", 0xFFBEF2C0) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/tcedit.dst", 0xFFBEF330) Err#2 ENOENT > > > stat("//.setedit", 0xFFBEF2C0) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/.tcedit.dst", 0xFFBEF330) Err#2 ENOENT > > > stat("//.tcedit.dst", 0xFFBEF330) Err#2 ENOENT > > > stat("//tcedit.dst", 0xFFBEF330) Err#2 ENOENT > > > stat("/opt/setedit/share/setedit/tcedit.dst", 0xFFBEF3A0) Err#2 > > ENOENT > > > stat("//.setedit", 0xFFBEF2C0) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/.tcedit.dst", 0xFFBEF330) Err#2 ENOENT > > > stat("//.setedit", 0xFFBEF2C0) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/..tcedit.dst", 0xFFBEF330) Err#2 ENOENT > > > stat("//..tcedit.dst", 0xFFBEF330) Err#2 ENOENT > > > stat("//.tcedit.dst", 0xFFBEF330) Err#2 ENOENT > > > stat("/opt/setedit/share/setedit/.tcedit.dst", 0xFFBEF3A0) Err#2 > > ENOENT > > > > > > No desktop file (ok). > > > > > stat("//.setedit", 0xFFBEEE50) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/install.log", 0xFFBEEEC0) Err#2 ENOENT > > > stat("//.setedit", 0xFFBEEE50) =3D 0 > > > access("//.setedit", 1) =3D 0 > > > access("//.setedit", 2) =3D 0 > > > stat("//.setedit/.install.log", 0xFFBEEEC0) Err#2 ENOENT > > > stat("//.install.log", 0xFFBEEEC0) Err#2 ENOENT > > > stat("//install.log", 0xFFBEEEC0) Err#2 ENOENT > > > open("/opt/setedit/share/setedit/install.log", O_RDONLY) Err#2 > > ENOENT > > > > > > No install.log (?) > > > > > stat("./tvrc", 0xFFBEF628) Err#2 ENOENT > > > stat("./.tvrc", 0xFFBEF628) Err#2 ENOENT > > > stat("//tvrc", 0xFFBEF628) Err#2 ENOENT > > > stat("//.tvrc", 0xFFBEF628) Err#2 ENOENT > > > stat("/etc/tvrc", 0xFFBEF628) Err#2 ENOENT > > > stat("/etc/.tvrc", 0xFFBEF628) Err#2 ENOENT > > > stat("/dev/env/DJDIR/etc/tvrc", 0xFFBEF628) Err#2 ENOENT > > > stat("/dev/env/DJDIR/etc/.tvrc", 0xFFBEF628) Err#2 ENOENT > > > > > > No TV config (ok). > > > > > write(2, " E r r o r : U n s u p".., 28) =3D 28 > > > > > > The full message should be in /.setedit/erMSaWwU but looks like TV > > couldn't find a usable terminal. > > > > > llseek(0, 0, SEEK_CUR) =3D 25610 > > > llseek(0, 0, SEEK_CUR) =3D 25644 > > > _exit(1) > > > root > > > > > > > > > > Your help is appreciated > > > > > > I need the output of TVision configuration to know which terminals > are > > supported for your compilation. > > > > Regards, SET > > > > > > -----------------------------------------------------------------------= - > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys - and earn cash > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > > -----------------------------------------------------------------------= - > > > > _______________________________________________ > > Setedit-users mailing list > > Set...@li... > > https://lists.sourceforge.net/lists/listinfo/setedit-users > > > > -- > Ivan Baldo - ib...@ad... - http://ibaldo.codigolibre.net/ > ICQ 10215364 - Phone/FAX (598) (2) 613 3223. > Caldas 1781, Malvin, Montevideo, Uruguay, South America. > We believe that we are free, but in reality we are not! Are we? > Alternatives: ib...@co... - http://go.to/ibaldo > > > |