Bonjour,
Quand j'ai fait un make, j'ai le message suivant:
Code :
Making all in .
Target "all-am" is up to date.
Making all in libltdl
make all-am
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o ltdl.lo ltdl.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -DPIC -o .libs/ltdl.o
ltdl.c:220: error: `malloc' undeclared here (not in a function)
ltdl.c:222: error: `realloc' undeclared here (not in a function)
ltdl.c:224: error: `free' undeclared here (not in a function)
ltdl.c: In function `try_dlopen':
ltdl.c:3160: warning: assignment makes pointer from integer without a cast
ltdl.c:3168: warning: assignment makes pointer from integer without a cast
ltdl.c:3354: warning: passing arg 1 of `find_handle' makes pointer from integer without a cast
ltdl.c:3357: warning: passing arg 1 of `find_handle' makes pointer from integer without a cast
ltdl.c: In function `lt_dlforeachfile':
ltdl.c:3736: warning: passing arg 1 of `foreach_dirinpath' makes pointer from integer without a cast
ltdl.c:3743: warning: passing arg 1 of `foreach_dirinpath' makes pointer from integer without a cast
ltdl.c:3750: warning: passing arg 1 of `foreach_dirinpath' makes pointer from integer without a cast
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
make: The error code from the last command is 1.
C'est bizare car il ne comprend pas malloc, j'ai vérifié l'existence de la lib & aussi son chemin. Vous avez des idées? J'ai AIX 5.1
Merci