On Wed, 15 Dec 2004, Stas Bekman wrote: > sdfgsd sergserg wrote: > [...] > > /usr/src/mp2/xs/APR/Base64/APR__Base64.h: In function > > `MPXS_apr_base64_encode': > > /usr/src/mp2/xs/APR/Base64/APR__Base64.h:37: static > > symbol `MPXS_apr_base64_enco de' is marked dllexport
> Sorry, but I've never seen this kind of errors before. Any > chance you can find someone who groks cygwin > compiler/linker so they can help to resolve those? I'm not that familiar with cygwin, but if it means the same as with VC++, I think the problem is that the symbol is supposed to be static, but is marked with dllexport, meaning it will appear in a dll (shared library). Does the following patch change anything? ======================================================= Index: lib/Apache/Build.pm =================================================================== --- lib/Apache/Build.pm (revision 111688) +++ lib/Apache/Build.pm (working copy) @@ -31,13 +31,14 @@ use constant HPUX => $^O eq 'hpux'; use constant OPENBSD => $^O eq 'openbsd'; use constant WIN32 => $^O eq 'MSWin32'; +use constant CYGWIN => $^O eq 'cygwin'; use constant MSVC => WIN32() && ($Config{cc} eq 'cl'); use constant REQUIRE_ITHREADS => grep { $^O eq $_ } qw(MSWin32); use constant PERL_HAS_ITHREADS => $Config{useithreads} && ($Config{useithreads} eq 'define'); -use constant BUILD_APREXT => WIN32(); +use constant BUILD_APREXT => WIN32() || CYGWIN(); use ModPerl::Code (); use ModPerl::BuildOptions (); ============================================================= It will build the aprext lib as a static lib, like Win32. -- best regards, randy -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html