You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by solo turn <so...@yahoo.com> on 2003/01/20 18:32:37 UTC

httpd 2.0.44 compile error

there is a compile error on solaris 2.8:

/bin/bash /home/src/httpd-2.0.44/srclib/apr/libtool --silent
--mode=compile cc  -g -mt    -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT    -I/home/src/httpd-2.0.44/srclib/apr/include
-I/home/src/httpd-2.0.44/srclib/apr-util/include
-I/home/local/include
-I/home/src/httpd-2.0.44/srclib/apr-util/xml/expat/lib -I.
-I/home/src/httpd-2.0.44/os/unix
-I/home/src/httpd-2.0.44/server/mpm/prefork
-I/home/src/httpd-2.0.44/modules/http
-I/home/src/httpd-2.0.44/modules/filters
-I/home/src/httpd-2.0.44/modules/proxy
-I/home/src/httpd-2.0.44/include -I/home/local/include/openssl
-I/home/src/httpd-2.0.44/modules/dav/main -prefer-non-pic -static -c
request.c && touch request.lo
"core.c", line 184: undefined struct/union member: enable_sendfile
"core.c", line 184: undefined symbol: ENABLE_SENDFILE_UNSET
"core.c", line 451: undefined struct/union member: enable_sendfile
"core.c", line 451: undefined symbol: ENABLE_SENDFILE_UNSET
"core.c", line 452: improper member use: enable_sendfile
"core.c", line 452: improper member use: enable_sendfile
"core.c", line 1477: undefined struct/union member: enable_sendfile
"core.c", line 1477: undefined symbol: ENABLE_SENDFILE_ON
"core.c", line 1480: undefined struct/union member: enable_sendfile
"core.c", line 1480: undefined symbol: ENABLE_SENDFILE_OFF
"core.c", line 3314: undefined struct/union member: deliver_script
"core.c", line 3326: undefined struct/union member: enable_sendfile
"core.c", line 3326: undefined symbol: ENABLE_SENDFILE_OFF
"core.c", line 3653: cannot recover from previous errors


did i miss something about this? i did
./buildconf
./configure --prefix=/home/local --enable-so --enable-dav
--enable-deflate --enable-ssl --with-ssl=/home/local --with-dbm=db4
--with-berkeley-db=/home/local

like with version 2.0.43


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Re: httpd 2.0.44 compile error

Posted by Jeff Trawick <tr...@attglobal.net>.
solo turn wrote:

> there is a compile error on solaris 2.8:
>
> /bin/bash /home/src/httpd-2.0.44/srclib/apr/libtool --silent
> --mode=compile cc  -g -mt    -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS
> -D_REENTRANT    -I/home/src/httpd-2.0.44/srclib/apr/include
> -I/home/src/httpd-2.0.44/srclib/apr-util/include
> -I/home/local/include

whoops, /home/local/include is searched before Apache directories...
any chance you have a previous Apache install there?  you're probably
picking up old levels of Apache header files, and ENABLE_SENDFILE_*
wasn't defined in 2.0.43

> -I/home/src/httpd-2.0.44/srclib/apr-util/xml/expat/lib -I.
> -I/home/src/httpd-2.0.44/os/unix
> -I/home/src/httpd-2.0.44/server/mpm/prefork
> -I/home/src/httpd-2.0.44/modules/http
> -I/home/src/httpd-2.0.44/modules/filters
> -I/home/src/httpd-2.0.44/modules/proxy
> -I/home/src/httpd-2.0.44/include -I/home/local/include/openssl
> -I/home/src/httpd-2.0.44/modules/dav/main -prefer-non-pic -static -c
> request.c && touch request.lo
> "core.c", line 184: undefined struct/union member: enable_sendfile
> "core.c", line 184: undefined symbol: ENABLE_SENDFILE_UNSET