Hi all,

I am managing to compile log4cxx using MinGW. I followed the instructions from 
here : http://wiki.apache.org/logging-log4cxx/MSWindowsBuildInstructions


I am on WinXP, MingGW (with gcc 4.4.1). Everything
worked fine until apr (from svn) compiling.
When I run ./buildconf, it gave me:


$ ./buildconf 

buildconf: checking installation...

buildconf: python version 2.7 (ok)

buildconf: autoconf version 2.67 (ok)

buildconf: libtool version 1.4e (ok)

buildconf: copying libtool helper files using
/bin/libtoolize

buildconf: Using libtool.m4 at
/usr/share/aclocal/libtool.m4.

buildconf: creating include/arch/unix/apr_private.h.in
...

Prototype mismatch: sub main::error ($;$%) vs (@) at
/usr/lib/perl5/5.6.1/Exporter/Heavy.pm line 174

       
Exporter::heavy_export('Autom4te::General', 'main') called at
/usr/lib/perl5/5.6.1/Exporter.pm line 45

        Exporter::import('$debug', '$force', '$help',
'$me', '$tmp', '$verbose', '$version', '&backname', ...) called at
/bin/autoheader line 46

       
main::BEGIN() called at /mingw/share/autoconf/Autom4te/General.pm line
46

        eval
{...} called at /mingw/share/autoconf/Autom4te/General.pm line 46

Prototype mismatch: sub main::find_configure_ac (;@)
vs (;$) at /usr/lib/perl5/5.6.1/Exporter/Heavy.pm line 174

       
Exporter::heavy_export('Autom4te::General', 'main') called at
/usr/lib/perl5/5.6.1/Exporter.pm line 45

       
Exporter::import('$debug', '$force', '$help', '$me', '$tmp', '$verbose',
'$version', '&backname', ...) called at /bin/autoheader line 46

       
main::BEGIN() called at /mingw/share/autoconf/Autom4te/General.pm line
46

        eval
{...} called at /mingw/share/autoconf/Autom4te/General.pm line 46

Prototype mismatch: sub main::update_file ($$;$) vs
($$) at /usr/lib/perl5/5.6.1/Exporter/Heavy.pm line 174

       
Exporter::heavy_export('Autom4te::General', 'main') called at
/usr/lib/perl5/5.6.1/Exporter.pm line 45

       
Exporter::import('$debug', '$force', '$help', '$me', '$tmp', '$verbose',
'$version', '&backname', ...) called at /bin/autoheader line 46

       
main::BEGIN() called at /mingw/share/autoconf/Autom4te/General.pm line
46

        eval
{...} called at /mingw/share/autoconf/Autom4te/General.pm line 46

Prototype mismatch: sub main::xsystem (@) vs ($) at
/usr/lib/perl5/5.6.1/Exporter/Heavy.pm line 174

       
Exporter::heavy_export('Autom4te::General', 'main') called at
/usr/lib/perl5/5.6.1/Exporter.pm line 45

       
Exporter::import('$debug', '$force', '$help', '$me', '$tmp', '$verbose',
'$version', '&backname', ...) called at /bin/autoheader line 46

       
main::BEGIN() called at /mingw/share/autoconf/Autom4te/General.pm line
46

        eval
{...} called at /mingw/share/autoconf/Autom4te/General.pm line 46

Too many arguments for Autom4te::General::update_file
at /bin/autoheader line 287, near "$force)"

Execution of /bin/autoheader aborted due to
compilation errors.

 

Anyone have an idea about this problem ? 

Since I only need the log4cxx binaries,  I tried with the binaries compiled by 
VS
but they did not work with my project on IDE Code::Blocks. 
So I am looking
for the compiled binaries using gcc, do you know where I may get them ?



Thank you very much for your helps

VDung




      

Reply via email to