The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unresolved symbol problem venkatakrishnan HP-UX 4 01-24-2008 11:39 PM
unresolved symbol ??? svennie UNIX for Dummies Questions & Answers 2 10-08-2004 03:21 AM
How To Find Unresolved symbol in shared library? chenhao_no1 High Level Programming 1 01-27-2003 01:12 AM
Unresolved Symbol on HP UX & oracle7 luckycs High Level Programming 2 07-02-2002 02:07 AM
c++ unresolved symbol thalex High Level Programming 0 12-05-2001 07:48 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 12-15-2005
Registered User
 

Join Date: Dec 2005
Posts: 1
unresolved symbol on AIX 5.2

Hi,

want to port an executable from AIX 5.3 to AIX 5.2.

This seems to be no problem, when i build one executable.

But in another case i have to link one library statically and
the rest is loaded at runtime. This works for AIX 5.3 but
on AIX 5.2 i get the following error

=>c4msg_ifsa_aix5
exec(): 0509-036 Cannot load program c4msg_ifsa_aix5 because of the following errors:
0509-130 Symbol resolution failed for c4msg_ifsa_aix5 because:
0509-136 Symbol __fd_select (number 47) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-136 Symbol __fd_getdtablesize (number 71) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.


i used the following compile:

.c.o:
cc -c -o $*.o $*.c

OBJECTS = config.o\
daemon.o \
ifsa_conn.o \
log.o \
main.o \
msg_conn.o \

aix5: $(OBJECTS)
cc -g -o ../../bin/c4msg_ifsa_strip2 $(OBJECTS) -I. -L ../../lib -bM:SRE -ldl -lnsl -lpthread -lifsacint -m


Does anybody know what i made wrong?
Reply With Quote
Forum Sponsor
  #2  
Old 05-21-2007
Registered User
 

Join Date: May 2007
Posts: 1
Did you find a solution. I have a similiar problem with a C application produced in AIX 5.3. When running this application in AIX 5.2 I get the messages

0509-130 Symbol resolution failed for u62_tp because:
0509-136 Symbol __fd_poll (number 64) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-136 Symbol __fd_select (number 65) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
Reply With Quote
  #3  
Old 05-21-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
This is not generally how software is designed to work, remember time's arrow.

New operating systems are designed to provide backward compatibility for older applications.

Operating systems aren't too good at providing forward compatibility for applications compiled on operating systems from the future.

If it was an open-source program you would have the opportunity to rebuild from scratch.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0