mod_fastcgi apache1.3.33 compile errors

"Sam Pipe (embedded apps)" <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Organization evolutionone
Message-ID <[email protected]>
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/
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.