SpeedBWild
Programmer
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.
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.