apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Novy <n...@feld.cvut.cz>
Subject GNU build of Apache 2.0 for NetWare - apr fixes
Date Tue, 11 Dec 2001 15:48:48 GMT
Brad, here are some apr related fixes to make GNU utilities (gcc, 
nlmconv) on Linux and on Win32(Cygwin) and (Open)Watcom happy.

apr.hnw.patch:
--------------
../srclib/apr/time/unix/time.c: In function `apr_ansi_time_to_apr_time':
../srclib/apr/time/unix/time.c:103: invalid suffix on integer constant
../srclib/apr/time/unix/time.c: In function `explode_time':
../srclib/apr/time/unix/time.c:126: invalid suffix on integer constant
../srclib/apr/time/unix/time.c:127: invalid suffix on integer constant
../srclib/apr/time/unix/time.c: In function `apr_implode_time':
../srclib/apr/time/unix/time.c:204: invalid suffix on integer constant
../srclib/apr/time/unix/time.c: In function `apr_implode_gmt':
../srclib/apr/time/unix/time.c:212: invalid suffix on integer constant
../srclib/apr/time/unix/time.c: In function `apr_os_imp_time_get':
../srclib/apr/time/unix/time.c:219: invalid suffix on integer constant
../srclib/apr/time/unix/time.c:220: invalid suffix on integer constant
../srclib/apr/time/unix/time.c: In function `apr_os_imp_time_put':
../srclib/apr/time/unix/time.c:247: invalid suffix on integer constant
../srclib/apr/time/unix/time.c: In function `apr_unix_setup_time':
../srclib/apr/time/unix/time.c:339: warning: implicit declaration of
function `gettimeofday'
MAKE: *** [../srclib/apr/time/unix/time.o] Error 1

In file included from
../../srclib/apr/include/arch/netware/apr_private.h:69,
                   from ../../srclib/apr/include/arch/netware/dso.h:58,

                   from ../../srclib/apr/dso/netware/dso.c:55:

../../srclib/apr/include/apr.h:90: WS2NLM.h: No such file or directory

make: *** [../../srclib/apr/dso/netware/dso.d] Error 1


Note: #define APR_INT64_C(val) (val##i64) - if it is really needed by
CodeWarrior, I suggest to use some #ifdef conditional directive here. 
Watcom is also not familiar with this changed definition of APR_INT64_C().

apr_general.h.patch:
--------------------
Watcom C32 Optimizing Compiler  Version 11.0c

Copyright by Sybase, Inc., and its subsidiaries, 1984, 2000.

All rights reserved.  Watcom is a trademark of Sybase, Inc.

..\..\srclib\apr\include\apr_general.h(87): Error! E1100: Definition of
macro 'MAXIMUM_WAIT_OBJECTS' not identical to previous definition

Note: Warning only generated by gcc.

networkio.h.patch:
--------------------------------------------
In file included from ../../srclib/apr/network_io/unix/inet_pton.c:18:

../../srclib/apr/include/arch/netware/networkio.h:62:
..\win32\networkio.h: No such file or directory

make: *** [../../srclib/apr/network_io/unix/inet_pton.d] Error 1

thread.c.patch:
---------------
../../srclib/apr/threadproc/netware/thread.c: In function
`apr_thread_create':
../../srclib/apr/threadproc/netware/thread.c:113: warning: repeated `0'
flag in
format

../../srclib/apr/threadproc/netware/thread.c:113: warning: repeated `0'
flag in
format

../../srclib/apr/threadproc/netware/thread.c:113: warning: long int
format, int
arg (arg 3)


Note: It's only warning, not a critical problem.

time.c.patch:
-------------
.../nlmstuff/bin/nlmconv.exe: warning: symbol gettimeofday imported but
not in import list

Thanks,
Pavel

Mime
View raw message