Originally posted by: SystemAdmin
Hi.
I have developed some shared library. It library is working fine on one machine where I have compiled this one.
When I tried to run it on another machine I have got next:
0509-136 Symbol kpreadv (number 37) is not exported from
dependent module /unix.
0509-136 Symbol kpwritev (number 38) is not exported from
dependent module /unix.
Both machine have AIX 5.3
I have understood that my compile is wrong. It looks like below.
export OBJECT_MODE=64
gcc -B /usr/bin -O1 -D_64BIT -maix64 -fPIC -I /usr/include -c get_cal.c -o get_cal.o
gcc -shared -static -D_64BIT -maix64 get_cal.o -o get_cal.so
Thanks in advance. Andrii.
#AIX-Forum