Using TOOLS on 2003 R2 SUA (Full Version)

All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum



Message


rjnorman -> Using TOOLS on 2003 R2 SUA (Mar. 12, '06, 5:01:02 PM)

I have installed the very latest Tools package and now I am getting warnings when compiling.

gcc -I../include -I/home/tipsrc/include -DSVR4 -DSFU -D_ALL_SOURCE -w -R -O -o proto proto.o -lncur
ses -lc -lm
/opt/gcc.3.3/lib/gcc-lib/i586-pc-interix3/3.3/../../../../i586-pc-interix3/bin/ld: warning: libm.so.
3.5, needed by /usr/local/lib/libncurses.so, may conflict with libm.so.5.2
/opt/gcc.3.3/lib/gcc-lib/i586-pc-interix3/3.3/../../../../i586-pc-interix3/bin/ld: warning: libc.so.
3.5, needed by /usr/local/lib/libncurses.so, may conflict with libc.so.5.2
/opt/gcc.3.3/lib/gcc-lib/i586-pc-interix3/3.3/../../../../i586-pc-interix3/bin/ld: warning: libc.so.
3.5, needed by /usr/local/lib/libncurses.so, may conflict with libc.so.5.2
/opt/gcc.3.3/lib/gcc-lib/i586-pc-interix3/3.3/../../../../i586-pc-interix3/bin/ld: warning: libc.so.
3.5, needed by /usr/local/lib/libncurses.so, may conflict with libc.so.5.2
mv -f proto ../bin

Is there something I should do to resovle this?




markfunk -> RE: Using TOOLS on 2003 R2 SUA (Mar. 12, '06, 11:06:36 PM)

Unless SUA specifically documents that it doesn't support backward compatibility
with SFU3.5, this is a bug. SUA should provide all the *.so.3.1 and *.so.3.5 libraries that
were available in SFU3.5.

In the meantime, you can do one of two things:
a) you could copy the *.so.3.5 libraries from your SFU3.5 distribution
This may or may not work depending on backward compatibility support
of SFU3.5 in SUA.
This would be my first choice, until someone proves this doesn't work.

b) you could create the .so.3.5 libraries manually on SUA, as symlinks
to the equivalent SUA libraries.
Like
libc.so.3.5 -> libc.so.5.2
Depending on changes that occured between libc.so.3.5 and libc.so.5.2,
this may or may not work.

The other option is to use a libncurses.so that is built on SUA.
Don't know if Rodney has built this yet, or is planning on building this.




rjnorman -> RE: Using TOOLS on 2003 R2 SUA (Mar. 13, '06, 8:32:03 AM)

I did not have SFU 3.5 (only SUA on 2003 R2) so I saved the .so.3.5 and created a link. I tired with -lcurses instead of -lncurses and now now I get an error run I execute the program.

/home/tipsrc/bin/arcperms -f ../bin/tdb
C:\WINDOWS\SUA\home\tipsrc\bin\arcperms: error in loading shared libraries
/usr/lib/libc.so.5.2: undefined symbol: __pctype_used
*** Error code 127

Stop.

If I use ncurses instead of curses then it seems to work. I'm not sure why this is...

Also. When I start 'vim' there is a noticable delay of about 10 seconds before it starts. Running 'vi' starts immediately. Does anyone have an idea how to solve this one?

Thanks




Page: [1]



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031