www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Witmer <Robert.C.Wit...@L-3com.com>
Subject os-solaris/2935: Can't compile under SunOS 5.6 but does under 5.5.1.
Date Mon, 31 Aug 1998 23:55:04 GMT

>Number:         2935
>Category:       os-solaris
>Synopsis:       Can't compile under SunOS 5.6 but does under 5.5.1.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Mon Aug 31 18:10:01 PDT 1998
>Last-Modified:
>Originator:     Robert.C.Witmer@L-3com.com
>Organization:
apache
>Release:        1.3.1
>Environment:
SunOS oursun 5.6 Generic_105181-03 sun4u sparc SUNW,Ultra-5_10
>Description:

This is the 5.6 machine:

110 /apache_1.3.1% ./configure --prefix=/home/browser
Configuring for Apache, Version 1.3.1
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Solaris 260 platform
 + setting C compiler to gcc
 + adding selected modules
 + checking for system header files
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/main
Creating Makefile in src/ap
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/modules/standard
111 /apache_1.3.1% which make
/usr/ccs/bin/make
112 /apache_1.3.1% make
===> src
===> src/os/unix
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=260 `../../apaci` os.c
In file included from ../../include/ap_config.h:94,
                 from os.c:6:
/software/gnu/gcc/2.7.2/sun4os5/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/sys/param.h:185:
warning: `NBBY' redefined
/usr/include/sys/select.h:45: warning: this is the location of the previous definition
In file included from /usr/include/sys/stream.h:26,
                 from /usr/include/netinet/in.h:38,
                 from ../../include/ap_config.h:858,
                 from os.c:6:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*** Error code 1
make: Fatal error: Command failed for target `os.o'
Current working directory /apache_1.3.1/src/os/unix
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /apache_1.3.1/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /apache_1.3.1
*** Error code 1
make: Fatal error: Command failed for target `build'





But under a machine with SunOS 5.5.1 it compiles just fine.

7 /apache_1.3.1% ./configure --prefix=/home/browser
Configuring for Apache, Version 1.3.1
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Solaris 251 platform
 + setting C compiler to gcc
 + adding selected modules
 + checking for system header files
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/main
Creating Makefile in src/ap
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/modules/standard

5 /apache_1.3.1% which make
/usr/ccs/bin/make
6 /apache_1.3.1% make
===> src
===> src/os/unix
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` os.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` os-inline.c
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   -DSOLARIS2=251 `../apaci` ap_execve.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` ap_cpystrn.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` ap_signal.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` ap_slack.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` ap_snprintf.c
rm -f libap.a
ar cr libap.a ap_execve.o ap_cpystrn.o ap_signal.o  ap_slack.o ap_snprintf.o
ranlib libap.a
<=== src/ap
===> src/main
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` gen_test_char.c
gcc  -DSOLARIS2=251 `../apaci`   -o gen_test_char gen_test_char.o  -lsocket -lnsl
./gen_test_char >test_char.h
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` gen_uri_delims.c
gcc  -DSOLARIS2=251 `../apaci`   -o gen_uri_delims gen_uri_delims.o  -lsocket -lnsl
./gen_uri_delims >uri_delims.h
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` alloc.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` buff.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` http_config.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` http_core.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` http_log.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` http_main.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` http_protocol.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` http_request.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` http_vhost.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` util.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` util_date.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` util_script.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` util_uri.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` util_md5.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` md5c.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` rfc1413.c
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` fnmatch.c
rm -f libmain.a
ar cr libmain.a alloc.o buff.o  http_config.o http_core.o http_log.o  http_main.o http_protocol.o
http_request.o http_vhost.o  util.o util_date.o util_script.o util_uri.o util_md5.o  md5c.o
rfc1413.o fnmatch.o
ranlib libmain.a
<=== src/main
===> src/modules
===> src/modules/standard
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_env.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_log_config.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_mime.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_negotiation.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_include.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_autoindex.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_dir.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_cgi.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_asis.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_imap.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_actions.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_userdir.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_alias.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_access.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_auth.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=251 `../../apaci` mod_setenvif.c
rm -f libstandard.a
ar cr libstandard.a mod_env.o mod_log_config.o mod_mime.o mod_negotiation.o mod_include.o
mod_autoindex.o mod_dir.o mod_cgi.o mod_asis.o mod_imap.o mod_actions.o mod_userdir.o mod_alias.o
mod_access.o mod_auth.o mod_setenvif.o
ranlib libstandard.a
<=== src/modules/standard
<=== src/modules
gcc -c  -I./os/unix -I./include   -DSOLARIS2=251 `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DSOLARIS2=251 `./apaci` buildmark.c
gcc  -DSOLARIS2=251 `./apaci`    \
      -o httpd buildmark.o modules.o  modules/standard/libstandard.a  main/libmain.a  ./os/unix/libos.a
 ap/libap.a   -lsocket -lnsl
===> src/support
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` htpasswd.c
gcc  -DSOLARIS2=251 `../apaci` htpasswd.o -o htpasswd   -L../ap -lap  -lsocket -lnsl
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` htdigest.c
gcc  -DSOLARIS2=251 `../apaci` htdigest.o -o htdigest   -L../ap -lap  -lsocket -lnsl
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` rotatelogs.c
gcc  -DSOLARIS2=251 `../apaci` rotatelogs.o -o rotatelogs   -L../ap -lap  -lsocket -lnsl
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` logresolve.c
gcc  -DSOLARIS2=251 `../apaci` logresolve.o -o logresolve   -L../ap -lap  -lsocket -lnsl
gcc -c  -I../os/unix -I../include   -DSOLARIS2=251 `../apaci` ab.c
gcc  -DSOLARIS2=251 `../apaci` ab.o -o ab   -L../ap -lap  -lsocket -lnsl
sed <apxs.pl >apxs \
    -e 's%@CC@%gcc%g' \
    -e 's%@LD_SHLIB@%%g' \
    -e 's%@CFLAGS@% -DSOLARIS2=251 `../apaci`%g' \
    -e 's%@CFLAGS_SHLIB@%%g' \
    -e 's%@LDFLAGS_SHLIB@%%g' && chmod a+x apxs
<=== src/support
<=== src
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]




Mime
View raw message