apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Rossi <bob_ro...@cox.net>
Subject apr 1.3.2 compile fails with mingw/gcc
Date Fri, 27 Jun 2008 01:37:41 GMT
Hi,

I tried compiling apr 1.3.2 on mingw just now.

I got this compiler error,

/bin/sh apr/apr-1.3.2/apr-1.3.2/libtool --silent --mode=compile gcc-sjlj   
-g -gstabs -Wall -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE   -I./include 
-Iapr/apr-1.3.2/apr-1.3.2/include/arch/win32 -I./include/arch/unix 
-Iapr/apr-1.3.2/apr-1.3.2/include/arch/unix 
-Iapr/apr-1.3.2/apr-1.3.2/include  -o dso/win32/dso.lo -c dso/win32/dso.c && touch
dso/win32/dso.lo
In file included from apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_file_io.h:29,
                 from dso/win32/dso.c:20:
apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_misc.h:419: error: expected declaration
specifiers or '...' before 'LPPROCESSENTRY32W'
apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_misc.h:419: error: expected declaration
specifiers or '...' before 'LPPROCESSENTRY32W'
apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_misc.h: In function 'apr_winapi_Process32FirstW':
apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_misc.h:419: error: 'lppe' undeclared (first
use in this function)
apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_misc.h:419: error: (Each undeclared identifier
is reported only once
apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_misc.h:419: error: for each function it
appears in.)
apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_misc.h:419: error: too many arguments
to function 'apr_winapi_pfn_Process32FirstW'
apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_misc.h: At top level:
apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_misc.h:428: error: expected declaration
specifiers or '...' before 'LPPROCESSENTRY32W'
apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_misc.h:428: error: expected declaration
specifiers or '...' before 'LPPROCESSENTRY32W'
apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_misc.h: In function 'apr_winapi_Process32NextW':
apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_misc.h:428: error: 'lppe' undeclared (first
use in this function)
apr/apr-1.3.2/apr-1.3.2/include/arch/win32/apr_arch_misc.h:428: error: too many arguments
to function 'apr_winapi_pfn_Process32NextW'
make[1]: *** [dso/win32/dso.lo] Error 1
make[1]: Leaving directory `apr/apr-1.3.2/apr-1.3.2'
make: *** [all-recursive] Error 1
configure: error: "make failed with a non-zero exit code 2."
See `config.log' for more details.

Is this a known issue? I can give more details if not.

Thanks,
Bob Rossi

Mime
View raw message