[users@httpd] Apache 2.2.2 Compilation error: event.c:1437: undefined reference to `ap_thread_stacksize'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, im using FreeBSD 6.1 and want to try threading MPMs. I runned
configure with these options: ./configure --prefix=/www/apache
--enable-cache=shared --enable-rewrite=shared
--enable-mem-cache=shared --with-mpm=event
--enable-nonportable-atomics=yes --enable-threads. I also tried worker
mpm. Prefork MPM works fine.
Whats wrong?

Compilation stops at make, heres log:
==
Making all in srclib
Making all in apr
Making all in apr-util
Making all in xml/expat
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H
-DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"'
-I/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib -I..
-I/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib  -g -O2 -c xmlparse.c
gcc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\"
-I/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib -I..
-I/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib -g -O2 -c xmlparse.c
-fPIC -DPIC -o .libs/xmlparse.o
gcc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\"
-I/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib -I..
-I/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib -g -O2 -c xmlparse.c
-o xmlparse.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link  gcc -version-info 1:0:1 -g -O2  -o
libexpat.la -rpath /www/apache/lib  xmlparse.lo xmltok.lo xmlrole.lo
rm -fr  .libs/libexpat.a .libs/libexpat.la .libs/libexpat.lai
.libs/libexpat.so .libs/libexpat.so.1
gcc -shared  .libs/xmlparse.o .libs/xmltok.o .libs/xmlrole.o
-Wl,-soname -Wl,libexpat.so.1 -o .libs/libexpat.so.1
(cd .libs && rm -f libexpat.so && ln -s libexpat.so.1 libexpat.so)
(cd .libs && rm -f libexpat.so && ln -s libexpat.so.1 libexpat.so)
ar cru .libs/libexpat.a  xmlparse.o xmltok.o xmlrole.o
ranlib .libs/libexpat.a
creating libexpat.la
(cd .libs && rm -f libexpat.la && ln -s ../libexpat.la libexpat.la)
Making all in pcre
Making all in os
Making all in unix
Making all in server
Making all in mpm
Making all in experimental/event
Found newer headers. Will rebuild exports.c.
rm -f exports.c export_files
tmp=export_files_unsorted.txt;  rm -f $tmp && touch $tmp;  for dir in
/www/httpd-2.2.2/include /www/httpd-2.2.2/os/unix
/www/httpd-2.2.2/modules/http; do  ls $dir/*.h >> $tmp;  done;  for
dir in /www/httpd-2.2.2/srclib/apr/include
/www/httpd-2.2.2/srclib/apr-util/include; do  (ls $dir/ap[ru].h
$dir/ap[ru]_*.h >> $tmp 2>/dev/null);  done;  sort -u $tmp >
export_files;  rm -f $tmp
nawk -f /www/httpd-2.2.2/build/make_exports.awk `cat export_files` > exports.c
/www/httpd-2.2.2/srclib/apr/libtool --silent --mode=compile gcc -g -O2
      -I/www/httpd-2.2.2/srclib/pcre -I. -I/www/httpd-2.2.2/os/unix
-I/www/httpd-2.2.2/server/mpm/experimental/event
-I/www/httpd-2.2.2/modules/http -I/www/httpd-2.2.2/modules/filters
-I/www/httpd-2.2.2/modules/proxy -I/www/httpd-2.2.2/include
-I/www/httpd-2.2.2/modules/generators
-I/www/httpd-2.2.2/modules/mappers -I/www/httpd-2.2.2/modules/database
-I/www/httpd-2.2.2/srclib/apr/include
-I/www/httpd-2.2.2/srclib/apr-util/include
-I/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib
-I/www/httpd-2.2.2/modules/proxy/../generators
-I/www/httpd-2.2.2/modules/ssl -I/www/httpd-2.2.2/modules/dav/main
-prefer-non-pic -static -c exports.c && touch exports.lo
/www/httpd-2.2.2/srclib/apr/libtool --silent --mode=link gcc -g -O2
-L/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib   -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
nawk -f /www/httpd-2.2.2/build/make_var_export.awk `cat export_files`
export_vars.h
gcc -E      -I/www/httpd-2.2.2/srclib/pcre -I.
-I/www/httpd-2.2.2/os/unix
-I/www/httpd-2.2.2/server/mpm/experimental/event
-I/www/httpd-2.2.2/modules/http -I/www/httpd-2.2.2/modules/filters
-I/www/httpd-2.2.2/modules/proxy -I/www/httpd-2.2.2/include
-I/www/httpd-2.2.2/modules/generators
-I/www/httpd-2.2.2/modules/mappers -I/www/httpd-2.2.2/modules/database
-I/www/httpd-2.2.2/srclib/apr/include
-I/www/httpd-2.2.2/srclib/apr-util/include
-I/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib
-I/www/httpd-2.2.2/modules/proxy/../generators
-I/www/httpd-2.2.2/modules/ssl -I/www/httpd-2.2.2/modules/dav/main
exports.c | grep "ap_hack_" | grep -v apr_ | sed -e
's/^.*[)]\(.*\);$/\1/' >> httpd.exp
gcc -E      -I/www/httpd-2.2.2/srclib/pcre -I.
-I/www/httpd-2.2.2/os/unix
-I/www/httpd-2.2.2/server/mpm/experimental/event
-I/www/httpd-2.2.2/modules/http -I/www/httpd-2.2.2/modules/filters
-I/www/httpd-2.2.2/modules/proxy -I/www/httpd-2.2.2/include
-I/www/httpd-2.2.2/modules/generators
-I/www/httpd-2.2.2/modules/mappers -I/www/httpd-2.2.2/modules/database
-I/www/httpd-2.2.2/srclib/apr/include
-I/www/httpd-2.2.2/srclib/apr-util/include
-I/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib
-I/www/httpd-2.2.2/modules/proxy/../generators
-I/www/httpd-2.2.2/modules/ssl -I/www/httpd-2.2.2/modules/dav/main
export_vars.h | grep -v apr_ | sed -e 's/^\#[^!]*//' | sed -e '/^$/d'
httpd.exp
Making all in modules
Making all in aaa
Making all in cache
Making all in filters
Making all in loggers
Making all in metadata
Making all in http
Making all in generators
Making all in mappers
Making all in support
/www/httpd-2.2.2/srclib/apr/libtool --silent --mode=compile gcc -g -O2
      -I/www/httpd-2.2.2/srclib/pcre -I. -I/www/httpd-2.2.2/os/unix
-I/www/httpd-2.2.2/server/mpm/experimental/event
-I/www/httpd-2.2.2/modules/http -I/www/httpd-2.2.2/modules/filters
-I/www/httpd-2.2.2/modules/proxy -I/www/httpd-2.2.2/include
-I/www/httpd-2.2.2/modules/generators
-I/www/httpd-2.2.2/modules/mappers -I/www/httpd-2.2.2/modules/database
-I/www/httpd-2.2.2/srclib/apr/include
-I/www/httpd-2.2.2/srclib/apr-util/include
-I/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib
-I/www/httpd-2.2.2/modules/proxy/../generators
-I/www/httpd-2.2.2/modules/ssl -I/www/httpd-2.2.2/modules/dav/main
-prefer-non-pic -static -c modules.c && touch modules.lo
gcc -g -O2        -I/www/httpd-2.2.2/srclib/pcre -I.
-I/www/httpd-2.2.2/os/unix
-I/www/httpd-2.2.2/server/mpm/experimental/event
-I/www/httpd-2.2.2/modules/http -I/www/httpd-2.2.2/modules/filters
-I/www/httpd-2.2.2/modules/proxy -I/www/httpd-2.2.2/include
-I/www/httpd-2.2.2/modules/generators
-I/www/httpd-2.2.2/modules/mappers -I/www/httpd-2.2.2/modules/database
-I/www/httpd-2.2.2/srclib/apr/include
-I/www/httpd-2.2.2/srclib/apr-util/include
-I/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib
-I/www/httpd-2.2.2/modules/proxy/../generators
-I/www/httpd-2.2.2/modules/ssl -I/www/httpd-2.2.2/modules/dav/main -c
/www/httpd-2.2.2/server/buildmark.c
/www/httpd-2.2.2/srclib/apr/libtool --silent --mode=link gcc -g -O2
-L/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib   -o httpd
modules.lo buildmark.o -export-dynamic server/libmain.la
modules/aaa/libmod_authn_file.la modules/aaa/libmod_authn_default.la
modules/aaa/libmod_authz_host.la modules/aaa/libmod_authz_groupfile.la
modules/aaa/libmod_authz_user.la modules/aaa/libmod_authz_default.la
modules/aaa/libmod_auth_basic.la modules/filters/libmod_include.la
modules/filters/libmod_filter.la modules/loggers/libmod_log_config.la
modules/metadata/libmod_env.la modules/metadata/libmod_setenvif.la
modules/http/libmod_http.la modules/http/libmod_mime.la
modules/generators/libmod_status.la
modules/generators/libmod_autoindex.la
modules/generators/libmod_asis.la modules/generators/libmod_cgid.la
modules/mappers/libmod_negotiation.la modules/mappers/libmod_dir.la
modules/mappers/libmod_actions.la modules/mappers/libmod_userdir.la
modules/mappers/libmod_alias.la modules/mappers/libmod_so.la
server/mpm/experimental/event/libevent.la  os/unix/libos.la -lm
/www/httpd-2.2.2/srclib/pcre/libpcre.la
/www/httpd-2.2.2/srclib/apr-util/libaprutil-1.la
/www/httpd-2.2.2/srclib/apr-util/xml/expat/lib/libexpat.la
/www/httpd-2.2.2/srclib/apr/libapr-1.la -lcrypt -lpthread
server/mpm/experimental/event/.libs/libevent.a(event.o)(.text+0x1617):
In function `child_main':
/www/httpd-2.2.2/server/mpm/experimental/event/event.c:1437: undefined
reference to `ap_thread_stacksize'
*** Error code 1

Stop in /www/httpd-2.2.2.
*** Error code 1

Stop in /www/httpd-2.2.2.

==

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux