The UNIX Forums
"Join the Network of UNIX System Users"


 
Subject: unresolved symbol on aix 5.2
bizoppz
Newbie
Rank: 1



UID 70
Digest Posts 0
Credits 0
Posts 54
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 20, 2007 10:29 AM  Profile | P.M. 
unresolved symbol on aix 5.2



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?


Top
Visage
Newbie
Rank: 1



UID 24
Digest Posts 0
Credits 0
Posts 57
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 20, 2007 10:29 AM  Profile | P.M. 
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
Top
 

 

All times are GMT, the time now is Mar 15, 2010 03:44 PM

Powered by Discuz! 5.0.0  © 2001-2006 UNIX Forums
Processed in 0.004831 second(s), 8 queries

Clear Cookies - Contact Us - UNIX Help - Archiver - WAP