Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compile AIX question

Status
Not open for further replies.

SpeedBWild

Programmer
Apr 29, 2004
117
0
0
US
I am very new to AIX. I am trying to compile my code, I get no compile errors but my customer can not run it.
In doing some research I found that I need to statically add a libaray. I have now done that. I also found that I need to compile for 64 bit. I have done that as well.

Now when I compile (shown below) I get the following warning.
0711-224 Warning: Duplicate symbol .send
0711-345 use -bloadmap or -bnoquiet for more info.

gcc source.c -maix64 -static /usr/lib/libc.a -o outputName

I tried -bloadmap and -bnoquiet, as options to gcc with a file name but it did not produce any file. So, I'm not sure I am using it correctly. I will continue to research it.

Also, when I run ldd outputName is say's it needs /unix

Any help would be appreciated.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top