Re: intro and question
[please keep these discussions on the public mailing list so others can help too :) ] On Wed, Oct 03, 2001 at 02:52:14PM -0700, clayton cottingham wrote: > hey a prob: > > modules/dav/main -c flood_net.c && touch flood_net.lo > flood_net.c: In function `open_socket': > flood_net.c:87: `EADDRNOTAVAIL' undeclared (first use in this function) > flood_net.c:87: (Each undeclared identifier is reported only once > flood_net.c:87: for each function it appears in.) > flood_net.c:87: `EAGAIN' undeclared (first use in this function) > make: *** [flood_net.lo] Error 1 On what platform/operating system are you seeing these errors? Are those symbols defined on your platform? -aaron
Re: intro and question
On Wed, Oct 03, 2001 at 03:42:05PM -0700, clayton cottingham wrote: > ok after i > retried on my home machine i got as far as this: > > /bin/sh /home/drfrog/httpd-2.0//srclib/apr/libtool --silent --mode=link > gcc -g -O2 -pthread-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 > -D_BSD_SOURCE -D_SVID_SOURCE -I/home/drfrog/openssl-0.9.6b/include > -I/home/drfrog/httpd-2.0//srclib/apr/include/arch/unix > -DAP_HAVE_DESIGNATED_INITIALIZER -I. -I/home/drfrog/httpd-2.0//os/unix > -I/home/drfrog/httpd-2.0//server/mpm/prefork > -I/home/drfrog/httpd-2.0//modules/http -I/home/drfrog/httpd-2.0//include > -I/home/drfrog/httpd-2.0//srclib/apr/include > -I/home/drfrog/httpd-2.0//srclib/apr-util/include > -I/home/drfrog/httpd-2.0//modules/dav/main -export-dynamic > -L/home/drfrog/openssl-0.9.6b/lib -o flood flood.lo > flood_round_robin.lo flood_profile.lo flood_config.lo flood_net.lo > flood_net_ssl.lo flood_farmer.lo flood_simple_reports.lo > flood_easy_reports.lo flood_farm.lo flood_socket_generic.lo > flood_socket_keepalive.lo flood_report_relative_times.lo > -L/home/drfrog/openssl-0.9.6b/lib > /home/drfrog/httpd-2.0//srclib/apr-util/libaprutil.la > /home/drfrog/httpd-2.0//srclib/apr/libapr.la > /home/drfrog/httpd-2.0//srclib/apr-util/xml/expat/lib/libexpat.la -lm > -lcrypt -lnsl -ldl > flood_net_ssl.o: In function `ssl_init_socket': > /home/drfrog/httpd-test/flood/flood_net_ssl.c:153: undefined reference > to `SSL_library_init' [...lots of openssl "undefined reference" errors omitted...] > make: *** [flood] Error 1 What version of openssl do you have installed? You must have 0.9.6 IIRC (but make sure you get the latest, which I think is 0.9.6b now). -aaron
Re: intro and question
Aaron Bannert wrote: > > On Wed, Oct 03, 2001 at 12:40:13PM -0700, clayton cottingham wrote: > [...] > > unfortunately it doesnt compile! > > > > it looks for apr_uri.h and cant find it > > heck i cant find it either!! > > > > its no where to be found in the apr or httpd 2.0 tarballs include dir's > > > > am i missing something? > > Some interfaces have changed since that tarball was released, so you'll > have to get the current HEAD from cvs of APR in order to get flood to > compile. Let us know if you have problems at that point. > > -aaron ok after i retried on my home machine i got as far as this: /bin/sh /home/drfrog/httpd-2.0//srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -I/home/drfrog/openssl-0.9.6b/include -I/home/drfrog/httpd-2.0//srclib/apr/include/arch/unix -DAP_HAVE_DESIGNATED_INITIALIZER -I. -I/home/drfrog/httpd-2.0//os/unix -I/home/drfrog/httpd-2.0//server/mpm/prefork -I/home/drfrog/httpd-2.0//modules/http -I/home/drfrog/httpd-2.0//include -I/home/drfrog/httpd-2.0//srclib/apr/include -I/home/drfrog/httpd-2.0//srclib/apr-util/include -I/home/drfrog/httpd-2.0//modules/dav/main -export-dynamic -L/home/drfrog/openssl-0.9.6b/lib -o flood flood.lo flood_round_robin.lo flood_profile.lo flood_config.lo flood_net.lo flood_net_ssl.lo flood_farmer.lo flood_simple_reports.lo flood_easy_reports.lo flood_farm.lo flood_socket_generic.lo flood_socket_keepalive.lo flood_report_relative_times.lo -L/home/drfrog/openssl-0.9.6b/lib /home/drfrog/httpd-2.0//srclib/apr-util/libaprutil.la /home/drfrog/httpd-2.0//srclib/apr/libapr.la /home/drfrog/httpd-2.0//srclib/apr-util/xml/expat/lib/libexpat.la -lm -lcrypt -lnsl -ldl flood_net_ssl.o: In function `ssl_init_socket': /home/drfrog/httpd-test/flood/flood_net_ssl.c:153: undefined reference to `SSL_library_init' /home/drfrog/httpd-test/flood/flood_net_ssl.c:154: undefined reference to `SSL_library_init' /home/drfrog/httpd-test/flood/flood_net_ssl.c:155: undefined reference to `SSL_load_error_strings' /home/drfrog/httpd-test/flood/flood_net_ssl.c:156: undefined reference to `ERR_load_crypto_strings' /home/drfrog/httpd-test/flood/flood_net_ssl.c:157: undefined reference to `RAND_load_file' /home/drfrog/httpd-test/flood/flood_net_ssl.c:160: undefined reference to `CRYPTO_num_locks' /home/drfrog/httpd-test/flood/flood_net_ssl.c:173: undefined reference to `CRYPTO_set_locking_callback' /home/drfrog/httpd-test/flood/flood_net_ssl.c:174: undefined reference to `CRYPTO_set_id_callback' /home/drfrog/httpd-test/flood/flood_net_ssl.c:176: undefined reference to `CRYPTO_set_dynlock_create_callback' /home/drfrog/httpd-test/flood/flood_net_ssl.c:177: undefined reference to `CRYPTO_set_dynlock_lock_callback' /home/drfrog/httpd-test/flood/flood_net_ssl.c:178: undefined reference to `CRYPTO_set_dynlock_destroy_callback' flood_net_ssl.o: In function `ssl_open_socket': /home/drfrog/httpd-test/flood/flood_net_ssl.c:203: undefined reference to `SSLv23_client_method' /home/drfrog/httpd-test/flood/flood_net_ssl.c:203: undefined reference to `SSL_CTX_new' /home/drfrog/httpd-test/flood/flood_net_ssl.c:204: undefined reference to `SSL_CTX_ctrl' /home/drfrog/httpd-test/flood/flood_net_ssl.c:207: undefined reference to `SSL_CTX_ctrl' /home/drfrog/httpd-test/flood/flood_net_ssl.c:210: undefined reference to `SSL_CTX_load_verify_locations' /home/drfrog/httpd-test/flood/flood_net_ssl.c:213: undefined reference to `SSL_new' /home/drfrog/httpd-test/flood/flood_net_ssl.c:214: undefined reference to `SSL_set_connect_state' /home/drfrog/httpd-test/flood/flood_net_ssl.c:217: undefined reference to `SSL_set_fd' /home/drfrog/httpd-test/flood/flood_net_ssl.c:218: undefined reference to `SSL_connect' /home/drfrog/httpd-test/flood/flood_net_ssl.c:222: undefined reference to `SSL_get_error' /home/drfrog/httpd-test/flood/flood_net_ssl.c:232: undefined reference to `ERR_print_errors_fp' flood_net_ssl.o: In function `ssl_close_socket': /home/drfrog/httpd-test/flood/flood_net_ssl.c:243: undefined reference to `SSL_free' /home/drfrog/httpd-test/flood/flood_net_ssl.c:244: undefined reference to `SSL_CTX_free' flood_net_ssl.o: In function `ssl_read_socket': /home/drfrog/httpd-test/flood/flood_net_ssl.c:260: undefined reference to `SSL_read' /home/drfrog/httpd-test/flood/flood_net_ssl.c:261: undefined reference to `SSL_get_error' /home/drfrog/httpd-test/flood/flood_net_ssl.c:275: undefined reference to `ERR_print_errors_fp' flood_net_ssl.o: In function `ssl_read_socket_handshake': /home/drfrog/httpd-test/flood/flood_net_ssl.c:290: undefined reference to `SSL_read' flood_net_ssl.o: In function `ssl_write_socket': /home/drfrog/httpd-test/flood/flood_net_ssl.c:300: undefined reference to `SSL_write' /home/drfrog/httpd-test/flood/flood_net_ssl.c:302: undefined reference to `SSL_get_error' /home/drfrog/httpd-test/flood/flood_net_ssl.c:314: undefined reference to `ERR_print_errors_fp' collect2: ld returned 1 exit status make:
Re: intro and question
On Wed, Oct 03, 2001 at 12:40:13PM -0700, clayton cottingham wrote: [...] > unfortunately it doesnt compile! > > it looks for apr_uri.h and cant find it > heck i cant find it either!! > > its no where to be found in the apr or httpd 2.0 tarballs include dir's > > am i missing something? Some interfaces have changed since that tarball was released, so you'll have to get the current HEAD from cvs of APR in order to get flood to compile. Let us know if you have problems at that point. -aaron
intro and question
hiya: im clayton cottingham, a mod_perl developer ive recently been asked to look into q&a and testing for our projects running under modperl ive also taken a look at flood since it was in the httpd-test and i am trying to install it unfortunately it doesnt compile! it looks for apr_uri.h and cant find it heck i cant find it either!! its no where to be found in the apr or httpd 2.0 tarballs include dir's am i missing something? thanks in adv!