Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Core Dump

Status
Not open for further replies.

fmmutale

MIS
Oct 13, 2008
12
NG
We Installed the following products:

SCO UNIX:

CD1:- OpenServer 6.0.0 Operating System
OpenServer 6.0.0 Development System
CD2:

Optional Contains

Squid Web Proxy Cache

Apache Tomcat Servlet Container

SCO OpenServer Release 6.0.0 for French, German



INFORMIX PRODUCTS



IBM Informix 4gl Compiler Developer version 7.32 UC2 for SCO UNIX

IBM Informix SQL Compiler Development version 7.32 UC2 for SCO UNIX

IBM Informix SE version 7.25 UC6 for SCO UNIX

IBM Informix 4gl Compiler RT version 7.32 UC2 for SCO UNIX

IBM Informix SQL RT version 7.32 UC2 for SCO UNIX

In my .profile I have the following lines:

DBDATE=DMY4/ # date set to dd/mm/yyyy format
export DBDATE

DBSCREENOUT=/tmp/screen.out # screen dump
export DBSCREENOUT

HOME=/srs-prps/ppsys;export HOME

[ -d /usr/local/bin -a -x /usr/local/bin ] && PATH=$PATH:/usr/local/bin

# use default system file creation mask

[ $TERM = "scoansi" ] && TERM="ansi"

eval `tset -m ansi:${TERM:-ansi} -m :\?${TERM:-ansi} -e -r -s -Q`

/usr/bin/prwarn # issue a warning if password due to expire

stty erase ^h
stty erase ^H
stty intr ^C
stty intr
stty erase
alias dbg='debug -ic'

DBPATH=/srs-prps/ppsys/phaseI;export DBPATH
PATH=$PATH:$DBPATH:. #set command search path
MAIL=/usr/spool/mail/`logname` # mailbox location
export MAIL
INFORMIXDIR=/u/informix.new;export INFORMIXDIR
INFORMIXSERVER=buffalo_srvr;export INFORMIXSERVER
TERMCAP=/usr/informix/etc/termcap;export TERMCAP
INFORMIXTERM=termcap;export INFORMIXTERM
INFORMIXSQLHOSTS=/u/informix.new/etc/sqlhosts; export INFORMIXSQLHOSTS
LD_LIBRARY_PATH=$INFORMIXDIR/lib/tools:$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql
export LD_LIBRARY_PATH
SQLEXEC=$INFORMIXDIR/lib/sqlrm;export SQLEXEC
PATH=$PATH:$INFORMIXDIR/bin; export PATH

I can't execute the following program once compiled:

main
OPEN WINDOW win_print
AT 5,2
WITH 18 ROWS, 77 COLUMNS
ATTRIBUTE (BORDER, PROMPT LINE LAST)
DISPLAY "HELLO WORLD" AT 10, 10
SLEEP 10
CLEAR WINDOW win_print
----DISPLAY "HELOO WORLD" AT 1,1
----SLEEP 10
END MAIN


This is core dumping. There are diagnostic messages atall. But it the old verion of SCO 5.5 and Informix 7.20 UD& this runs well.

When i type ldd test2.4ge, it gives me the following:

$ ldd -r test2.4ge
test2.4ge needs:
libifsql.so => /usr/lib/libifsql.so
libifasf.so => /usr/lib/libifasf.so
libifgen.so => /usr/lib/libifgen.so
libifos.so => /usr/lib/libifos.so
libifgls.so => /usr/lib/libifgls.so
libnsl.so => /osr5/usr/lib/libnsl.so
/lib/libprot.so.1 => /osr5/lib/libprot.so.1
/usr/lib/libsocket.so.2 => /osr5/usr/lib/libsocket.so.2
/usr/lib/libm.so.1 => /osr5/usr/lib/libm.so.1
/usr/lib/libcurses.so.1 => /osr5/usr/lib/libcurses.so.1
libifglx.so => /usr/lib/libifglx.so
lib4gsh.so => /usr/lib/lib4gsh.so
/usr/lib/libcrypt.so => /osr5/usr/lib/libcrypt.so
/usr/lib/libc.so.1 => /osr5/usr/lib/libc.so.1

What could be wrong with my libraries ?

Secondly, I have been reading on mgetty and getty but I don't seem to be getting the answer. I have the following scenario:

How I can make the terminal type appear on log on screen, as in the old SCO OpenServer 5.5 we have the display as:

SCO OpenServer(TM) Release 5 (hyena.unza.zm) (ttyp3)

login:

And CurrentSCO OpenServer 6.0.0 log on Screen shows:


SCO OpenServer(TM) Release 6 (buffalo) ()

login:

Why don't I get the terminal type displayed as in case of hyena above ?
 
In your test program, try changing:

CLEAR WINDOW win_print

to

CLOSE WINDOW win_print
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top