DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28443>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28443 couldn't compile apache on freebsd 5.2.1 Summary: couldn't compile apache on freebsd 5.2.1 Product: Apache httpd-1.3 Version: 1.3.29 Platform: PC OS/Version: FreeBSD Status: NEW Severity: Normal Priority: Other Component: Build AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Hello, I can't build apache from .tar.gz. The same is from FreeBSD's ports. # uname -r 5.2.1-RELEASE-p3 Here is full output. Sorry for length, but errors are from the begin. I runs ./configure without any params to make it clear. I tried to run ./configure with correct params for freebsd and also with freebsd patchs (port: /usr/ports/www/apache13) but it has the same errors. Thanks for help, JG quote: apache_1.3.29# ./configure Configuring for Apache, Version 1.3.29 + Warning: Configuring Apache with default settings. + This is probably not what you really want. + Please read the README.configure and INSTALL files + first or at least run './configure --help' for + a compact summary of available options. + using installation path layout: Apache (config.layout) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for FreeBSD 5.2.1 platform + setting C compiler to gcc + setting C pre-processor to gcc -E + using "tr [a-z] [A-Z]" to uppercase + checking for system header files + adding selected modules + using system Expat + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src/modules/standard apache_1.3.29# make ===> src ===> src/os/unix gcc -c -I../../os/unix -I../../include -funsigned-char -DNO_DL_NEEDED `../../apaci` os.c In file included from ../../include/ap_config.h:77, from os.c:6: ../../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name gcc -c -I../../os/unix -I../../include -funsigned-char -DNO_DL_NEEDED `../../apaci` os-inline.c In file included from ../../include/ap_config.h:77, from os-inline.c:24: ../../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name rm -f libos.a ar cr libos.a os.o os-inline.o ranlib libos.a <=== src/os/unix ===> src/ap gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` ap_cpystrn.c In file included from ../include/ap_config.h:77, from ../include/httpd.h:72, from ap_cpystrn.c:59: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` ap_execve.c In file included from ../include/ap_config.h:77, from ../include/httpd.h:72, from ap_execve.c:94: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` ap_fnmatch.c In file included from ../include/ap_config.h:77, from ap_fnmatch.c:46: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` ap_getpass.c In file included from ../include/ap_config.h:77, from ap_getpass.c:65: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name ap_getpass.c: In function `ap_getpass': ap_getpass.c:191: warning: assignment makes pointer from integer without a cast gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` ap_md5c.c In file included from ../include/ap_config.h:77, from ap_md5c.c:105: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` ap_signal.c In file included from ../include/ap_config.h:77, from ../include/httpd.h:72, from ap_signal.c:59: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` ap_slack.c In file included from ../include/ap_config.h:77, from ../include/httpd.h:72, from ap_slack.c:67: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` ap_snprintf.c In file included from ../include/ap_config.h:77, from ../include/httpd.h:72, from ap_snprintf.c:65: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` ap_sha1.c In file included from ../include/ap_config.h:77, from ap_sha1.c:92: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` ap_checkpass.c In file included from ../include/ap_config.h:77, from ap_checkpass.c:66: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` ap_base64.c In file included from ../include/ap_config.h:77, from ap_base64.c:67: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` ap_ebcdic.c In file included from ../include/ap_config.h:77, from ../include/httpd.h:72, from ap_ebcdic.c:55: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` ap_strtol.c In file included from ../include/ap_config.h:77, from ../include/httpd.h:72, from ap_strtol.c:91: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name rm -f libap.a ar cr libap.a ap_cpystrn.o ap_execve.o ap_fnmatch.o ap_getpass.o ap_md5c.o ap_signal.o ap_slack.o ap_snprintf.o ap_sha1.o ap_checkpass.o ap_base64.o ap_ebcdic.o ap_strtol.o ranlib libap.a <=== src/ap ===> src/main gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` gen_test_char.c In file included from ../include/ap_config.h:77, from ../include/httpd.h:72, from gen_test_char.c:2: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name gcc -funsigned-char -DNO_DL_NEEDED `../apaci` -o gen_test_char gen_test_char.o -lcrypt -lexpat ./gen_test_char >test_char.h gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` gen_uri_delims.c gcc -funsigned-char -DNO_DL_NEEDED `../apaci` -o gen_uri_delims gen_uri_delims.o -lcrypt -lexpat ./gen_uri_delims >uri_delims.h gcc -c -I../os/unix -I../include -funsigned-char -DNO_DL_NEEDED `../apaci` alloc.c In file included from ../include/ap_config.h:77, from ../include/httpd.h:72, from alloc.c:66: ../include/ap_config_auto.h:20:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name ../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive ../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive ../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive ../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name alloc.c: In function `spawn_child_core': alloc.c:2452: error: `STDOUT_FILENO' undeclared (first use in this function) alloc.c:2452: error: (Each undeclared identifier is reported only once alloc.c:2452: error: for each function it appears in.) alloc.c:2458: error: `STDIN_FILENO' undeclared (first use in this function) alloc.c:2464: error: `STDERR_FILENO' undeclared (first use in this function) *** Error code 1 Stop in /root/a/apache_1.3.29/src/main. *** Error code 1 Stop in /root/a/apache_1.3.29/src. *** Error code 1 Stop in /root/a/apache_1.3.29. *** Error code 1 Stop in /root/a/apache_1.3.29. apache_1.3.29# --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
