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...@gknw.net> on 2011/01/21 04:21:13 UTC

FYI - httpd-trunk build errors

Greetings All,
Following updates yesterday httpd trunk (for NetWare folks anyway) has a 
few 'problems':

>> Calling NWGNUproxybalancer
>> Compiling mod_proxy_balancer.c
>> ### mwccnlm Compiler:
>> #    File: mod_proxy_balancer.c
>> # -----------------------------
>> #     739:              ap_pstr2_alnum(pconf, balancer->name, &balancer->sname);
>> #   Error:                                                                    ^
>> #   illegal implicit conversion from 'const char **' to
>> #   'char **'


>> Calling NWGNUslotmem_plain
>> Generating obj_release\slotmem_plain_cc.opt
>> Compiling mod_slotmem_plain.c
>> ### mwccnlm Compiler:
>> #    File: mod_slotmem_plain.c
>> # ----------------------------
>> #      61:          ptr += mem->size;
>> #   Error:                          ^
>> #   illegal type
>> ### mwccnlm Compiler:
>> #     110:      res->inuse = res->base + basesize;
>> #   Error:                                       ^
>> #   illegal type
>> ### mwccnlm Compiler:
>> #     159:      ptr = score->base + score->size * id;
>> #   Error:                                          ^
>> #   illegal type

>> Calling NWGNUslotmem_shm
>> Generating obj_release\slotmem_shm_cc.opt
>> Compiling mod_slotmem_shm.c
>> ### mwccnlm Compiler:
>> #    File: mod_slotmem_shm.c
>> # --------------------------
>> #     240:          ptr += mem->desc.size;
>> #   Error:                               ^
>> #   illegal type
>> ### mwccnlm Compiler:
>> #     310:          ptr = ptr + AP_SLOTMEM_OFFSET;
>> #   Error:                                       ^
>> #   illegal type
>> ### mwccnlm Compiler:
>> #     338:          ptr = ptr + AP_SLOTMEM_OFFSET;
>> #   Error:                                       ^
>> #   illegal type
>> ### mwccnlm Compiler:
>> #     357:      res->inuse = ptr + basesize;
>> #   Error:                                 ^
>> #   illegal type
>> ### mwccnlm Compiler:
>> #     423:      ptr = ptr + AP_SLOTMEM_OFFSET;
>> #   Error:                                   ^
>> #   illegal type
>> ### mwccnlm Compiler:
>> #     433:      res->inuse = ptr + (desc.size * desc.num);
>> #   Error:                                               ^
>> #   illegal type
>> ### mwccnlm Compiler:
>> #     460:      ptr = slot->base + slot->desc.size * id;
>> #   Error:                                             ^
>> #   illegal type
>>

Norm

Re: FYI - httpd-trunk build errors

Posted by Stefan Fritsch <sf...@sfritsch.de>.
On Fri, 21 Jan 2011, NormW wrote:

> Greetings All,
> Following updates yesterday httpd trunk (for NetWare folks anyway) has a few 
> 'problems':
>
>>> Calling NWGNUproxybalancer
>>> Compiling mod_proxy_balancer.c
>>> ### mwccnlm Compiler:
>>> #    File: mod_proxy_balancer.c
>>> # -----------------------------
>>> #     739:              ap_pstr2_alnum(pconf, balancer->name, 
>>> &balancer->sname);
>>> #   Error: 
>>> ^
>>> #   illegal implicit conversion from 'const char **' to
>>> #   'char **'

This one is fixed in r1061695

I haven't looked at the slotmem issues.

Re: FYI - httpd-trunk build errors

Posted by Jim Jagielski <ji...@jaguNET.com>.
On Jan 20, 2011, at 10:21 PM, NormW wrote:

> Greetings All,
> Following updates yesterday httpd trunk (for NetWare folks anyway) has a few 'problems':
> 
>>> Calling NWGNUproxybalancer
>>> Compiling mod_proxy_balancer.c
>>> ### mwccnlm Compiler:
>>> #    File: mod_proxy_balancer.c
>>> # -----------------------------
>>> #     739:              ap_pstr2_alnum(pconf, balancer->name, &balancer->sname);
>>> #   Error:                                                                    ^
>>> #   illegal implicit conversion from 'const char **' to
>>> #   'char **'
> 
> 

Most likely makes sense to change ap_pstr2_alnum to accept const char**

>>> Calling NWGNUslotmem_plain
>>> Generating obj_release\slotmem_plain_cc.opt
>>> Compiling mod_slotmem_plain.c
>>> ### mwccnlm Compiler:
>>> #    File: mod_slotmem_plain.c
>>> # ----------------------------
>>> #      61:          ptr += mem->size;
>>> #   Error:                          ^
>>> #   illegal type
>>> ### mwccnlm Compiler:
>>> #     110:      res->inuse = res->base + basesize;
>>> #   Error:                                       ^
>>> #   illegal type
>>> ### mwccnlm Compiler:
>>> #     159:      ptr = score->base + score->size * id;
>>> #   Error:                                          ^
>>> #   illegal type
> 

Hmm... Does NW only allow pointer offsets to be int???