Hi,
I'm just asking how do you have install gcc on aix 4.2.1 ? I got gcc 2.95 and this error when compiling :
sigma </opt/gnu/hobbit-4.2.0 >#gmake
CC="gcc" CFLAGS="-O -D_REENTRANT -DAIX -I. -Ipwd/include -DCLIENTONLY=1"
LDFLAGS="" OSDEF="-DAIX" RPATHOPT="" PCREINCDIR="" SSLFLAGS=""
SSLINCDIR="" SSLLIBS="" NETLIBS="" BBTOPDIR="/opt/hobbit" BBLOGDIR=""
BBHOSTNAME="" BBHOSTIP="158.157.156.91" BBHOSTOS="" LOCALCLIENT="no" gmake
-C lib client
gmake[1]: Entering directory /opt/gnu/hobbit-4.2.0/lib' gcc -O -D_REENTRANT -DAIX -I. -I/opt/gnu/hobbit-4.2.0/include -DCLIENTONLY=1 -I. -I../include -o test-endianness test-endianness.c cpp: installation problem, cannot exec cpp': The parameter or environment lists are too long.
gmake[1]: *** [test-endianness] Error 1
gmake[1]: Leaving directory `/opt/gnu/hobbit-4.2.0/lib'
gmake: *** [lib-client] Error 2
Thanks !
Thomas
"Jeff Newman" <jeffnewman75 at gmail.com> a écrit sur 07/09/2006 01:01:41 :
I also just tried compiling on an AIX 4.2.1 box (with gcc) and got the same exact error:
make[1]: Entering directory
/usr/local/hobbit/stage/hobbit-4.2.0/common' gcc -O -D_REENTRANT -DAIX -I. -I/usr/local/hobbit/stage/hobbit-4.2. 0/include -DC LIENTONLY=1 -c -o bb.o bb.c gcc -O -D_REENTRANT -DAIX -I. -I/usr/local/hobbit/stage/hobbit-4.2. 0/include -DC LIENTONLY=1 -o ../client/bb bb.o ../lib/hobbitclient.a collect2: ld returned 8 exit status ld: 0711-317 ERROR: Undefined symbol: .strtok_r ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make[1]: *** [../client/bb] Error 1 make[1]: Leaving directory/usr/local/hobbit/stage/hobbit-4.2.0/common' make: *** [common-client] Error 2On 9/4/06, thomas.seglard.enata at cnp.fr <thomas.seglard.enata at cnp.fr> wrote:
Hello,
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 ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. gmake[1]: *** [../client/bb] Error 8 gmake[1]: Leaving directory/opt/gnu/hobbit/common' gmake: *** [common-client] Error 2So, if you know something about this error, please tell me ! Best regards,
Thomas
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite au titre de ce message, s'il a ete altere, deforme ou falsifie.
This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.