You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by NormW <no...@bocnet.com.au> on 2004/09/23 23:39:01 UTC
DWORD_MAX
Good morning All,
Just trying a build of Apache2.1 from CVS on Windows for the NetWare
platform, and get the following:
Compiling file_io/unix/seek.c
Compiling network_io/win32/sendrecv.c
### mwccnlm Compiler:
# File: network_io\win32\sendrecv.c
# ------------------------------------
# 110: while (cur_len > DWORD_MAX) {
# Error: ^^^^^^^^^
# undefined identifier 'DWORD_MAX'
### mwccnlm Compiler:
# 112: cur_len -= DWORD_MAX;
# Error: ^^^^^^^^^
# undefined identifier 'DWORD_MAX'
### mwccnlm Compiler:
# 126: if (cur_len > DWORD_MAX) {
# Error: ^^^^^^^^^
# undefined identifier 'DWORD_MAX'
### mwccnlm Compiler:
# 128: pWsaBuf[j].len = DWORD_MAX;
# Error: ^^^^^^^^^
# undefined identifier 'DWORD_MAX'
### mwccnlm Compiler:
# 129: cur_len -= DWORD_MAX;
# Error: ^^^^^^^^^
# undefined identifier 'DWORD_MAX'
### mwccnlm Compiler:
# 130: base += DWORD_MAX;
# Error: ^^^^^^^^^
# undefined identifier 'DWORD_MAX'
Errors caused tool to abort.
make[1]: *** [Release/sendrecv.o] Error 1
make: *** [srclib\apr] Error 2
Can't recall if there is supposed to be a win32 bit in the NetWare build,
but perhaps the #define DWORD_MAX should be used in other apr.h? variants?
Ran a 'clean' from the top NWGNUmakefile and repeated the build and still
get this problem.
Norm
Re: DWORD_MAX
Posted by Allan Edwards <ak...@us.ibm.com>.
NormW wrote:
> Compiling network_io/win32/sendrecv.c
> ### mwccnlm Compiler:
> # File: network_io\win32\sendrecv.c
> # ------------------------------------
> # 110: while (cur_len > DWORD_MAX) {
> # Error: ^^^^^^^^^
> # undefined identifier 'DWORD_MAX'
That would be my recent update and I assume it
means that the definition for DWORD_MAX needs to
be copied from apr.hw to apr.hnw. Could someone from
the NW side please confirm that is the correct thing
to do & I will update it.
Thanks, Allan
Re: DWORD_MAX
Posted by Jeff Trawick <tr...@gmail.com>.
On Fri, 24 Sep 2004 07:39:01 +1000, NormW <no...@bocnet.com.au> wrote:
> Good morning All,
> Just trying a build of Apache2.1 from CVS on Windows for the NetWare
> platform, and get the following:
>
> # File: network_io\win32\sendrecv.c
> # ------------------------------------
> # 110: while (cur_len > DWORD_MAX) {
...
> Can't recall if there is supposed to be a win32 bit in the NetWare build,
well, that bit ;)
> but perhaps the #define DWORD_MAX should be used in other apr.h? variants?
hack in a big value for DWORD_MAX in apr.nw such as
#define DWORD_MAX (2147483647)
until the smart people figure out what the real fix is