On Mon, Sep 04, 2006 at 07:16:41PM +0200, thomas.seglard.enata at cnp.fr wrote:
it's me again with all my troubles on AIX 4.2.1... Sorry ! Now, I'm just using the C compiler from IBM. Here is the new output :
gmake[1]: Entering directory `/opt/gnu/hobbit/common' cc -g -O3 -qstrict -qcpluscmt -D_REENTRANT -DAIX -I. -I/opt/gnu/hobbit/include -DCLIENTONLY=1 -c -o bb.o bb.c cc -g -O3 -qstrict -qcpluscmt -D_REENTRANT -DAIX -I. -I/opt/gnu/hobbit/include -DCLIENTONLY=1 -o ../client/bb bb.o ../lib/hobbitclient.a ld: 0711-317 ERROR: Undefined symbol: .strtok_r
Ouch ... your system doesn't have the strtok_r function.
This is a standard function, but it didn't become that until the 2001 edition of POSIX. Apparently AIX 4.2.1 predates that.
Still, I would like the client to work on as many platforms as possible. Does this patch fix it for you?
Regards, Henrik