httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Eross" <eros...@chasma.net>
Subject Apache 2.0.39 Compile Problem (FreeBSD 4.3; Apache Hates Me)
Date Thu, 20 Jun 2002 16:29:15 GMT
Hi there,

I'm compiling Apache 2.0.39 on a FreeBSD 4.3 box using gcc 2.95.3 ...

My config line is
./configure --prefix=/usr/local/www --enable-ssl --enable-so

Then during make I get this:

Making all in unix
/usr/local/bin/bash /usr/local/nfs/apache/httpd-2.0.39/srclib/apr/libtool --silent --mode=compile
gcc  -g -O2    -D_REENTRANT -D_THREAD_SAFE -DAP_HAVE_DESIGNATED_INITIALIZER   -I/usr/local/nfs/apache/httpd-2.0.39/srclib/apr/include
-I/usr/local/nfs/apache/httpd-2.0.39/srclib/apr-util/include -I/usr/local/include -I. -I/usr/local/nfs/apache/httpd-2.0.39/os/unix
-I/usr/local/nfs/apache/httpd-2.0.39/server/mpm/prefork -I/usr/local/nfs/apache/httpd-2.0.39/modules/http
-I/usr/local/nfs/apache/httpd-2.0.39/modules/filters -I/usr/local/nfs/apache/httpd-2.0.39/modules/proxy
-I/usr/local/nfs/apache/httpd-2.0.39/include -I/usr/include/openssl -I/usr/local/nfs/apache/httpd-2.0.39/modules/dav/main
-prefer-non-pic -static -c unixd.c && touch unixd.lo
In file included from unixd.h:64,
                 from unixd.c:65:
/usr/local/nfs/apache/httpd-2.0.39/include/ap_listen.h:100: syntax error before `extern'
In file included from unixd.c:65:
unixd.h:91: syntax error before `get_suexec_identity'
unixd.h:111: syntax error before `extern'
unixd.h:113: syntax error before `unixd_setup_child'
unixd.h:113: warning: data definition has no type or storage class
unixd.h:114: syntax error before `unixd_pre_config'
unixd.h:114: warning: data definition has no type or storage class
unixd.h:115: syntax error before `unixd_set_user'
unixd.h:116: warning: data definition has no type or storage class
unixd.h:117: syntax error before `unixd_set_group'
unixd.h:118: warning: data definition has no type or storage class
unixd.h:120: syntax error before `unixd_set_rlimit'
unixd.h:121: warning: data definition has no type or storage class
unixd.h:123: syntax error before `unixd_set_proc_mutex_perms'
unixd.h:123: warning: data definition has no type or storage class
unixd.h:124: syntax error before `unixd_set_global_mutex_perms'
unixd.h:124: warning: data definition has no type or storage class
unixd.h:125: syntax error before `unixd_accept'
unixd.h:125: warning: data definition has no type or storage class
In file included from unixd.c:66:
/usr/local/nfs/apache/httpd-2.0.39/include/mpm_common.h:193: syntax error before `ap_mpm_pod_open'
/usr/local/nfs/apache/httpd-2.0.39/include/mpm_common.h:193: warning: data definition has
no type or storage class
/usr/local/nfs/apache/httpd-2.0.39/include/mpm_common.h:198: syntax error before `ap_mpm_pod_check'
/usr/local/nfs/apache/httpd-2.0.39/include/mpm_common.h:198: warning: data definition has
no type or storage class
/usr/local/nfs/apache/httpd-2.0.39/include/mpm_common.h:203: syntax error before `ap_mpm_pod_close'
/usr/local/nfs/apache/httpd-2.0.39/include/mpm_common.h:203: warning: data definition has
no type or storage class
/usr/local/nfs/apache/httpd-2.0.39/include/mpm_common.h:210: syntax error before `ap_mpm_pod_signal'
/usr/local/nfs/apache/httpd-2.0.39/include/mpm_common.h:210: warning: data definition has
no type or storage class
/usr/local/nfs/apache/httpd-2.0.39/include/mpm_common.h:218: syntax error before `ap_mpm_pod_killpg'
/usr/local/nfs/apache/httpd-2.0.39/include/mpm_common.h:218: warning: data definition has
no type or storage class
/usr/local/nfs/apache/httpd-2.0.39/include/mpm_common.h:285: syntax error before `*'
In file included from unixd.c:68:
/usr/local/nfs/apache/httpd-2.0.39/include/ap_mpm.h:120: syntax error before `ap_mpm_run'
/usr/local/nfs/apache/httpd-2.0.39/include/ap_mpm.h:120: warning: data definition has no type
or storage class
/usr/local/nfs/apache/httpd-2.0.39/include/ap_mpm.h:128: syntax error before `ap_graceful_stop_signalled'
/usr/local/nfs/apache/httpd-2.0.39/include/ap_mpm.h:128: warning: data definition has no type
or storage class
/usr/local/nfs/apache/httpd-2.0.39/include/ap_mpm.h:143: syntax error before `ap_os_create_privileged_process'
/usr/local/nfs/apache/httpd-2.0.39/include/ap_mpm.h:150: warning: data definition has no type
or storage class
/usr/local/nfs/apache/httpd-2.0.39/include/ap_mpm.h:184: syntax error before `ap_mpm_query'
/usr/local/nfs/apache/httpd-2.0.39/include/ap_mpm.h:184: warning: data definition has no type
or storage class
unixd.c: In function `set_group_privs':
unixd.c:117: warning: passing arg 4 of `ap_log_error' makes pointer from integer without a
cast
unixd.c:136: warning: passing arg 4 of `ap_log_error' makes pointer from integer without a
cast
unixd.c:145: warning: passing arg 4 of `ap_log_error' makes pointer from integer without a
cast
unixd.c: At top level:
unixd.c:154: syntax error before `unixd_setup_child'
unixd.c: In function `unixd_setup_child':
unixd.c:181: warning: passing arg 4 of `ap_log_error' makes pointer from integer without a
cast
unixd.c: At top level:
unixd.c:189: syntax error before `unixd_set_user'
unixd.c: In function `unixd_set_user':
unixd.c:194: warning: return makes integer from pointer without a cast
unixd.c:209: warning: return makes integer from pointer without a cast
unixd.c: At top level:
unixd.c:216: syntax error before `unixd_set_group'
unixd.c: In function `unixd_set_group':
unixd.c:221: warning: return makes integer from pointer without a cast
unixd.c: At top level:
unixd.c:229: syntax error before `unixd_pre_config'
unixd.c:251: syntax error before `unixd_set_rlimit'
unixd.c: In function `unixd_set_rlimit':
unixd.c:261: warning: passing arg 1 of `apr_palloc' from incompatible pointer type
unixd.c:266: warning: passing arg 4 of `ap_log_error' makes pointer from integer without a
cast
unixd.c:266: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
unixd.c:280: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
unixd.c:293: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
unixd.c: At top level:
unixd.c:315: syntax error before `get_suexec_identity'
unixd.c:316: syntax error before `0'
unixd.c:330: syntax error before `if'
*** Error code 1

Stop in /usr/local/nfs/apache/httpd-2.0.39/os/unix.
*** Error code 1

Stop in /usr/local/nfs/apache/httpd-2.0.39/os/unix.
*** Error code 1

Stop in /usr/local/nfs/apache/httpd-2.0.39/os.
*** Error code 1

Stop in /usr/local/nfs/apache/httpd-2.0.39.


Would anyone be so kind as to shed some light on my problem?

Thank you,
Andrew Eross
Chasma, Inc

Mime
View raw message