Re: Informix Upgrade : Compilation Problems
Posted in 2004
--0__=88BBE4FADF877A5A8f9e8a93df938690918c88BBE4FADF877A5A Content-type: multipart/alternative; Boundary="1__=88BBE4FADF877A5A8f9e8a93df938690918c88BBE4FADF877A5A" --1__=88BBE4FADF877A5A8f9e8a93df938690918c88BBE4FADF877A5A Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable It certainly looks like u need to compile all the programs which 'case_local' requires need to be compiled first as well and probably u = r missing some common libraries which you guys probably use while compili= ng the program. I would suggest u check the makefile again which is compil= ing this program ... something is missing in the dependencies. Also, the file holiday.o (probably all the functions in the archive fil= e datefun.a) need to be recompiled for 64bit as its giving a warning that= its a 32 bit file. I would suggest recompiling all the programs from scratch of your application as there are too many dependencies to just try and compile = one or two programs. HTH Thanx much, Rajib Sarkar Advisory Software Engineer (RAS) IBM Data Management Group If we all did the things we are capable of doing, we would literally astound ourselves. -- T. Edison = kuppusab@nasd.com = (Bkr) = Sent by: = To owner-informix-li informix-list@iiug.org = st@iiug.org = cc = Subj= ect 03/31/2004 05:18 Informix Upgrade : Compilation = PM Problems = = = Please respond to = kuppusab = = = Gurus - We are migrating from IDS 7.20UD2 to 7.32FC2, Solaris 2.6 to Solaris 2.8 64 bit, Sun Workshop C compiler from 5.0 to 5.5, Informix 9.30 to 9.40. I am tryng to recompile the same programs in the new envirnoment. However I come across the following errors in compiling. Has someone faced the same problem before and solved it ? What could be the problem here ? snapshot of the error : ___________________________________ ld: warning: file /apps01/xyz/dev/src/tools/datefun.a(holiday.o): wrong ELF class: ELFCLASS32 Undefined first referenced symbol in file checksum info_pldg.o soundex arbcase.o reverse_ascii /apps01/xyz/dev/src/tools/xyzlib.a(ban ner_help.o) load_holiday_array /apps01/xyz/dev/src/tools/xyzlib.a(crt ools.o) validate_date /apps01/xyz/dev/src/tools/xyzlib.a(val idate.o) ld: fatal: Symbol referencing errors. No output written to case_local *** Error code 1 The following command caused the error: c4gl -O case_local.o info_pldg.o info_legl.o close.o defic.o consol.o notes.o arbcase.o /apps01/xyz/dev/src/tools/xyzlib.a /apps01/xyz/dev/src/tools /datefun.a /apps01/xyz/dev/src/tools/xyzdb.a -o case_local make: Fatal error: Command failed for target `case_local' _________________________ The 'Undefined symbols' in the error message are actually C functions in the library. my LD_LIBRARY_PATH has $INFORMIXDIR/lib, esql, lib/tools, incl/tools, and also /usr/lib. The program obviously compiled well in my previous versions... Don't know whether it is a linking problem . Hopefully I get some help and answers. Thanks a lot in Advance! Bkr = --1__=88BBE4FADF877A5A8f9e8a93df938690918c88BBE4FADF877A5A Content-type: text/html; charset=US-ASCII Content-Disposition: inline Content-transfer-encoding: quoted-printable <html><body> <p>It certainly looks like u need to compile all the programs which 'ca= se_local' requires need to be compiled first as well and probably u r m= issing some common libraries which you guys probably use while compilin= g the program. I would suggest u check the makefile again which is comp= iling this program ... something is missing in the dependencies.<br> <br> Also, the file holiday.o (probably all the functions in the archive fil= e datefun.a) need to be recompiled for 64bit as its giving a warning th= at its a 32 bit file. <br> <br> I would suggest recompiling all the programs from scratch of your appli= cation as there are too many dependencies to just try and compile one o= r two programs.<br> <br> HTH<br> <br> Thanx much,<br> <br> Rajib Sarkar<br> Advisory Software Engineer (RAS)<br> IBM Data Management Group <br> <br> <br> If we all did the things we are capable of doing, we would literally as= tound ourselves. -- T. Edison<br> <br> <img src=3D"cid:10__=3D88BBE4FADF877A5A8f9e8a93df938@us.ibm.com" width=3D= "16" height=3D"16" alt=3D"Inactive hide details for kuppusab@nasd.com (= Bkr)">kuppusab@nasd.com (Bkr)<br> <br> <br> <table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">= <tr valign=3D"top"><td style=3D"background-image:url(cid:20__=3D88BBE4F= ADF877A5A8f9e8a93df938@us.ibm.com); background-repeat: no-repeat; " wid= th=3D"40%"> <ul> <ul> <ul> <ul><b><font size=3D"2">kuppusab@nasd.com (Bkr)</font></b><font size=3D= "2"> </font><br> <font size=3D"2">Sent by: owner-informix-list@iiug.org</font> <p><font size=3D"2">03/31/2004 05:18 PM</font> <table border=3D"1"> <tr valign=3D"top"><td width=3D"168" bgcolor=3D"#FFFFFF"><div align=3D"= center"><font size=3D"2">Please respond to<br> kuppusab</font></div></td></tr> </table> </ul> </ul> </ul> </ul> </td><td width=3D"60%"> <table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">= <tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:3= 0__=3D88BBE4FADF877A5A8f9e8a93df938@us.ibm.com" border=3D"0" height=3D"= 1" width=3D"58" alt=3D""><br> <div align=3D"right"><font size=3D"2">To</font></div></td><td width=3D"= 100%"><img src=3D"cid:30__=3D88BBE4FADF877A5A8f9e8a93df938@us.ibm.com" = border=3D"0" height=3D"1" width=3D"1" alt=3D""><