This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]