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?

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.

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.