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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with linking on AIX 4.3

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Have a good day?
I'm porting our Package to AIX 4.3.
There is no problem in compiling,
but during linking, I met a error - .__main symbol
undefined.
I'm struggling to solve this problem.
Please help me.
thank you.
 
If it's Visual Age, I just experienced this same problem only to find I was using the wrong script. At first I used the /usr/ibmcxx/bin/linkxlC script and got that same error. I then tried the replaceCSET script and it worked flawlessly. Try that one. Hope this helps. :) [sig]<p>Jon Zimmer<br><a href=mailto:b0rg@pcgeek.net>b0rg@pcgeek.net</a><br><a href= Aetea Information Technology</a><br>The software required `Windows 95 or better', so I installed Linux.<br>
[/sig]
 
hi
you can use ar and nm commands to find out the root cause of problem.
It appears that package is calling a symbol which is not defined
in shared library for that package.&quot;nm &quot; command can help you a lot in
this regard....but it is fine to first check what shared library your package is utilizing.


Regds

Shiraz [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top