On Wed, 2006-03-29 at 17:42 -0500, Ronald Nissley wrote: > Hi, > > > > I’m trying to compile mod_fastcgi 2.4.2 on an FC5 box, and get: > > > > /usr/lib/apr-1/build/libtool --silent --mode=compile gcc -pthread -O2 > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE > -D_LARGEFILE64_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 > -I/usr/kerberos/include -prefer-pic -c mod_fastcgi.c && touch > mod_fastcgi.slo > > mod_fastcgi.c: In function 'init_module': > > mod_fastcgi.c:270: warning: implicit declaration of function > 'ap_register_cleanup' > > mod_fastcgi.c:270: error: 'ap_null_cleanup' undeclared (first use in > this function) > > mod_fastcgi.c:270: error: (Each undeclared identifier is reported only > once > > mod_fastcgi.c:270: error: for each function it appears in.) > > mod_fastcgi.c: In function 'process_headers': > > mod_fastcgi.c:725: warning: implicit declaration of function > 'ap_psprintf' > > mod_fastcgi.c:725: warning: return makes pointer from integer without > a cast > > mod_fastcgi.c:729: warning: implicit declaration of function > 'ap_pstrdup' > > mod_fastcgi.c:729: warning: assignment makes pointer from integer > without a cast > > mod_fastcgi.c:739: warning: assignment makes pointer from integer > without a cast > > mod_fastcgi.c:748: warning: implicit declaration of function > 'ap_table_set' > > mod_fastcgi.c:753: warning: implicit declaration of function > 'ap_table_add' > > mod_fastcgi.c:768: warning: implicit declaration of function > 'ap_table_get' > > mod_fastcgi.c:768: warning: initialization makes pointer from integer > without a cast > > mod_fastcgi.c:838: warning: return makes pointer from integer without > a cast > > mod_fastcgi.c:842: warning: return makes pointer from integer without > a cast > > mod_fastcgi.c: In function 'set_uid_n_gid': > > mod_fastcgi.c:1022: warning: implicit declaration of function > 'ap_pcalloc' > > mod_fastcgi.c:1022: warning: passing argument 1 of > '__builtin_object_size' makes pointer from integer without a cast > > mod_fastcgi.c:1022: warning: passing argument 1 of > '__builtin_object_size' makes pointer from integer without a cast > > mod_fastcgi.c:1022: warning: passing argument 1 of > '__builtin___memcpy_chk' makes pointer from integer without a cast > > mod_fastcgi.c:1022: warning: passing argument 1 of '__memcpy_ichk' > makes pointer from integer without a cast > > mod_fastcgi.c:1024: warning: assignment makes pointer from integer > without a cast > > mod_fastcgi.c:1033: warning: assignment makes pointer from integer > without a cast > > mod_fastcgi.c:1034: warning: assignment makes pointer from integer > without a cast > > mod_fastcgi.c: In function 'open_connection_to_fs': > > mod_fastcgi.c:1079: warning: dereferencing type-punned pointer will > break strict-aliasing rules > > mod_fastcgi.c: In function 'do_work': > > mod_fastcgi.c:2321: error: 'ap_null_cleanup' undeclared (first use in > this function) > > mod_fastcgi.c: In function 'create_fcgi_request': > > mod_fastcgi.c:2453: warning: implicit declaration of function > 'ap_palloc' > > mod_fastcgi.c:2479: warning: implicit declaration of function > 'ap_make_array' > > mod_fastcgi.c:2479: warning: assignment makes pointer from integer > without a cast > > mod_fastcgi.c:2492: warning: implicit declaration of function > 'ap_make_table' > > mod_fastcgi.c:2492: warning: assignment makes pointer from integer > without a cast > > mod_fastcgi.c: In function 'apache_is_scriptaliased': > > mod_fastcgi.c:2534: warning: initialization makes pointer from integer > without a cast > > mod_fastcgi.c: In function 'post_process_for_redirects': > > mod_fastcgi.c:2557: warning: implicit declaration of function > 'ap_table_unset' > > mod_fastcgi.c:2559: warning: passing argument 1 of > 'ap_internal_redirect_handler' makes pointer from integer without a > cast > > mod_fastcgi.c: In function 'post_process_auth_passed_header': > > mod_fastcgi.c:2615: warning: implicit declaration of function > 'ap_table_setn' > > mod_fastcgi.c: In function 'post_process_auth': > > mod_fastcgi.c:2642: warning: implicit declaration of function > 'ap_table_do' > > mod_fastcgi.c: In function 'check_user_authentication': > > mod_fastcgi.c:2682: warning: implicit declaration of function > 'ap_copy_table' > > mod_fastcgi.c:2682: warning: assignment makes pointer from integer > without a cast > > mod_fastcgi.c:2700: warning: comparison between pointer and integer > > mod_fastcgi.c: In function 'check_user_authorization': > > mod_fastcgi.c:2749: warning: assignment makes pointer from integer > without a cast > > mod_fastcgi.c:2765: warning: comparison between pointer and integer > > mod_fastcgi.c: In function 'check_access': > > mod_fastcgi.c:2809: warning: assignment makes pointer from integer > without a cast > > mod_fastcgi.c:2826: warning: comparison between pointer and integer > > make: *** [mod_fastcgi.slo] Error 1 > > > > I downloaded the mod_fastcgi source from > http://www.fastcgi.com/dist/mod_fastcgi-2.4.2.tar.gz. > > > > httpd-devel-2.2.0-5.1.2 is installed, but I may be missing other > prerequisites, or maybe a library isn’t in the right path, etc… I’m > not sure what to try. I still have an FC4 system, where mod_fastcgi > 2.4.2 compiles with no problems. On both systems, I ran ‘make –d’, and > redirected the output to a file, hoping a difference would shed some > light. Besides the options passed to libtool being slightly different, > the primary difference between the output for the successful > compilation and failed compilation is: > > > > failed: > > > > … > > … > > … > > Putting child 0x08b2c948 (mod_fastcgi.slo) PID 4599 on the chain. > > Live child 0x08b2c948 (mod_fastcgi.slo) PID 4599 > > Got a SIGCHLD; 1 unreaped children. > > Reaping losing child 0x08b2c948 PID 4599 > > Removing child 0x08b2c948 PID 4599 from chain. > > <end of file> > > > > successful: > > > > … > > … > > … > > Putting child 0x0940d1f0 (mod_fastcgi.slo) PID 21834 on the chain. > > Live child 0x0940d1f0 (mod_fastcgi.slo) PID 21834 > > Got a SIGCHLD; 1 unreaped children. > > Reaping winning child 0x0940d1f0 PID 21834 > > Removing child 0x0940d1f0 PID 21834 from chain. > > Successfully remade target file `mod_fastcgi.slo'. > > … > > … > > … > > > > Suggestions are welcomed. ---- are you following any kind of instructions, readme ? I vaguely recall needing httpd-devel, openssl-devel and apr and apr-devel to compile/install You probably should be following instructions. Ruby on Rails? Craig