Hi AIX is 5.3, gcc is 4.2.3 and ld is 2.18. Yes I downloaded the source and compiled it locally on AIX We have a product running successfully on Solaris and AIX for many years and we have recently decided to port to Linux. This was done successfully. Since we used gcc on Linux, we decided to go with gcc on all the OS platforms we support. Towards this goal, I downloaded gcc 4.2.3 on AIX and Solaris. Compiled on AIX and installed it successfully. When I tried to use this gcc to compile the product code, the below error occurs only in couple of places. What does this error mean? Do you want me to send the compile/load line? Thanks for your help. With Regards Vardhan -----Original Message----- From: Rob Sherry [mailto:rsherry@xxxxxxxxxxxxxxxx] Sent: Thursday, July 24, 2008 5:03 PM To: Vardhan, Sundara (GE Infra, Energy); gcc-help@xxxxxxxxxxx Subject: RE: Link error > Vardhan, Sundara (GE Infra, Energy) wrote: > > When I try to link in AIX using gcc/ and gnu ld, I get the following > error What versions of AIX, gcc, and ld are you using? Are you using the IBM-compiled gcc, or a local build? Is whatever version of AIX you have current? You might try checking with IBM support to see if they have any outstanding issues with the version mix you're using at your site. What are you trying to compile? You mention things working on Linux, so is this a homebuilt program, or a package you're porting? If it's a package, does whatever documentation that came with it have any references for AIX builds? > The same make file works fine in Linux. Please help. I doubt it's the makefile that's the problem... BTW, I have gcc 4.1.0 running on AIX 5.3 and 6.1, and gcc 4.2.3 on 6.1 and all work just fine for 99% of the pre-packaged things I've found, and all of my custom apps (except for my own errors, of course...). We're going to need a bit more information here. Rob Rob Sherry System Administrator Alaska Housing Finance Corporation Anchorage, AK