Olivier Beaton
Wed, 16 Jul 2008 18:55:19 -0700
I'm also failing to compile using latest svn trunk using mingw. I
worked with Bob On June 25th but I wanted to mention the problem still
exists.
Is this a priority before the next release? Is there a place where
can download precompiled mingw-compatible binaries of apr?
Thanks,
Olivier Beaton
-----Original Message-----
From: Myers, Gary
Sent: Fri, 27 Jun 2008 19:20:25 -0700
To: dev@apr.apache.org
Subject: RE: apr 1.3.2 compile fails with mingw/gcc
I've gotten this as well using MSYS in concert with the Alpha release of
MinGW-GCC 4.3.0. I used GCC 4.3.0 because the current stable release of
GCC 3.4.5 would crash when trying to determine the size of void*. Any
ideas?
Thanks
Gary Myers
-----Original Message-----
From: Bob Rossi [EMAIL PROTECTED]
Sent: Thursday, June 26, 2008 8:38 PM
To: dev@apr.apache.org
Subject: apr 1.3.2 compile fails with mingw/gcc
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