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

Symbol __strtollmax (number 23) is not exported .... what's this mean

Status
Not open for further replies.

jimlocigno

Programmer
Nov 20, 2000
14
US
Hi,
I inherited a C program that connects to db2. We know we have to recompile the program with a 64 bit C-Compiler. For this I used gcc that our unix admins put on our box a while ago. I can get it the bind to work and the recompile works ( a few warnings but they are nothing new).

However, when I run the program I get the following error:
exec(): 0509-036 Cannot load program /gpfs/sdv/component/common/sequence/jimseq because of the following errors:
Code:
        0509-130 Symbol resolution failed for jimseq because:
        0509-136   Symbol __strtollmax (number 23) is not exported from
                   dependent module /usr/lib/libc.a(shr.o).
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.
I have searched the web for this error message and the best I can find is they say to upgrade your os to newer than 4.3. Well we are at 5.1 already!

Unfortuneatly the person who wrote this program has since left the company so I have the oppourtunity to figure it out.

Other Stats:
OS: AIX 5.1.1
Compiler Used: gcc - according to unix admin this has been 64-bit enabled on the box that I am using.

Any help or pointers would be greatly appreciated.
Thanks
 
Never Mind. I figured what to do. In gcc there is a specific switch to compile with that enables 64-bit pointers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top