You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Stas Bekman <st...@stason.org> on 2002/03/15 03:46:46 UTC

build process warnings, lots of them

while building the latest cvs with:

make distclean
./buildconf
./configure --prefix=/home/stas/httpd/prefork                  \
--with-mpm=prefork                                             \
--enable-maintainer-mode                                       \
--enable-so --enable-shared                                    \
--enable-auth-anon  --enable-maintainer-mode                   \
--enable-auth-dbm   --enable-auth-db    --enable-auth-digest   \
--enable-file-cache --enable-echo       --enable-cache         \
--enable-mime-magic --enable-usertrack  --enable-vhost-alias   \
--enable-cern-meta  --enable-expires    --enable-headers       \
--enable-unique-id  --enable-proxy      --enable-proxy-connect \
--enable-proxy-ftp  --enable-proxy-http --enable-dav           \
--enable-suexec     --enable-cgi        --enable-dav-fs        \
--enable-rewrite    --enable-info                              \
--enable-ssl --with-ssl=/usr/include/
make -j

(I don't know if -j makes a difference for certain warnings, but it's an 
smp machine)

So these are the warnings that I get during the build:

mkdir: cannot create directory `.libs': File exists
make[4]: Leaving directory 
`/home/stas/apache.org/httpd-2.0/srclib/apr/threadproc/unix'

...

make[5]: Entering directory 
`/home/stas/apache.org/httpd-2.0/srclib/apr-util/xml/expat/lib'
...
mkdir .libs
mkdir .libs
mkdir: cannot create directory `.libs': File exists
rm -f .libs/xmlparse.lo

...

/bin/sh /home/stas/apache.org/httpd-2.0/srclib/apr/libtool --silent 
--mode=compile gcc  -g -O2 -Wall -Wmissing-prototypes 
-Wstrict-prototypes -Wmissing-declarations -pthread -DNO_DBM_REWRITEMAP 
    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-D_SVID_SOURCE -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER   -I. 
-I/home/stas/apache.org/httpd-2.0/os/unix 
-I/home/stas/apache.org/httpd-2.0/server/mpm/prefork 
-I/home/stas/apache.org/httpd-2.0/modules/http 
-I/home/stas/apache.org/httpd-2.0/modules/proxy 
-I/home/stas/apache.org/httpd-2.0/include 
-I/home/stas/apache.org/httpd-2.0/srclib/apr/include 
-I/home/stas/apache.org/httpd-2.0/srclib/apr-util/include 
-I/usr/include/openssl 
-I/home/stas/apache.org/httpd-2.0/modules/dav/main 
-I/home/stas/apache.org/httpd-2.0/srclib/apr-util/include 
-I/home/stas/apache.org/httpd-2.0/srclib/apr-util/xml/expat/lib 
-prefer-non-pic -static -c ssl_util_table.c && touch ssl_util_table.lo
In file included from mod_ssl.h:116,
                  from ssl_scache.c:64:
/usr/include/openssl/ssl.h:224: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:225: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:226: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:442: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:445: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:467: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:574: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:655: warning: function declaration isn't a 
prototype
In file included from mod_ssl.h:116,
                  from ssl_scache.c:64:
/usr/include/openssl/ssl.h:1035: warning: function declaration isn't a 
prototype/usr/include/openssl/ssl.h:1071: warning: function declaration 
isn't a prototype/usr/include/openssl/ssl.h:1073: warning: function 
declaration isn't a prototype/usr/include/openssl/ssl.h:1146: warning: 
function declaration isn't a prototype/usr/include/openssl/ssl.h:1147: 
warning: function declaration isn't a prototypeIn file included from 
mod_ssl.h:116,
                  from ssl_engine_dh.c:63:
/usr/include/openssl/ssl.h:224: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:225: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:226: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:442: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:445: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:467: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:574: warning: function declaration isn't a 
prototype
/usr/include/openssl/ssl.h:655: warning: function declaration isn't a 
prototype
In file included from mod_ssl.h:116,
                  from ssl_engine_dh.c:63:
/usr/include/openssl/ssl.h:1035: warning: function declaration isn't a
prototype
In file included from mod_ssl.h:116,
                  from ssl_engine_ext.c:62:

and many more similar messages

...

ssl_engine_config.c: In function `ssl_cmd_SSLSessionCache':
ssl_engine_config.c:814: warning: `maxsize' might be used uninitialized 
in this function
y.tab.c: In function `ssl_expr_yyparse':
y.tab.c:249: warning: suggest parentheses around assignment used as 
truth value
y.tab.c:293: warning: label `ssl_expr_yynewerror' defined but not used
ssl_engine_kernel.c: In function `ssl_hook_Fixup':
ssl_engine_kernel.c:1124: warning: `ssl' might be used uninitialized in 
this function
y.tab.c: At top level:
ssl_expr_parse.c:2: warning: `ssl_expr_yysccsid' defined but not used


...

/home/stas/apache.org/httpd-2.0/support/htpasswd.c:613: the use of 
`tmpnam' is dangerous, better use `mkstemp'

...

And I gets a few tens of these messages during the build in various places

libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/