Urgent! To any one with ideas, I'm looking for good directions to head in - even if you don't know the answer - that's okay!!
I need to find a way around this error. I've included the compiler output below.
If I remove -lsocket from the lib's list, then I get undefined symbols for all the functions (in socket) that are being used in another module. I have a single function call to this other module.
**************************
**********
**********
**********
********
>make
sh /usr6/common/tools/brand.s
h /usr6/3010/appl/p2/Rate_P2
running brand.sh on /usr6/3010/appl/p2/Rate_P2
cc -b ibcs2 -v -o Rate_P2 p2tabl.o p2_01.o p2_02.o p2calc.o p2doprems.o
p2load.o p2prems.o p2tools.o p2writdd.o p2top.o p2prn.o p2assign.o p2save.o p2a
pp.o p2prorate.o p2chg.o p2chgtls.o p2trxtab.o p2rtchff.o p2data.o p2apchff.o
p2wrap.o p2_03.o p2popups.o p2rerate.o pmsauto.o pms_02_contract.o pms_03_comme
nt.o pms_04_uw.o pms_12_info.o pms_25_driver.o pmsauto_35_0.o pmsauto_35_1.o /
usr6/3010/obj/TPtt.o /usr6/3010/obj/APld.o /usr6/3010/obj/SHld.o /usr6/3010/obj
/ERld.o /usr6/3010/obj/KBld.o /usr6/3010/obj/MYld.o /usr6/3010/obj/RWld.o /usr6
/3010/obj/VOld.o /usr6/3010/obj/SCld.o /usr6/3010/obj/XCld.o /usr6/3010/obj/loc
k2.o /usr6/3010/obj/PIld.o /usr6/3010/obj/WHld.o /usr6/3010/obj/CMld.o /usr6/3
010/obj/crcomm.o /usr6/3010/obj/tst1init.o /usr6/3010/obj/crfbuf.o /usr6/3010/o
bj/crload.o /usr6/3010/obj/crstrec.o -L/usr/lib/mysql \
-L/usr6/3010/lib -lutil -lds -lpr -lss -ltr -ltrx -lph2util -lco -lmysql
client -lcrypt -lnsl -lm -lfl -ldt -lblk -ldt -lstr -lxd -lcisam -lmenu -lpanel
-lcurses -lsocket \
/usr6/3010/appl/p2/Rate_P2
brand.c
i386ld: Symbol _connect in /usr/lib/libsocket.a is multiply defined. First defin
ed in /usr/ccs/lib/libmenu.a
*** Error code 1 (bu21)
**************************
**********
**********
**********
*****
Thanks in advance for any good input...
Start Free Trial