You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Dietmar H�hmann <DH...@punctum.de> on 1997/07/01 12:20:02 UTC

os-linux/806: Apache dosn't compile

>Number:         806
>Category:       os-linux
>Synopsis:       Apache dosn't compile
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Jul  1 03:20:02 1997
>Originator:     DH@punctum.de
>Organization:
apache
>Release:        1.2.0
>Environment:
RedHat Linux on Alpha AXP, 32MB Memory, GCC
Linux axp.punctum.de 2.0.18 #8 Tue Sep 24 21:42:37 MET DST 1996 alpha
>Description:
[root@axp src]# ./Configure
Using config file: Configuration
Using Makefile template file: Makefile.tmpl
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C compiler optimization-level to -O2
[root@axp src]# make
gcc -c -Iregex  -O2 -DLINUX=2   alloc.c
alloc.c: In function `fd_cleanup':
alloc.c:785: warning: cast from pointer to integer of different size
alloc.c: In function `note_cleanups_for_fd':
alloc.c:788: warning: cast to pointer from integer of different size
alloc.c: In function `kill_cleanups_for_fd':
alloc.c:793: warning: cast to pointer from integer of different size
alloc.c: In function `pclosef':
alloc.c:818: warning: cast to pointer from integer of different size
gcc -c -Iregex  -O2 -DLINUX=2   http_main.c
http_main.c: In function `setup_shared_mem':
http_main.c:726: `SHM_R' undeclared (first use this function)
http_main.c:726: (Each undeclared identifier is reported only once
http_main.c:726: for each function it appears in.)
http_main.c:726: `SHM_W' undeclared (first use this function)
http_main.c: In function `child_main':
http_main.c:1779: warning: passing arg 3 of `accept' from incompatible pointer t
ype
http_main.c:1824: warning: passing arg 3 of `getsockname' from incompatible poin
ter type
http_main.c: In function `main':
http_main.c:2428: warning: passing arg 3 of `getpeername' from incompatible poin
ter type
http_main.c:2436: warning: passing arg 3 of `getsockname' from incompatible poin
ter type
make: *** [http_main.o] Error 1
>How-To-Repeat:

>Fix:
Unfortunately, I'm not very familiar with GCC and it's option
>Audit-Trail:
>Unformatted: