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?