https://issues.apache.org/bugzilla/show_bug.cgi?id=46475
Summary: build warnings.
Product: Apache httpd-2
Version: 2.2.11
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: [email protected]
ReportedBy: [email protected]
Hello,
I am trying to build apache 2.2.11 from the source code and receiving few
warnings. I an using sun studio express for cross compiling.
env variables:
PATH=./:/opt/java/bin:/opt/SUNWspro/bin:/opt/SUNWspro/sfw/bin:/usr/local/bin:/usr/ccs/bin:/export/home/apache22/bin:/export/home/apache22/build:/usr/sfw/share/aclocal/bin:/opt/dps/bin:/opt/dps/sbin:/usr/bin:/bin:/usr/ucb:/usr/local/bin:/usr/local/sbin:/usr/local/cox/bin:/usr/local/cox/sbin:/usr/sbin:/sbin:/usr/X11/bin:/usr/dt/bin:/usr/openwin/bin:/usr/sfw/bin:/usr/sfw/sbin:/opt/csw/bin:/opt/csw/sbin:/opt/sfw/bin:/opt/sfw/sbin:/usr/platform/SUNW,Sun-Fire-T1000/sbin
compiler options:
CC="cc -g -fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns -fsimple
-xprefetch -xrestrict -xa
lias_level=std -xipo -xpagesize=64K -D_REENTRANT -lpthread" CFLAGS="-xO5
-xlibmil -xdepend" CXXFLAGS="-xO5 -xlibmil" CCFLAGS="-xM1"
./configure --prefix=/export/home/apache/ --with-included-apr --with-port=80
--with-mpm=worker --enable-thread --enable-modules=al
l --enable-mods-shared=most --enable-so --enable-laguages=c,c++; make
Warning received while executing configure script.
checking for netinet/in.h... yes
checking netinet/sctp.h usability... no
checking netinet/sctp.h presence... yes
configure: WARNING: netinet/sctp.h: present but cannot be compiled
configure: WARNING: netinet/sctp.h: check for missing prerequisite headers?
configure: WARNING: netinet/sctp.h: see the Autoconf documentation
configure: WARNING: netinet/sctp.h: section "Present But Cannot Be
Compiled"
configure: WARNING: netinet/sctp.h: proceeding with the preprocessor's result
configure: WARNING: netinet/sctp.h: in the future, the compiler will take
precedence
checking for netinet/sctp.h... yes
checking netinet/sctp_uio.h usability... no
checking netinet/sctp_uio.h presence... no
checking for netinet/sctp_uio.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir
setting
config.status: creating lib/Makefile
config.status: WARNING: 'lib/Makefile.in' seems to ignore the --datarootdir
setting
config.status: creating lib/expat.h
config.status: creating config.h
Warning received while doing make:
/bin/bash /var/tmp/apache_src/httpd-2.2.11/srclib/apr/libtool --silent
--mode=compile cc -g -fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns
-fsimple -xprefetch -xrestrict -xalias_level=std -xipo -xpagesize=64K
-D_REENTRANT -lpthread -xO5 -xlibmil -xdepend -DHAVE_CONFIG_H -DSOLARIS2=10
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I./include
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I./include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include -o random/unix/sha2.lo
-c random/unix/sha2.c && touch random/unix/sha2.lo
/bin/bash /var/tmp/apache_src/httpd-2.2.11/srclib/apr/libtool --silent
--mode=compile cc -g -fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns
-fsimple -xprefetch -xrestrict -xalias_level=std -xipo -xpagesize=64K
-D_REENTRANT -lpthread -xO5 -xlibmil -xdepend -DHAVE_CONFIG_H -DSOLARIS2=10
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I./include
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I./include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include -o shmem/unix/shm.lo -c
shmem/unix/shm.c && touch shmem/unix/shm.lo
"shmem/unix/shm.c", line 87: warning: statement not reached
"shmem/unix/shm.c", line 218: warning: statement not reached
"shmem/unix/shm.c", line 365: warning: statement not reached
"shmem/unix/shm.c", line 424: warning: statement not reached
"shmem/unix/shm.c", line 455: warning: statement not reached
"shmem/unix/shm.c", line 573: warning: statement not reached
/bin/bash /var/tmp/apache_src/httpd-2.2.11/srclib/apr/libtool --silent
--mode=compile cc -g -fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns
-fsimple -xprefetch -xrestrict -xalias_level=std -xipo -xpagesize=64K
-D_REENTRANT -lpthread -xO5 -xlibmil -xdepend -DHAVE_CONFIG_H -DSOLARIS2=10
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I./include
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I./include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include -o
support/unix/waitio.lo -c support/unix/waitio.c && touch support/unix/waitio.lo
/bin/bash /var/tmp/apache_src/httpd-2.2.11/srclib/apr/libtool --silent
--mode=compile cc -g -fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns
-fsimple -xprefetch -xrestrict -xalias_level=std -xipo -xpagesize=64K
-D_REENTRANT -lpthread -xO5 -xlibmil -xdepend -DHAVE_CONFIG_H -DSOLARIS2=10
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I./include
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I./include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include/arch/unix
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include -o
threadproc/unix/procsup.lo -c threadproc/unix/procsup.c && touch
threadproc/unix/procsup.lo
/var/tmp/apache_src/httpd-2.2.11/srclib/apr/libtool --silent --mode=compile cc
-g -fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns -fsimple -xprefetch
-xrestrict -xalias_level=std -xipo -xpagesize=64K -D_REENTRANT -lpthread -xO5
-xlibmil -xdepend -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-D_LARGEFILE64_SOURCE -I/var/tmp/apache_src/httpd-2.2.11/srclib/pcre -I.
-I/var/tmp/apache_src/httpd-2.2.11/os/unix
-I/var/tmp/apache_src/httpd-2.2.11/server/mpm/worker
-I/var/tmp/apache_src/httpd-2.2.11/modules/http
-I/var/tmp/apache_src/httpd-2.2.11/modules/filters
-I/var/tmp/apache_src/httpd-2.2.11/modules/proxy
-I/var/tmp/apache_src/httpd-2.2.11/include
-I/var/tmp/apache_src/httpd-2.2.11/modules/generators
-I/var/tmp/apache_src/httpd-2.2.11/modules/mappers
-I/var/tmp/apache_src/httpd-2.2.11/modules/database
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr/include
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr-util/include
-I/var/tmp/apache_src/httpd-2.2.11/srclib/apr-util/xml/expat/lib
-I/var/tmp/apache_src/httpd-2.2.11/modules/proxy/../generators
-I/var/tmp/apache_src/httpd-2.2.11/modules/ssl
-I/var/tmp/apache_src/httpd-2.2.11/modules/dav/main -prefer-non-pic -static -c
core_filters.c && touch core_filters.lo
"core_filters.c", line 208: warning: statement not reached
/var/tmp/apache_src/httpd-2.2.11/srclib/apr/libtool --silent --mode=link cc -g
-fast -mt -xtarget=ultra3 -m32 -xarch=sparcvis -fns -fsimple -xprefetch
-xrestrict -xalias_level=std -xipo -xpagesize=64K -D_REENTRANT -lpthread -xO5
-xlibmil -xdepend -o libmain.la -static test_char.h config.lo log.lo
main.lo vhost.lo util.lo util_script.lo util_md5.lo util_cfgtree.lo
util_ebcdic.lo util_time.lo connection.lo listen.lo mpm_common.lo
util_charset.lo util_debug.lo util_xml.lo util_filter.lo util_pcre.lo
exports.lo scoreboard.lo error_bucket.lo protocol.lo core.lo request.lo
provider.lo eoc_bucket.lo core_filters.lo
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]