apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Locke <lockeatl...@gmail.com>
Subject Compiling APR1.2.7 failed on SUSE10 32bit
Date Tue, 24 Oct 2006 11:41:22 GMT
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

Mime
View raw message