Strange it works well on Suse SLES 9 (both PPC and Intel version).
May I suggest you take a look at Suse source rpm ? ie : http://rpmfind.net//linux/RPM/opensuse/OSS-factory/i586/libapr1-devel-1.2.7-13.i586.html 2006/10/24, Locke <[EMAIL PROTECTED]>:
Hi there, I am trying to build APR1.2.7 on SUSE10. But failed with the error messages: Any comments/suggestions are highly appreciated ! make[1]: Entering directory `/mnt/hgfs/src/32/apr-1.2.7' /bin/sh /mnt/hgfs/src/32/apr-1.2.7/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I./include -I/mnt/hgfs/src/32/apr-1.2.7/include/arch/unix -I./include/arch/unix -I/mnt/hgfs/src/32/apr-1.2.7/include -o passwd/apr_getpass.lo -c passwd/apr_getpass.c && touch passwd/apr_getpass.lo passwd/apr_getpass.c:78: error: static declaration of 'getpass' follows non-static declaration /usr/include/unistd.h:912: error: previous declaration of 'getpass' was here passwd/apr_getpass.c: In function 'getpass': passwd/apr_getpass.c:81: error: 'stderr' undeclared (first use in this function) passwd/apr_getpass.c:81: error: (Each undeclared identifier is reported only once passwd/apr_getpass.c:81: error: for each function it appears in.) passwd/apr_getpass.c:82: error: 'stdin' undeclared (first use in this function) make[1]: *** [passwd/apr_getpass.lo] Error 1 make[1]: Leaving directory `/mnt/hgfs/src/32/apr-1.2.7' make: *** [all-recursive] Error 1 Thanks, -Kelvin
