sshutdownow / mod-myvhost

Automatically exported from code.google.com/p/mod-myvhost
Apache License 2.0
5 stars 5 forks source link

Build on x64 rc=65536 #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. activeperl installed
2. ppm install mingw64
3. apxs configured c:/server and server_apache.exe
4. apxs build/config_vars.mk
5. apxs.bat line 120 and 128 repaired $[
6. and this error message with
   - Apache HTTP Server 2.2.11.0
   - Apache Portable Runtime Utility Library 1.3.4.0

-----------------------------------------------------

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>cd c:\server\www\mod_myvhost

C:\server\www\mod_myvhost>mingw32-make
apxs -c -Wc,-W -Wc,-Wall -DDEBUG -DWITH_PHP  mod_myvhost.c mod_myvhost_cache.c
C:\Perl64\site\bin\gcc.exe  /nologo /MD /W3 /O2 /D WIN32 /D _WINDOWS /D NDEBUG
  -I"C:\server\include" -W -Wall  /D "DEBUG"  /D "WITH_PHP"  /c /Fomod_myvhost.l
o mod_myvhost.c
gcc.exe: /nologo: No such file or directory
gcc.exe: /MD: No such file or directory
gcc.exe: /W3: No such file or directory
gcc.exe: /O2: No such file or directory
gcc.exe: /D: No such file or directory
gcc.exe: WIN32: No such file or directory
gcc.exe: /D: No such file or directory
gcc.exe: _WINDOWS: No such file or directory
gcc.exe: /D: No such file or directory
gcc.exe: NDEBUG: No such file or directory
gcc.exe: /D: No such file or directory
gcc.exe: DEBUG: No such file or directory
gcc.exe: /D: No such file or directory
gcc.exe: WITH_PHP: No such file or directory
gcc.exe: /c: No such file or directory
gcc.exe: /Fomod_myvhost.lo: No such file or directory
In file included from C:\server\include/apr_strings.h:48:0,
                 from myvhost_include.h:26,
                 from mod_myvhost.c:27:
C:\server\include/apr.h:57:0: warning: ignoring #pragma warning
In file included from C:\server\include/apr_pools.h:39:0,
                 from C:\server\include/apr_strings.h:50,
                 from myvhost_include.h:26,
                 from mod_myvhost.c:27:
C:\server\include/apr_general.h:118:0: warning: "strcasecmp" redefined
c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../.
./x86_64-w64-mingw32/include/string.h:106:0: note: this is the location of the p
revious definition
C:\server\include/apr_general.h:124:0: warning: "strncasecmp" redefined
c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../.
./x86_64-w64-mingw32/include/string.h:105:0: note: this is the location of the p
revious definition
mod_myvhost.c: In function 'myvhost_translate_name':
mod_myvhost.c:470:22: warning: assignment from incompatible pointer type
mod_myvhost.c:473:29: warning: assignment discards qualifiers from pointer targe
t type
mod_myvhost.c: At top level:
mod_myvhost.c:581:5: warning: missing initializer
mod_myvhost.c:581:5: warning: (near initialization for 'cmds[1].func')
apxs:Error: Command failed with rc=65536
.
mingw32-make: *** [mod_myvhost.so] Error 1

C:\server\www\mod_myvhost>

Original issue reported on code.google.com by downhill01@gmail.com on 23 Oct 2012 at 9:23