You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/12/07 03:13:23 UTC

DO NOT REPLY [Bug 32552] New: - parse errors with os.c

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=32552>.
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=32552

           Summary: parse errors with os.c
           Product: Apache httpd-1.3
           Version: 1.3.31
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: florian.heigl@m4f.net


I'm sorry, but I can't make much out of this...

gcc version 3.3.2
I tested with apache-1.3.32, too, and I'm aware that 
this must somehow be related to the system, as others
have successfully built it on HP-UX 11.11, but I can't
guess what I should have done to it to make make break :)

OS version is HP-UX 11.11, 
and patch levels ought to be quite current.
  GOLDAPPS11i                   B.11.11.0406.5 Gold Applications Patches for
HP-UX 11i v1, June 2004
  GOLDBASE11i                   B.11.11.0406.5 Gold Base Patches for HP-UX 11i
v1, June 2004

$CC is set to /usr/local/bin/gcc
$MAKE is set to /usr/local/bin/gmake

# ./configure
Configuring for Apache, Version 1.3.33
 + 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
 + enabling mod_so for DSO support
Creating Makefile in src
 + configured for HP-UX 11 platform
 + setting C pre-processor to gcc -fpic -E
 + using "tr [a-z] [A-Z]" to uppercase
 + checking for system header files
 + adding selected modules
    o rewrite_module uses ConfigStart/End
      enabling DBM support for mod_rewrite
    o dbm_auth_module uses ConfigStart/End
 + using builtin Expat
 + checking sizeof various data types
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/proxy
# $MAKE
===> src
gmake[1]: Entering directory `/opt/tmp/apache-1.3.33'
gmake[2]: Entering directory `/opt/tmp/apache-1.3.33/src'
===> src/regex
gmake[3]: Nothing to be done for `all'.
<=== src/regex
===> src/os/unix
gcc -fpic -c  -I../../os/unix -I../../include   -DHPUX11 -DUSE_HSREGEX
-DUSE_EXPAT -I../../lib/expat-lite -O `../../apaci` os.c
In file included from ../../include/ap_config.h:1064,
                 from os.c:21:
/usr/include/sys/socket.h:483: error: parse error before "sendfile"
/usr/include/sys/socket.h:483: error: parse error before "bsize_t"
/usr/include/sys/socket.h:485: error: parse error before "sendpath"
/usr/include/sys/socket.h:485: error: parse error before "bsize_t"
gmake[3]: *** [os.o] Error 1
gmake[2]: *** [subdirs] Error 1
gmake[2]: Leaving directory `/opt/tmp/apache-1.3.33/src'
gmake[1]: *** [build-std] Error 2
gmake[1]: Leaving directory `/opt/tmp/apache-1.3.33'
gmake: *** [build] Error 2

config.status contains:
#!/bin/sh
##
##  config.status -- APACI auto-generated configuration restore script
##
##  Use this shell script to re-run the APACI configure script for
##  restoring your configuration. Additional parameters can be supplied.
##

CC="/usr/local/bin/gcc" \
./configure \
"--with-layout=Apache" \
"$@"


I'd be very thankful for any hints, as there are no obvious errors 
during configure, I have no idea where to search on.

I set it to lowest priority as I've got a precompiled binary which 
does the trick for now; unfortunately I need to link in mod_dca which
doesn't play with apxs.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org