Re: Solaris8 compiling problem : ld: fatal: library -ldl: not found
Brought to you by:
set
From: Yannick M. <yan...@gm...> - 2006-12-21 16:16:59
|
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=/opt/tvision --include=/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 => winnt/Makefile Processing winnt/msvcmake.in => winnt/Makefile.nmk Makefiles for examples. Makefiles for translations. Processing intl/gnumake.in => intl/Makefile Processing redhat/librhtv.spec.in => redhat/librhtv-2.1.0.spec Processing qnxrtp/tvision.qpg.in => 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 options 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=/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 => redhat/setedit-0.5.4.spec Processing gettext/Makefile.in => gettext/Makefile Processing holidays/Makefile.in => holidays/Makefile Processing doc/gnumake.in => doc/Makefile Processing internac/gnumake.in => internac/Makefile Processing libbzip2/gnumake.in => libbzip2/Makefile Processing libpcre/gnumake.in => libpcre/Makefile Processing libz/gnumake.in => 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...> 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 = 1 > > resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 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) = 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) = 76 > > > open("/export/home/ymercier/setedit/setedit/contrib/tvision/makes/librhtv.so.2.0.3", > > O_RDONLY) = 3 > > > > Ok, librhtv loaded. > > > mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > > 0xFF390000 > > mmap(0x08EF9CE8, 942080, PROT_NONE, > > MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF280000 > > mmap(0xFF280000, 693703, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, > > 3, 0) = 0xFF280000 > > mmap(0xFF338000, 173360, PROT_READ|PROT_WRITE|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, 688128) = 0xFF338000 > > mmap(0xFF364000, 496, PROT_READ|PROT_WRITE|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF364000 > > munmap(0xFF32A000, 57344) = 0 > > memcntl(0xFF280000, 301200, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > > close(3) = 0 > > stat("/lib/libdl.so.1", 0xFFBEF2E8) = 0 > > resolvepath("/lib/libdl.so.1", "/usr/lib/libdl.so.1", 1023) = 19 > > open("/lib/libdl.so.1", O_RDONLY) = 3 > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, > > 0) = 0xFF390000 > > mmap(0x2B7E2F90, 8192, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, > > -1, 0) = 0xFF380000 > > mmap(0xFF380000, 2302, PROT_READ|PROT_WRITE|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF380000 > > close(3) = 0 > > > > Ok, libdl loaded. > > > stat("/lib/libz.so", 0xFFBEF2E8) = 0 > > resolvepath("/lib/libz.so", "/usr/lib/libz.so.1", 1023) = 18 > > open("/lib/libz.so", O_RDONLY) = 3 > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, > > 0) = 0xFF390000 > > mmap(0x042C2550, 122880, PROT_NONE, > > MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF250000 > > mmap(0xFF250000, 47322, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, > > 0) = 0xFF250000 > > mmap(0xFF26C000, 6292, PROT_READ|PROT_WRITE|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, 49152) = 0xFF26C000 > > munmap(0xFF25C000, 65536) = 0 > > memcntl(0xFF250000, 5308, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > > close(3) = 0 > > > > Ok, libz loaded. > > > mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, > > MAP_PRIVATE|MAP_ANON, -1, 0) = 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 ENOENT > > stat("/usr/local/lib/libstdc++.so.5", 0xFFBEF2E8) = 0 > > resolvepath("/usr/local/lib/libstdc++.so.5", > > "/usr/local/lib/libstdc++.so.5.0.2", 1023) = 33 > > open("/usr/local/lib/libstdc++.so.5", O_RDONLY) = 3 > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, > > 0) = 0xFF390000 > > mmap(0x042BF670, 557056, PROT_NONE, > > MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF180000 > > mmap(0xFF180000, 407880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, > > 3, 0) = 0xFF180000 > > mmap(0xFF1F2000, 69600, PROT_READ|PROT_WRITE|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, 401408) = 0xFF1F2000 > > mmap(0xFF204000, 14344, PROT_READ|PROT_WRITE|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF204000 > > munmap(0xFF1E4000, 57344) = 0 > > memcntl(0xFF180000, 182568, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > > close(3) = 0 > > > > Ok, libstdc++ loaded. > > > stat("/lib/libm.so.1", 0xFFBEF2E8) = 0 > > resolvepath("/lib/libm.so.1", "/usr/lib/libm.so.1", 1023) = 18 > > open("/lib/libm.so.1", O_RDONLY) = 3 > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, > > 0) = 0xFF390000 > > mmap(0x02FAB5E8, 294912, PROT_NONE, > > MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF130000 > > mmap(0xFF130000, 225354, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, > > 3, 0) = 0xFF130000 > > mmap(0xFF176000, 7292, PROT_READ|PROT_WRITE|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, 221184) = 0xFF176000 > > munmap(0xFF168000, 57344) = 0 > > memcntl(0xFF130000, 10604, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > > close(3) = 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) = 0 > > resolvepath("/usr/local/lib/libgcc_s.so.1", > > "/usr/local/lib/libgcc_s.so.1", 1023) = 28 > > open("/usr/local/lib/libgcc_s.so.1", O_RDONLY) = 3 > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, > > 0) = 0xFF390000 > > mmap(0x02FACD58, 106496, PROT_NONE, > > MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF230000 > > mmap(0xFF230000, 30452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, > > 0) = 0xFF230000 > > mmap(0xFF246000, 8484, PROT_READ|PROT_WRITE|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xFF246000 > > munmap(0xFF238000, 57344) = 0 > > memcntl(0xFF230000, 5796, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > > close(3) = 0 > > > Ok, libgcc loaded > > > stat("/lib/libc.so.1", 0xFFBEF2E8) = 0 > > resolvepath("/lib/libc.so.1", "/usr/lib/libc.so.1", 1023) = 18 > > open("/lib/libc.so.1", O_RDONLY) = 3 > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, > > 0) = 0xFF390000 > > mmap(0x2B7E56A0, 802816, PROT_NONE, > > MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF000000 > > mmap(0xFF000000, 703936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, > > 3, 0) = 0xFF000000 > > mmap(0xFF0BC000, 24772, PROT_READ|PROT_WRITE|PROT_EXEC, > > MAP_PRIVATE|MAP_FIXED, 3, 704512) = 0xFF0BC000 > > munmap(0xFF0AC000, 65536) = 0 > > memcntl(0xFF000000, 113528, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > > close(3) > > > Ok, libc loaded. > > > = 0 > > mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, > > MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF220000 > > stat("/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1", 0xFFBEF000) = > 0 > > resolvepath("/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1", > > "/usr/platform/sun4u-us3/lib/libc_psr.so.1", 1023) = 41 > > open("/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1", O_RDONLY) = 3 > > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, > > 0) = 0xFF390000 > > close(3) = 0 > > > > Looks like some libc complement. > > > sysconfig(_CONFIG_STACK_PROT) = 3 > > brk(0x00146C70) = 0 > > brk(0x0014AC70) = 0 > > brk(0x0014AC70) = 0 > > brk(0x0014CC70) = 0 > > pathconf(".", _PC_PATH_MAX) = 1024 > > stat64("./", 0xFFBEF7A0) = 0 > > stat64("/", 0xFFBEF708) = 0 > > open64("./../", O_RDONLY|O_NDELAY) = 3 > > fcntl(3, F_SETFD, 0x00000001) = 0 > > fstat64(3, 0xFFBEED28) = 0 > > fstat64(3, 0xFFBEF7A0) = 0 > > getdents64(3, 0x0014C580, 1048) = 1040 > > getdents64(3, 0x0014C580, 1048) = 1000 > > close(3) = 0 > > open64("./../../", O_RDONLY|O_NDELAY) = 3 > > fcntl(3, F_SETFD, 0x00000001) = 0 > > fstat64(3, 0xFFBEED28) = 0 > > fstat64(3, 0xFFBEF7A0) = 0 > > getdents64(3, 0x0014C580, 1048) = 144 > > close(3) = 0 > > open64("./../../../", O_RDONLY|O_NDELAY) = 3 > > fcntl(3, F_SETFD, 0x00000001) = 0 > > fstat64(3, 0xFFBEED28) = 0 > > fstat64(3, 0xFFBEF7A0) = 0 > > getdents64(3, 0x0014C580, 1048) = 112 > > close(3) = 0 > > open64("./../../../../", O_RDONLY|O_NDELAY) = 3 > > fcntl(3, F_SETFD, 0x00000001) = 0 > > fstat64(3, 0xFFBEED28) = 0 > > fstat64(3, 0xFFBEF7A0) = 0 > > getdents64(3, 0x0014C580, 1048) = 176 > > close(3) = 0 > > open64("./../../../../../", O_RDONLY|O_NDELAY) = 3 > > fcntl(3, F_SETFD, 0x00000001) = 0 > > fstat64(3, 0xFFBEED28) = 0 > > fstat64(3, 0xFFBEF7A0) = 0 > > getdents64(3, 0x0014C580, 1048) = 1040 > > getdents64(3, 0x0014C580, 1048) = 64 > > getdents64(3, 0x0014C580, 1048) = 32 > > getdents64(3, 0x0014C580, 1048) = 80 > > getdents64(3, 0x0014C580, 1048) = 72 > > close(3) = 0 > > open64("./../../../../../../", O_RDONLY|O_NDELAY) = 3 > > fcntl(3, F_SETFD, 0x00000001) = 0 > > fstat64(3, 0xFFBEED28) = 0 > > fstat64(3, 0xFFBEF7A0) = 0 > > getdents64(3, 0x0014C580, 1048) = 584 > > close(3) = 0 > > open64("./../../../../../../../", O_RDONLY|O_NDELAY) = 3 > > fcntl(3, F_SETFD, 0x00000001) = 0 > > fstat64(3, 0xFFBEED28) = 0 > > fstat64(3, 0xFFBEF7A0) = 0 > > getdents64(3, 0x0014C580, 1048) = 264 > > close(3) = 0 > > open64("./../../../../../../../../", O_RDONLY|O_NDELAY) = 3 > > fcntl(3, F_SETFD, 0x00000001) = 0 > > fstat64(3, 0xFFBEED28) = 0 > > fstat64(3, 0xFFBEF7A0) = 0 > > open("/etc/mnttab", O_RDONLY) = 4 > > brk(0x0014CC70) = 0 > > brk(0x0014EC70) = 0 > > fstat64(4, 0xFFBEE6E8) = 0 > > ioctl(4, TCGETA, 0xFFBEE674) Err#22 EINVAL > > read(4, " / d e v / m d / d s k /".., 512) = 512 > > ioctl(4, (('m'<<8)|1), 0xFF0BEC30) = 0 > > ioctl(4, (('m'<<8)|2), 0x0014A020) = 0 > > read(4, " l e\t u f s\t r w , i n".., 512) = 512 > > lstat64("/export", 0xFFBEE908) = 0 > > lstat64("/export/..", 0xFFBEE908) = 0 > > llseek(4, 0xFFFFFFFFFFFFFF6A, SEEK_CUR) = 874 > > close(4) = 0 > > close(3) = 0 > > > The above looks like libc initialization > > > stat("/opt/setedit/share/setedit/syntaxhl.shl", 0xFFBEF330) = 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) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 0 > > getpid() = 23734 [23733] > > > Note that HOME is pointing to / because you are running as root. > > > sysconfig(_CONFIG_MAXPID) = 30000 > > lstat64("//.setedit/erMSaWwU", 0xFFBEF318) Err#2 ENOENT > > open("//.setedit/erMSaWwU", O_RDWR|O_CREAT|O_EXCL, 0600) = 3 > > getuid() = 0 [0] > > getgid() = 1 [1] > > chown("//.setedit/erMSaWwU", 0, 1) = 0 > > dup(2) = 4 > > fcntl(3, F_DUP2FD, 0x00000002) = 2 > > > The standard error output was redirected to /.setedit/erMSaWwU > Please post the content of this file. > > > sigaction(SIGABRT, 0xFFBEF778, 0xFFBEF7F8) = 0 > > sigaction(SIGFPE, 0xFFBEF778, 0xFFBEF7F8) = 0 > > sigaction(SIGILL, 0xFFBEF778, 0xFFBEF7F8) = 0 > > sigaction(SIGSEGV, 0xFFBEF778, 0xFFBEF7F8) = 0 > > sigaction(SIGTERM, 0xFFBEF778, 0xFFBEF7F8) = 0 > > sigaction(SIGINT, 0xFFBEF778, 0xFFBEF7F8) = 0 > > sigaction(SIGQUIT, 0xFFBEF778, 0xFFBEF7F8) = 0 > > sigaction(SIGINT, 0xFFBEF778, 0xFFBEF7F8) = 0 > > sigaction(SIGQUIT, 0xFFBEF7E8, 0xFFBEF868) = 0 > > > Signals redirected. > > > stat("/tmp", 0xFFBEF7A0) = 0 > > access("/tmp", 1) = 0 > > stat("//.setedit", 0xFFBEED50) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 0 > > stat("//.setedit/setenvir.dat", 0xFFBEEDC0) Err#2 ENOENT > > stat("//.setedit", 0xFFBEED50) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 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) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 0 > > stat("//.setedit/keybind.dat", 0xFFBEF7A0) Err#2 ENOENT > > stat("//.setedit", 0xFFBEF730) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 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) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 0 > > stat("//.setedit/syntaxhl.shl", 0xFFBEF7A0) Err#2 ENOENT > > stat("//.setedit", 0xFFBEF730) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 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) = 5 > > > Syntax Highlight file found and starting to load. > > > fstat64(5, 0xFFBEF6C8) = 0 > > brk(0x0014EC70) = 0 > > brk(0x00150C70) = 0 > > ioctl(5, TCGETA, 0xFFBEF654) Err#25 ENOTTY > > read(5, " # C o p y r i g h t ".., 8192) = 8192 > > read(5, " d i , e d i , s p , e s".., 8192) = 8192 > > read(5, " f I n f C o m p i l e r".., 8192) = 8192 > > read(5, " p a g e , p c , p r o c".., 8192) = 8192 > > read(5, " u , e r r o r , e x i t".., 8192) = 8192 > > read(5, " f i l e s , : : t c l t".., 8192) = 8192 > > read(5, " e c k : 4 0 1 , * d c c".., 8192) = 8192 > > read(5, " e a r , \ s e t q u a d".., 8192) = 8192 > > read(5, " - - - - - - - - P D P".., 8192) = 8192 > > read(5, " l e n a m e , u n d e f".., 8192) = 8192 > > read(5, " e y w o r d s = S E R V".., 8192) = 8192 > > read(5, " c l u d e _ o n c e , i".., 8192) = 8192 > > read(5, " a t i o n F u n c t i".., 8192) = 8192 > > read(5, " B a s e d o n t h".., 8192) = 8192 > > read(5, " p e c i a l S y m b o l".., 8192) = 6616 > > read(5, 0x0014D604, 8192) = 0 > > brk(0x00150C70) = 0 > > brk(0x00158C70) = 0 > > llseek(5, 0, SEEK_CUR) = 121304 > > llseek(5, 0, SEEK_SET) = 0 > > read(5, " # C o p y r i g h t ".., 8192) = 8192 > > read(5, " d i , e d i , s p , e s".., 8192) = 8192 > > read(5, " f I n f C o m p i l e r".., 8192) = 8192 > > brk(0x00158C70) = 0 > > brk(0x0015AC70) = 0 > > read(5, " p a g e , p c , p r o c".., 8192) = 8192 > > read(5, " u , e r r o r , e x i t".., 8192) = 8192 > > read(5, " f i l e s , : : t c l t".., 8192) = 8192 > > read(5, " e c k : 4 0 1 , * d c c".., 8192) = 8192 > > read(5, " e a r , \ s e t q u a d".., 8192) = 8192 > > read(5, " - - - - - - - - P D P".., 8192) = 8192 > > read(5, " l e n a m e , u n d e f".., 8192) = 8192 > > read(5, " e y w o r d s = S E R V".., 8192) = 8192 > > read(5, " c l u d e _ o n c e , i".., 8192) = 8192 > > read(5, " a t i o n F u n c t i".., 8192) = 8192 > > read(5, " B a s e d o n t h".., 8192) = 8192 > > read(5, " p e c i a l S y m b o l".., 8192) = 6616 > > llseek(5, 0xFFFFFFFFFFFFFFFF, SEEK_CUR) = 121303 > > close(5) = 0 > > > Finished to load. > > > stat("//.setedit", 0xFFBEF4F8) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 0 > > stat("//.setedit/deflopts.txt", 0xFFBEF568) Err#2 ENOENT > > stat("//.setedit", 0xFFBEF4F8) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 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) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 0 > > stat("//.setedit/errors.cle", 0xFFBEF7A0) Err#2 ENOENT > > stat("//.setedit", 0xFFBEF730) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 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) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 0 > > stat("//.setedit/nobkp.txt", 0xFFBEF7A0) Err#2 ENOENT > > stat("//.setedit", 0xFFBEF730) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 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) = 0 > > > No nobkp.txt (ok). > > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 0 > > open64(".", O_RDONLY|O_NDELAY) = 5 > > fcntl(5, F_SETFD, 0x00000001) = 0 > > fstat64(5, 0xFFBEF330) = 0 > > getdents64(5, 0x0014E458, 1048) = 1048 > > getdents64(5, 0x0014E458, 1048) = 1032 > > getdents64(5, 0x0014E458, 1048) = 512 > > getdents64(5, 0x0014E458, 1048) = 0 > > close(5) = 0 > > stat("tcedit.dst", 0xFFBEF3A0) Err#2 ENOENT > > stat(".tcedit.dst", 0xFFBEF3A0) Err#2 ENOENT > > stat("//.setedit", 0xFFBEF2C0) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 0 > > stat("//.setedit/tcedit.dst", 0xFFBEF330) Err#2 ENOENT > > stat("//.setedit", 0xFFBEF2C0) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 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) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 0 > > stat("//.setedit/.tcedit.dst", 0xFFBEF330) Err#2 ENOENT > > stat("//.setedit", 0xFFBEF2C0) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 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) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 0 > > stat("//.setedit/install.log", 0xFFBEEEC0) Err#2 ENOENT > > stat("//.setedit", 0xFFBEEE50) = 0 > > access("//.setedit", 1) = 0 > > access("//.setedit", 2) = 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) = 28 > > > The full message should be in /.setedit/erMSaWwU but looks like TV > couldn't find a usable terminal. > > > llseek(0, 0, SEEK_CUR) = 25610 > > llseek(0, 0, SEEK_CUR) = 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 > > |