PRO*COBOL, multiple inclusion of file errors
Date: 24 Feb 1999 01:50:43 GMT
Message-ID: <36d2ff52.7012416_at_netnews.worldnet.att.net>
I'm trying to track down a problem where I compile a PRO*COBOL program, any PRO*COBOL program, and I always get the following four warnings:
UX:ld: WARNING: /usr/lib/libsocket.so: warning: attempted
multiple inclusion of file
UX:ld: WARNING: /usr/lib/libnsl.so: warning: attempted
multiple inclusion of file
UX:ld: WARNING: /usr/lib/libsocket.so: warning: attempted
multiple inclusion of file
UX:ld: WARNING: /usr/lib/libnsl.so: warning: attempted
multiple inclusion of file
Can anyone tell me why I might be getting these warnings so consistently? The programs do compile, and they do run. Oracle support has so far been unable to diagnose this problem.
I am running on NCR UNIX System V Release 4, using Oracle 7.3.4.0.0, and Pro*COBOL 1.8.4.0.0. I've pasted the output from an env command below, and after that you will see the output from the make command that I used to compile the sample1 program.
I would really appreciate any help I could get on tracking this down.
Jonathan
$ env
COBDIR=/opt/lib/cobol
COBTERMINFO=/opt/lib/cobol/terminfo
HOME=/home/oracle2k
HZ=100
LD_LIBRARY_PATH=/opt/lib/cobol/coblib
LOGNAME=oracle2k
MAIL=/var/mail/oracle2k
ORACLE_BASE=/x71/app/oracle ORACLE_HOME=/x71/app/oracle/product/734 ORACLE_SID=CONV ORACLE_TERM=vt220
PATH=.:/x71/app/oracle/product/734/bin:/opt/bin:/bin:/usr/lbin:/usr/bin:/usr/loc al/bin:/usr/sbin:/usr/ccs/bin:/usr/ucb:/bin SHELL=/usr/bin/sh
SysName=dev
TERM=vt220
TERMCAP=/etc/termcap
TIMEOUT=0
TZ=EST5EDT
$ cd $ORACLE_HOME
$ make -f procob.mk sample1
make -f procob.mk build COBS=sample1.cob EXE=sample1 `if [ "" = "LPICOB" ]; then echo lpicob; else echocob; fi` `if [ "" = "
LPICOB" ]; then echo "-si"; else echo "-C IBMCOMP -x"; fi`
-o sample1 sample1.co
b -L/x71/app/oracle/product/734/lib
/x71/app/oracle/product/734/precomp/lib/cobs qlintf.o `if [ ]; then \
echo " -lclntsh -lsql_kpic
-lsqlnet_kpic -lncr_kpic -lsq
lnet_kpic -lclient_kpic -lcommon_kpic \
-lgeneric_kpic -lsqlnet_kpic
-lncr_kpic -lsqlnet_kpic -l
client_kpic -lcommon_kpic \
-lgeneric_kpic -lepc_kpic
-lnlsrtl3_kpic -lc3v6_kpic -l
core3_kpic -lnlsrtl3_kpic \
-lcore3_kpic -lnlsrtl3_kpic \ \`cat
/x71/app/oracle/product/734/rdbms/lib/sysliblist|s ed 's/-Wl,-z,norearrange//g'\` " ; \
else \ echo " -lxa -lsql -lsqlnet -lncr
-lsqlnet -lclient -lcom
mon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric \
-lepc -lnlsrtl3 -lc3v6 -lcore3
-lnlsrtl3 -lcore3 -lnlsrt
l3 \ \`cat
/x71/app/oracle/product/734/rdbms/lib/sysliblist|s ed 's/-Wl,-z,norearrange//g'\` \
-lm" ; \ fi`
UX:ld: WARNING: /usr/lib/libsocket.so: warning: attempted multiple inclusion of file
UX:ld: WARNING: /usr/lib/libnsl.so: warning: attempted multiple inclusion of file
UX:ld: WARNING: /usr/lib/libsocket.so: warning: attempted multiple inclusion of file
UX:ld: WARNING: /usr/lib/libnsl.so: warning: attempted multiple inclusion of file Received on Wed Feb 24 1999 - 02:50:43 CET