Re: mod_fastcgi apache1.3.33 compile errors - FIXED

Sam Pipe <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hi Developers...

I've solved the problem.. and thought it would be best to get this out 
just in case others have the same problem...

I'm running on a VPS with WHM installed.  This means that Apache is 
installed with EasyApache with the Apache installed at /usr/local/apache/

For some reason, apxs was also installed in /usr/sbin therefore the apxs 
command was invoking the wrong apxs installation.

once I changed this to the correct apxs it worked fine...

/usr/local/apache/bin/apxs -o mod_fastcgi.so -c *.c

Other people with WHM/Cpanel installations may have this problem... (or 
it could just be me of course... ;-) )

Thanks!
Sam





Sam Pipe wrote:

> Thanks Joe for the response... I appreciate the help because I'm a 
> little confused.. (not so experienced with C compiling... ) so please 
> forgive me if I've done something stupid and not what you suggested...
>
> I'm guessing you mean the httpd.h, *.h  files for apache... you are 
> right and I don't have the /usr/local/apache/include dir in my path.  
> I set this and tried again with no success... I also tried using the 
> -I and -L options to add the path... here's the story again...
>
> Any more pointer from yourself or anyone else would be most 
> appreciated...
>
> Thanks
> Sam
>
>
> ****************************************************************************************************** 
>
>
> # echo $PATH
> /usr/local/jdk/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/usr/local/apache:/usr/local/apache/include 
>
>
>
> # ls /usr/local/apache/include/
> ./           ap_config.h       ap_hook.h  buff.h     
> hsregex.h            http_main.h      multithread.h  util_date.h
> ../          ap_config_auto.h  ap_md5.h   compat.h   
> http_conf_globals.h  http_protocol.h  os-inline.c    util_md5.h
> ap.h         ap_ctx.h          ap_mm.h    conf.h     
> http_config.h        http_request.h   os.h           util_script.h
> ap_alloc.h   ap_ctype.h        ap_mmn.h   explain.h  
> http_core.h          http_vhost.h     rfc1413.h      util_uri.h
> ap_compat.h  ap_ebcdic.h       ap_sha1.h  fnmatch.h  
> http_log.h           httpd.h          scoreboard.h   xml/
>
> With both commands below I get the same result.
> > apxs -I /usr/local/apache/include/ -L /usr/local/apache/include/ -o 
> mod_fastcgi.so -c *.c
> > apxs -o mod_fastcgi.so -c *.c
>
>
> result
>
> /usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic 
> -O2 -g -march=i386 -mcpu=i686 -I/usr/kerberos/include 
> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE 
> -pthread -DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o fcgi_buf.lo 
> fcgi_buf.c && touch fcgi_buf.slo
> /usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic 
> -O2 -g -march=i386 -mcpu=i686 -I/usr/kerberos/include 
> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE 
> -pthread -DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o 
> fcgi_config.lo fcgi_config.c && touch fcgi_config.slo
> /usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic 
> -O2 -g -march=i386 -mcpu=i686 -I/usr/kerberos/include 
> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE 
> -pthread -DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o fcgi_pm.lo 
> fcgi_pm.c && touch fcgi_pm.slo
> /usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic 
> -O2 -g -march=i386 -mcpu=i686 -I/usr/kerberos/include 
> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE 
> -pthread -DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o 
> fcgi_protocol.lo fcgi_protocol.c && touch fcgi_protocol.slo
> /usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic 
> -O2 -g -march=i386 -mcpu=i686 -I/usr/kerberos/include 
> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE 
> -pthread -DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o fcgi_util.lo 
> fcgi_util.c && touch fcgi_util.slo
> /usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic 
> -O2 -g -march=i386 -mcpu=i686 -I/usr/kerberos/include 
> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE 
> -pthread -DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o 
> mod_fastcgi.lo mod_fastcgi.c && touch mod_fastcgi.slo
> /usr/lib/httpd/build/libtool --silent --mode=link gcc -o 
> mod_fastcgi.so -rpath /usr/lib/httpd/modules -module -avoid-version   
> mod_fastcgi.lo fcgi_util.lo fcgi_protocol.lo fcgi_pm.lo fcgi_config.lo 
> fcgi_buf.lo
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): 
> In function `_start':
> ../sysdeps/i386/elf/start.S:77: undefined reference to `main'
> mod_fastcgi.o(.text+0xdf): In function `send_to_pm':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:235: undefined reference to 
> `ap_log_error'
> mod_fastcgi.o(.text+0x1f6):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:174: 
> undefined reference to `ap_log_error'
> mod_fastcgi.o(.text+0x216): In function `init_module':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:270: undefined reference to 
> `apr_pool_cleanup_null'
> mod_fastcgi.o(.text+0x23a):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:270: 
> undefined reference to `apr_pool_cleanup_register'
> mod_fastcgi.o(.text+0x24c):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:274: 
> undefined reference to `ap_add_version_component'
> mod_fastcgi.o(.text+0x2cb):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:296: 
> undefined reference to `ap_log_error'
> mod_fastcgi.o(.text+0x31f):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:300: 
> undefined reference to `ap_log_error'
> mod_fastcgi.o(.text+0x33f):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:311: 
> undefined reference to `apr_pool_userdata_get'
> mod_fastcgi.o(.text+0x368):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:314: 
> undefined reference to `apr_pool_userdata_set'
> mod_fastcgi.o(.text+0x397):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:335: 
> undefined reference to `apr_palloc'
> mod_fastcgi.o(.text+0x3a8):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:338: 
> undefined reference to `apr_proc_fork'
> mod_fastcgi.o(.text+0x3ce):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:353: 
> undefined reference to `apr_pool_note_subprocess'
> mod_fastcgi.o(.text+0x417):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:328: 
> undefined reference to `ap_log_error'
> mod_fastcgi.o(.text+0x42e):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:292: 
> undefined reference to `ap_server_root_relative'
> mod_fastcgi.o(.text+0x68d): In function `close_connection_to_fs':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:605: undefined reference to 
> `ap_log_error'
> mod_fastcgi.o(.text+0x83f): In function `process_headers':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:757: undefined reference to 
> `apr_table_add'
> mod_fastcgi.o(.text+0x8b7):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:748: 
> undefined reference to `apr_table_set'
> mod_fastcgi.o(.text+0x8ed):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:842: 
> undefined reference to `apr_psprintf'
> mod_fastcgi.o(.text+0x914):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:739: 
> undefined reference to `apr_pstrdup'
> mod_fastcgi.o(.text+0x96c):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:729: 
> undefined reference to `apr_pstrdup'
> mod_fastcgi.o(.text+0xae2):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:768: 
> undefined reference to `apr_table_get'
> mod_fastcgi.o(.text+0xbc3): In function `read_from_client_n_queue':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:868: undefined reference to 
> `ap_get_client_block'
> mod_fastcgi.o(.text+0xca0): In function `write_to_client':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:913: undefined reference to 
> `apr_brigade_create'
> mod_fastcgi.o(.text+0xcbb):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:914: 
> undefined reference to `apr_bucket_transient_create'
> mod_fastcgi.o(.text+0xcf1):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:919: 
> undefined reference to `apr_bucket_flush_create'
> mod_fastcgi.o(.text+0xd1b):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:923: 
> undefined reference to `ap_pass_brigade'
> mod_fastcgi.o(.text+0xd56):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:937: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0xda7): In function `get_request_identity':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:988: undefined reference to 
> `ap_run_get_suexec_identity'
> mod_fastcgi.o(.text+0xe76): In function `set_uid_n_gid':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:1022: undefined reference 
> to `apr_palloc'
> mod_fastcgi.o(.text+0xedd):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:1024: 
> undefined reference to `apr_pstrdup'
> mod_fastcgi.o(.text+0xf16):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:1033: 
> undefined reference to `apr_psprintf'
> mod_fastcgi.o(.text+0xf33):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:1034: 
> undefined reference to `apr_psprintf'
> mod_fastcgi.o(.text+0x11d2): In function `open_connection_to_fs':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:1405: undefined reference 
> to `ap_log_rerror'
> mod_fastcgi.o(.text+0x153a):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:1440: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x16c7):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:1361: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x19d5): In function `sink_client_data':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:1534: undefined reference 
> to `ap_get_client_block'
> mod_fastcgi.o(.text+0x1a72): In function `cleanup':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:1549: undefined reference 
> to `ap_log_rerror'
> mod_fastcgi.o(.text+0x1e00): In function `socket_io':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2216: undefined reference 
> to `ap_log_rerror'
> mod_fastcgi.o(.text+0x1f1c):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2277: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x1f6d):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2252: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x2357): In function `do_work':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2321: undefined reference 
> to `apr_pool_cleanup_null'
> mod_fastcgi.o(.text+0x2370):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2321: 
> undefined reference to `apr_pool_cleanup_register'
> mod_fastcgi.o(.text+0x2431):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2382: 
> undefined reference to `ap_rflush'
> mod_fastcgi.o(.text+0x2482):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2397: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x24fa):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2355: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x251f):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2310: 
> undefined reference to `ap_setup_client_block'
> mod_fastcgi.o(.text+0x2534):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2317: 
> undefined reference to `ap_should_client_block'
> mod_fastcgi.o(.text+0x2565): In function `create_fcgi_request':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2425: undefined reference 
> to `apr_palloc'
> mod_fastcgi.o(.text+0x264f):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2479: 
> undefined reference to `apr_array_make'
> mod_fastcgi.o(.text+0x26b7):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2492: 
> undefined reference to `apr_table_make'
> mod_fastcgi.o(.text+0x270c):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2453: 
> undefined reference to `apr_palloc'
> mod_fastcgi.o(.text+0x278a):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2466: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x27d5):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2457: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x2830): In function `apache_is_scriptaliased':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2534: undefined reference 
> to `apr_table_get'
> mod_fastcgi.o(.text+0x28d4): In function `post_process_for_redirects':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2557: undefined reference 
> to `apr_table_unset'
> mod_fastcgi.o(.text+0x28ec):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2559: 
> undefined reference to `apr_table_get'
> mod_fastcgi.o(.text+0x28f8):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2559: 
> undefined reference to `ap_internal_redirect_handler'
> mod_fastcgi.o(.text+0x2987): In function `content_handler':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2591: undefined reference 
> to `ap_allow_options'
> mod_fastcgi.o(.text+0x2a0a):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2594: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x2a6d): In function 
> `post_process_auth_passed_header':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2615: undefined reference 
> to `apr_table_setn'
> mod_fastcgi.o(.text+0x2adc): In function 
> `post_process_auth_passed_compat_header':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2622: undefined reference 
> to `apr_table_setn'
> mod_fastcgi.o(.text+0x2b19): In function 
> `post_process_auth_failed_header':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2629: undefined reference 
> to `apr_table_setn'
> mod_fastcgi.o(.text+0x2b87): In function `post_process_auth':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2642: undefined reference 
> to `apr_table_do'
> mod_fastcgi.o(.text+0x2c4b): In function `check_user_authentication':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2672: undefined reference 
> to `ap_get_basic_auth_pw'
> mod_fastcgi.o(.text+0x2c87):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2682: 
> undefined reference to `apr_table_copy'
> mod_fastcgi.o(.text+0x2cac):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2684: 
> undefined reference to `apr_table_setn'
> mod_fastcgi.o(.text+0x2cce):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2685: 
> undefined reference to `apr_table_setn'
> mod_fastcgi.o(.text+0x2d12):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2715: 
> undefined reference to `ap_note_basic_auth_failure'
> mod_fastcgi.o(.text+0x2d5a):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2716: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x2da3):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2700: 
> undefined reference to `apr_table_get'
> mod_fastcgi.o(.text+0x2df4):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2701: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x2e84): In function `check_user_authorization':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2749: undefined reference 
> to `apr_table_copy'
> mod_fastcgi.o(.text+0x2eac):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2751: 
> undefined reference to `apr_table_setn'
> mod_fastcgi.o(.text+0x2ef5):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2780: 
> undefined reference to `ap_note_basic_auth_failure'
> mod_fastcgi.o(.text+0x2f40):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2781: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x2f8e):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2765: 
> undefined reference to `apr_table_get'
> mod_fastcgi.o(.text+0x2fe1):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2766: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x3075): In function `check_access':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2809: undefined reference 
> to `apr_table_copy'
> mod_fastcgi.o(.text+0x309d):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2811: 
> undefined reference to `apr_table_setn'
> mod_fastcgi.o(.text+0x311c):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2841: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x316a):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2826: 
> undefined reference to `apr_table_get'
> mod_fastcgi.o(.text+0x31be):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2827: 
> undefined reference to `ap_log_rerror'
> mod_fastcgi.o(.text+0x3274): In function `register_hooks':
> /usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2919: undefined reference 
> to `ap_hook_post_config'
> mod_fastcgi.o(.text+0x329a):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2920: 
> undefined reference to `ap_hook_child_init'
> mod_fastcgi.o(.text+0x32c0):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2921: 
> undefined reference to `ap_hook_handler'
> mod_fastcgi.o(.text+0x32e6):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2922: 
> undefined reference to `ap_hook_check_user_id'
> mod_fastcgi.o(.text+0x330c):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2923: 
> undefined reference to `ap_hook_access_checker'
> mod_fastcgi.o(.text+0x3332):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2924: 
> undefined reference to `ap_hook_auth_checker'
> mod_fastcgi.o(.text+0x3358):/usr/local/mod_fastcgi-2.4.2/mod_fastcgi.c:2925: 
> undefined reference to `ap_hook_fixups'
> fcgi_util.o(.text+0x11): In function `fcgi_util_get_server_uid':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:29: undefined reference to 
> `unixd_config'
> fcgi_util.o(.text+0x31): In function `fcgi_util_get_server_gid':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:43: undefined reference to 
> `unixd_config'
> fcgi_util.o(.text+0x7e): In function `fcgi_util_socket_hash_filename':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:58: undefined reference to 
> `apr_pstrcat'
> fcgi_util.o(.text+0x88):/usr/local/mod_fastcgi-2.4.2/fcgi_util.c:61: 
> undefined reference to `ap_getparents'
> fcgi_util.o(.text+0x94):/usr/local/mod_fastcgi-2.4.2/fcgi_util.c:63: 
> undefined reference to `ap_md5'
> fcgi_util.o(.text+0xd9): In function `make_full_path':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:100: undefined reference to 
> `ap_make_full_path'
> fcgi_util.o(.text+0x11e): In function 
> `fcgi_util_socket_make_path_absolute':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:113: undefined reference to 
> `ap_os_is_path_absolute'
> fcgi_util.o(.text+0x1b6): In function 
> `fcgi_util_socket_make_domain_addr':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:145: undefined reference to 
> `apr_palloc'
> fcgi_util.o(.text+0x257):/usr/local/mod_fastcgi-2.4.2/fcgi_util.c:140: 
> undefined reference to `apr_pstrcat'
> fcgi_util.o(.text+0x38d): In function `fcgi_util_socket_make_inet_addr':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:207: undefined reference to 
> `apr_pstrcat'
> fcgi_util.o(.text+0x3cf):/usr/local/mod_fastcgi-2.4.2/fcgi_util.c:197: 
> undefined reference to `apr_palloc'
> fcgi_util.o(.text+0x619): In function `fcgi_util_check_access':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:230: undefined reference to 
> `apr_psprintf'
> fcgi_util.o(.text+0x660): In function `fcgi_util_fs_get_by_id':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:314: undefined reference to 
> `apr_cpystrn'
> fcgi_util.o(.text+0x668):/usr/local/mod_fastcgi-2.4.2/fcgi_util.c:315: 
> undefined reference to `ap_no2slash'
> fcgi_util.o(.text+0x740): In function `fcgi_util_fs_get':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:346: undefined reference to 
> `apr_cpystrn'
> fcgi_util.o(.text+0x748):/usr/local/mod_fastcgi-2.4.2/fcgi_util.c:347: 
> undefined reference to `ap_no2slash'
> fcgi_util.o(.text+0x8b1): In function `fcgi_util_fs_is_path_ok':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:395: undefined reference to 
> `apr_psprintf'
> fcgi_util.o(.text+0x8c8):/usr/local/mod_fastcgi-2.4.2/fcgi_util.c:384: 
> undefined reference to `apr_psprintf'
> fcgi_util.o(.text+0x8fa):/usr/local/mod_fastcgi-2.4.2/fcgi_util.c:370: 
> undefined reference to `apr_palloc'
> fcgi_util.o(.text+0x94b):/usr/local/mod_fastcgi-2.4.2/fcgi_util.c:372: 
> undefined reference to `apr_psprintf'
> fcgi_util.o(.text+0x986): In function `fcgi_util_fs_new':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:412: undefined reference to 
> `apr_palloc'
> fcgi_util.o(.text+0xa96): In function `fcgi_util_fs_set_uid_n_gid':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:470: undefined reference to 
> `apr_pstrdup'
> fcgi_util.o(.text+0xabf):/usr/local/mod_fastcgi-2.4.2/fcgi_util.c:481: 
> undefined reference to `apr_pstrdup'
> fcgi_util.o(.text+0xafc):/usr/local/mod_fastcgi-2.4.2/fcgi_util.c:476: 
> undefined reference to `apr_psprintf'
> fcgi_util.o(.text+0xb58): In function `fcgi_util_fs_create_procs':
> /usr/local/mod_fastcgi-2.4.2/fcgi_util.c:495: undefined reference to 
> `apr_palloc'
> fcgi_protocol.o(.text+0x259): In function `apache_original_uri':
> /usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:127: undefined reference 
> to `apr_pstrndup'
> fcgi_protocol.o(.text+0x273):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:113: 
> undefined reference to `apr_palloc'
> fcgi_protocol.o(.text+0x2bb): In function `add_auth_cgi_vars':
> /usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:138: undefined reference 
> to `apr_table_setn'
> fcgi_protocol.o(.text+0x2da):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:139: 
> undefined reference to `apr_table_setn'
> fcgi_protocol.o(.text+0x2f6):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:140: 
> undefined reference to `apr_table_setn'
> fcgi_protocol.o(.text+0x31f):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:141: 
> undefined reference to `apr_table_setn'
> fcgi_protocol.o(.text+0x340):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:142: 
> undefined reference to `apr_table_setn'
> fcgi_protocol.o(.text+0x39b):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:163: 
> more undefined references to `apr_table_setn' follow
> fcgi_protocol.o(.text+0x3b8): In function `add_auth_cgi_vars':
> /usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:165: undefined reference 
> to `ap_find_path_info'
> fcgi_protocol.o(.text+0x3d3):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:167: 
> undefined reference to `apr_pstrndup'
> fcgi_protocol.o(.text+0x3ec):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:167: 
> undefined reference to `apr_table_setn'
> fcgi_protocol.o(.text+0x42e):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:158: 
> undefined reference to `apr_table_setn'
> fcgi_protocol.o(.text+0x46e):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:149: 
> undefined reference to `apr_table_unset'
> fcgi_protocol.o(.text+0x4d6): In function `add_pass_header_vars':
> /usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:181: undefined reference 
> to `apr_table_get'
> fcgi_protocol.o(.text+0x4f8):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:183: 
> undefined reference to `apr_table_setn'
> fcgi_protocol.o(.text+0x6f9): In function `fcgi_protocol_queue_env':
> /usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:199: undefined reference 
> to `ap_add_common_vars'
> fcgi_protocol.o(.text+0x733):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:207: 
> undefined reference to `ap_create_environment'
> fcgi_protocol.o(.text+0x749):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:203: 
> undefined reference to `ap_add_cgi_vars'
> fcgi_protocol.o(.text+0xadd): In function `fcgi_protocol_dequeue':
> /usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:467: undefined reference 
> to `ap_log_rerror'
> fcgi_protocol.o(.text+0xc13):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:397: 
> undefined reference to `ap_log_rerror'
> fcgi_protocol.o(.text+0xcb6):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:410: 
> undefined reference to `ap_log_rerror'
> fcgi_protocol.o(.text+0xd7f):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:429: 
> undefined reference to `ap_log_rerror'
> fcgi_protocol.o(.text+0xdc2):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:431: 
> undefined reference to `ap_log_rerror'
> fcgi_protocol.o(.text+0xdf6):/usr/local/mod_fastcgi-2.4.2/fcgi_protocol.c:376: 
> undefined reference to `apr_palloc'
> fcgi_pm.o(.text+0x71): In function `seteuid_root':
> /usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:50: undefined reference to 
> `ap_log_error'
> fcgi_pm.o(.text+0x99): In function `seteuid_user':
> /usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:58: undefined reference to 
> `unixd_config'
> fcgi_pm.o(.text+0x102):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:60: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x262): In function `shutdown_all':
> /usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:137: undefined reference to 
> `ap_log_error'
> fcgi_pm.o(.text+0x406): In function `init_listen_sock':
> /usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:260: undefined reference to 
> `ap_log_error'
> fcgi_pm.o(.text+0x4cb):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:228: 
> undefined reference to `apr_snprintf'
> fcgi_pm.o(.text+0x532):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:231: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x5ac):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:200: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x5de):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:204: 
> undefined reference to `ap_log_assert'
> fcgi_pm.o(.text+0x6b2): In function `spawn_fs_process':
> /usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:368: undefined reference to 
> `apr_palloc'
> fcgi_pm.o(.text+0x74e):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:395: 
> undefined reference to `ap_error_log2stderr'
> fcgi_pm.o(.text+0x7ba):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:413: 
> undefined reference to `unixd_config'
> fcgi_pm.o(.text+0x8d5): In function `reduce_privileges':
> /usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:765: undefined reference to 
> `unixd_config'
> fcgi_pm.o(.text+0x967):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:801: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x9c0):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:808: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0xa16):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:791: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0xae9): In function `change_process_name':
> /usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:821: undefined reference to 
> `ap_server_argv0'
> fcgi_pm.o(.text+0xbe7): In function `schedule_start':
> /usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:840: undefined reference to 
> `ap_log_error'
> fcgi_pm.o(.text+0xdd6): In function `dynamic_read_msgs':
> /usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:957: undefined reference to 
> `apr_pool_create_ex'
> fcgi_pm.o(.text+0xe89):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1015: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0xec7):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1365: 
> undefined reference to `apr_pool_destroy'
> fcgi_pm.o(.text+0xf30):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1354: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x10a8):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1286: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x1262):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1197: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x12c6):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1058: 
> undefined reference to `apr_pool_create_ex'
> fcgi_pm.o(.text+0x1325):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1077: 
> undefined reference to `apr_pstrdup'
> fcgi_pm.o(.text+0x1330):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1079: 
> undefined reference to `ap_getparents'
> fcgi_pm.o(.text+0x133b):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1080: 
> undefined reference to `ap_no2slash'
> fcgi_pm.o(.text+0x13b7):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1097: 
> undefined reference to `apr_palloc'
> fcgi_pm.o(.text+0x144a):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1101: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x1460):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1343: 
> undefined reference to `apr_pool_destroy'
> fcgi_pm.o(.text+0x14e1):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1140: 
> undefined reference to `apr_pstrdup'
> fcgi_pm.o(.text+0x14f8):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1141: 
> undefined reference to `apr_pstrdup'
> fcgi_pm.o(.text+0x153c):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1144: 
> undefined reference to `apr_pstrdup'
> fcgi_pm.o(.text+0x15cb):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1123: 
> undefined reference to `apr_pstrdup'
> fcgi_pm.o(.text+0x15f3):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1127: 
> undefined reference to `apr_psprintf'
> fcgi_pm.o(.text+0x1741):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:915: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x1783):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:918: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x1978): In function `dynamic_kill_idle_fs_procs':
> /usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1474: undefined reference to 
> `ap_log_error'
> fcgi_pm.o(.text+0x1afb): In function `setup_signals':
> /usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1619: undefined reference to 
> `ap_log_error'
> fcgi_pm.o(.text+0x1b3c):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1615: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x1b80):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1610: 
> more undefined references to `ap_log_error' follow
> fcgi_pm.o(.text+0x2096): In function `fcgi_pm_main':
> /usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1998: undefined reference to 
> `apr_signal_description_get'
> fcgi_pm.o(.text+0x2104):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:2001: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x2129):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1992: 
> undefined reference to `apr_signal_description_get'
> fcgi_pm.o(.text+0x219b):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1990: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x220c):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1984: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x2340):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1760: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x2484):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1862: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x251f):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1869: 
> undefined reference to `ap_log_error'
> fcgi_pm.o(.text+0x2594):/usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1834: 
> more undefined references to `ap_log_error' follow
> fcgi_pm.o(.text+0x2824): In function `fcgi_pm_main':
> /usr/local/mod_fastcgi-2.4.2/fcgi_pm.c:1676: undefined reference to 
> `ap_log_assert'
> fcgi_config.o(.text+0x28): In function `get_host_n_port':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:39: undefined reference to 
> `ap_getword_conf'
> fcgi_config.o(.text+0xca):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:53: 
> undefined reference to `apr_pstrcat'
> fcgi_config.o(.text+0x10f): In function `get_u_short':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:69: undefined reference to 
> `ap_getword_conf'
> fcgi_config.o(.text+0x18d):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:82: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x1c1):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:78: 
> undefined reference to `apr_pstrcat'
> fcgi_config.o(.text+0x1f8): In function `get_int':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:93: undefined reference to 
> `ap_getword_conf'
> fcgi_config.o(.text+0x266):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:108: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x294):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:104: 
> undefined reference to `apr_pstrcat'
> fcgi_config.o(.text+0x2c8): In function `get_u_int':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:122: undefined reference to 
> `ap_getword_conf'
> fcgi_config.o(.text+0x336):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:131: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x360):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:129: 
> undefined reference to `apr_pstrcat'
> fcgi_config.o(.text+0x398): In function `get_float':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:143: undefined reference to 
> `ap_getword_conf'
> fcgi_config.o(.text+0x41d):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:152: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x451):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:150: 
> undefined reference to `apr_pstrcat'
> fcgi_config.o(.text+0x4e7): In function `fcgi_config_set_env_var':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:163: undefined reference to 
> `apr_pstrcat'
> fcgi_config.o(.text+0x525): In function `get_env_var':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:180: undefined reference to 
> `ap_getword_conf'
> fcgi_config.o(.text+0x58a): In function `get_pass_header':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:197: undefined reference to 
> `apr_array_push'
> fcgi_config.o(.text+0x59b):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:198: 
> undefined reference to `ap_getword_conf'
> fcgi_config.o(.text+0x5d4):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:194: 
> undefined reference to `apr_array_make'
> fcgi_config.o(.text+0x635): In function `invalid_value':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:209: undefined reference to 
> `apr_psprintf'
> fcgi_config.o(.text+0x6b6): In function `fcgi_config_set_fcgi_uid_n_gid':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:241: undefined reference to 
> `unixd_config'
> fcgi_config.o(.text+0x6c3):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:245: 
> undefined reference to `unixd_config'
> fcgi_config.o(.text+0x99d): In function `fcgi_config_make_dir':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:364: undefined reference to 
> `apr_psprintf'
> fcgi_config.o(.text+0x9e7):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:337: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x9f8):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:344: 
> undefined reference to `unixd_config'
> fcgi_config.o(.text+0xaac): In function `fcgi_config_make_dynamic_dir':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:382: undefined reference to 
> `apr_pstrcat'
> fcgi_config.o(.text+0xae0):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:385: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0xb17):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:396: 
> undefined reference to `apr_pool_create_ex'
> fcgi_config.o(.text+0xb3c):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:399: 
> undefined reference to `apr_dir_open'
> fcgi_config.o(.text+0xb63):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:404: 
> undefined reference to `apr_dir_read'
> fcgi_config.o(.text+0xb98):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:409: 
> undefined reference to `apr_file_remove'
> fcgi_config.o(.text+0xba5):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:440: 
> undefined reference to `apr_pool_destroy'
> fcgi_config.o(.text+0xbe4): In function `fcgi_config_set_socket_dir':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:457: undefined reference to 
> `ap_check_cmd_context'
> fcgi_config.o(.text+0xc2c):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:464: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0xc7d):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:473: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0xc94):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:478: 
> undefined reference to `apr_pstrdup'
> fcgi_config.o(.text+0xcc2):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:483: 
> undefined reference to `apr_filepath_merge'
> fcgi_config.o(.text+0xce6):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:484: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0xcfd):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:489: 
> undefined reference to `ap_server_root_relative'
> fcgi_config.o(.text+0xd9b): In function `fcgi_config_set_wrapper':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:531: undefined reference to 
> `ap_check_cmd_context'
> fcgi_config.o(.text+0xdd5):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:539: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0xe0b):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:545: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0xee3):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:576: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0xf23):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:564: 
> undefined reference to `apr_filepath_merge'
> fcgi_config.o(.text+0xf59):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:570: 
> undefined reference to `ap_server_root_relative'
> fcgi_config.o(.text+0xf77):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:548: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0xfbc): In function `fcgi_config_new_static_server':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:595: undefined reference to 
> `ap_getword_conf'
> fcgi_config.o(.text+0xfd2):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:599: 
> undefined reference to `apr_palloc'
> fcgi_config.o(.text+0x1004):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:606: 
> undefined reference to `ap_check_cmd_context'
> fcgi_config.o(.text+0x1057):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:616: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x1084):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:619: 
> undefined reference to `apr_filepath_merge'
> fcgi_config.o(.text+0x10ab):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:620: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x10c2):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:624: 
> undefined reference to `ap_server_root_relative'
> fcgi_config.o(.text+0x10cd):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:626: 
> undefined reference to `ap_getparents'
> fcgi_config.o(.text+0x10d8):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:627: 
> undefined reference to `ap_no2slash'
> fcgi_config.o(.text+0x115e):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:634: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x121e):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:681: 
> undefined reference to `ap_getword_conf'
> fcgi_config.o(.text+0x13c3):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:769: 
> undefined reference to `ap_uname2id'
> fcgi_config.o(.text+0x13d4):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:770: 
> undefined reference to `ap_gname2id'
> fcgi_config.o(.text+0x1446):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:792: 
> undefined reference to `apr_palloc'
> fcgi_config.o(.text+0x1564):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:819: 
> undefined reference to `ap_server_root_relative'
> fcgi_config.o(.text+0x15ff):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:766: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x162e):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:761: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x1685):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:774: 
> undefined reference to `ap_log_error'
> fcgi_config.o(.text+0x16d2):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:746: 
> undefined reference to `ap_getword_conf'
> fcgi_config.o(.text+0x1742):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:736: 
> undefined reference to `ap_getword_conf'
> fcgi_config.o(.text+0x17d2):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:716: 
> undefined reference to `ap_getword_conf'
> fcgi_config.o(.text+0x1922): In function 
> `fcgi_config_new_external_server':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:846: undefined reference to 
> `ap_getword_conf'
> fcgi_config.o(.text+0x1935):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:849: 
> undefined reference to `ap_check_cmd_context'
> fcgi_config.o(.text+0x1978):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:856: 
> undefined reference to `apr_pstrcat'
> fcgi_config.o(.text+0x19a2):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:860: 
> undefined reference to `apr_filepath_merge'
> fcgi_config.o(.text+0x19c9):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:861: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x19e0):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:866: 
> undefined reference to `ap_server_root_relative'
> fcgi_config.o(.text+0x19eb):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:868: 
> undefined reference to `ap_getparents'
> fcgi_config.o(.text+0x19f6):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:869: 
> undefined reference to `ap_no2slash'
> fcgi_config.o(.text+0x1a74):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:876: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x1add):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:895: 
> undefined reference to `ap_getword_conf'
> fcgi_config.o(.text+0x1bc8):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:960: 
> undefined reference to `ap_uname2id'
> fcgi_config.o(.text+0x1bd6):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:961: 
> undefined reference to `ap_gname2id'
> fcgi_config.o(.text+0x1c21):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:971: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x1d3f):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:1000: 
> undefined reference to `ap_server_root_relative'
> fcgi_config.o(.text+0x1d89):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:957: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x1db5):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:952: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x1e09):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:965: 
> undefined reference to `ap_log_error'
> fcgi_config.o(.text+0x1e56):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:936: 
> undefined reference to `ap_getword_conf'
> fcgi_config.o(.text+0x1ec3):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:926: 
> undefined reference to `ap_getword_conf'
> fcgi_config.o(.text+0x1f4f):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:902: 
> undefined reference to `ap_getword_conf'
> fcgi_config.o(.text+0x1fcb): In function `fcgi_config_set_config':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:1040: undefined reference 
> to `apr_palloc'
> fcgi_config.o(.text+0x1ff6):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:1042: 
> undefined reference to `ap_check_cmd_context'
> fcgi_config.o(.text+0x203b):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:1050: 
> undefined reference to `ap_getword_conf'
> fcgi_config.o(.text+0x217b):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:1140: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x2199):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:1147: 
> undefined reference to `apr_palloc'
> fcgi_config.o(.text+0x23c4):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:1134: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x2563): In function `fcgi_config_create_dir_config':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:1155: undefined reference 
> to `apr_palloc'
> fcgi_config.o(.text+0x25f4): In function `fcgi_config_new_auth_server':
> /usr/local/mod_fastcgi-2.4.2/fcgi_config.c:1173: undefined reference 
> to `apr_filepath_merge'
> fcgi_config.o(.text+0x261a):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:1174: 
> undefined reference to `apr_psprintf'
> fcgi_config.o(.text+0x2634):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:1179: 
> undefined reference to `ap_server_root_relative'
> fcgi_config.o(.text+0x2777):/usr/local/mod_fastcgi-2.4.2/fcgi_config.c:1187: 
> undefined reference to `apr_psprintf'
> fcgi_buf.o(.text+0x4b): In function `fcgi_buf_new':
> /usr/local/mod_fastcgi-2.4.2/fcgi_buf.c:53: undefined reference to 
> `apr_palloc'
> fcgi_buf.o(.text+0x6fa): In function `array_grow':
> /usr/local/mod_fastcgi-2.4.2/fcgi_buf.c:490: undefined reference to 
> `apr_palloc'
> collect2: ld returned 1 exit status
> apxs:Error: Command failed with rc=65536
>
>
>
>
>
>
>
>
>
>
>
> joe dumoulin wrote:
>
>> Sam,
>> This may be a dumb question, but are the apache apr files in your path?
>> Specifically, is -I and -L set correctly for apxs?  On first blush, it
>> looks to me like you do not have apache headers in your path.
>>
>> I hope this helps,
>> Joe Dumoulin
>>
>>
>> On Fri, 6 May 2005, Sam Pipe wrote:
>>
>>  
>>
>>> Hi Developers,
>>>
>>> I'm currently trying to compile mod_fastCGI in our server and running
>>> into compile errors.  I've looked everywhere and have not been able to
>>> find any advice on how to fix this.
>>>
>>> Here's the server stats and story...
>>>
>>> any help would be most appreciated..!
>>>
>>> Sam
>>>
>>>
>>> ****************************************************
>>>
>>> Server:
>>> Linux  2.4.20-021stab028.3.777-enterprise #1 SMP Wed Feb 2 21:08:59 MSK
>>> 2005 i686 athlon i386 GNU/Linux
>>>
>>> Apache:
>>> Apache/1.3.33 Server
>>>
>>> gcc:
>>>   
>>>
>>>> gcc -v
>>>>     
>>>
>>> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
>>> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
>>> --infodir=/usr/share/info --enable-shared --enable-threads=posix
>>> --disable-checking --with-system-zlib --enable-__cxa_atexit
>>> --host=i386-redhat-linux
>>> Thread model: posix
>>> gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
>>>
>>>
>>> I get the error compiling both mod_fastcgi-2.4.2 and
>>> mod_fastcgi-SNAP-0404142202.
>>>
>>> Run: apxs -o mod_fastcgi.so -c *.c
>>>
>>> /usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic 
>>> -O2
>>> -g -march=i386 -mcpu=i686 -I/usr/kerberos/include
>>> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT
>>> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread
>>> -DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o fcgi_buf.lo fcgi_buf.c
>>> && touch fcgi_buf.slo
>>> /usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic 
>>> -O2
>>> -g -march=i386 -mcpu=i686 -I/usr/kerberos/include
>>> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT
>>> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread
>>> -DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o fcgi_config.lo
>>> fcgi_config.c && touch fcgi_config.slo
>>> /usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic 
>>> -O2
>>> -g -march=i386 -mcpu=i686 -I/usr/kerberos/include
>>> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT
>>> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread
>>> -DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o fcgi_pm.lo fcgi_pm.c &&
>>> touch fcgi_pm.slo
>>> /usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic 
>>> -O2
>>> -g -march=i386 -mcpu=i686 -I/usr/kerberos/include
>>> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT
>>> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread
>>> -DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o fcgi_protocol.lo
>>> fcgi_protocol.c && touch fcgi_protocol.slo
>>> /usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic 
>>> -O2
>>> -g -march=i386 -mcpu=i686 -I/usr/kerberos/include
>>> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT
>>> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread
>>> -DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o fcgi_util.lo 
>>> fcgi_util.c
>>> && touch fcgi_util.slo
>>> /usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic 
>>> -O2
>>> -g -march=i386 -mcpu=i686 -I/usr/kerberos/include
>>> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT
>>> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread
>>> -DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o mod_fastcgi.lo
>>> mod_fastcgi.c && touch mod_fastcgi.slo
>>> /usr/lib/httpd/build/libtool --silent --mode=link gcc -o mod_fastcgi.so
>>> -rpath /usr/lib/httpd/modules -module -avoid-version   mod_fastcgi.lo
>>> fcgi_util.lo fcgi_protocol.lo fcgi_pm.lo fcgi_config.lo fcgi_buf.lo
>>> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): 
>>> In
>>> function `_start':
>>> ../sysdeps/i386/elf/start.S:77: undefined reference to `main'
>>> mod_fastcgi.o(.text+0xdf): In function `send_to_pm':
>>> /home/evolutio/public_html/onedrive/onemanager/applications/onemanagerembeddedapps/mod_fastcgi/mod_fastcgi-2.4.2/mod_fastcgi.c:235: 
>>>
>>>
>>> undefined reference to `ap_log_error'
>>>
>>> then a massive amount of undefined reference errors....
>>>
>>> 3: undefined reference to `apr_palloc'
>>> fcgi_buf.o(.text+0x6fa): In function `array_grow':
>>> /home/evolutio/public_html/onedrive/onemanager/applications/onemanagerembeddedapps/mod_fastcgi/mod_fastcgi-2.4.2/fcgi_buf.c:490: 
>>>
>>>
>>> undefined reference to `apr_palloc'
>>> collect2: ld returned 1 exit status
>>> apxs:Error: Command failed with rc=65536
>>>
>>>
>>>
>>> ___________________________________
>>> fastcgi-developers mailing list
>>> http://fastcgi.com/fastcgi-developers/
>>>
>>>   
>>
>

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.