-
Associate
Compiling Apache and gcc3
Running Redhat 7.2
I've got a copy of Apache 2.0.35. It was originally a binary distribution, but I need to re-compile it so I can get DSO support so I can throw mod_throttle in, and i'm getting errors, can anyone help?
Here's a copy of the error: It compiles fine for awhile up to that, but barfs on that.
make[2]: Entering directory `/home/Nicolaus/inststf/httpd-2.0.35/support'
/bin/sh /home/Nicolaus/inststf/httpd-2.0.35/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I. -I/home/Nicolaus/inststf/httpd-2.0.35/os/unix -I/home/Nicolaus/inststf/httpd-2.0.35/server/mpm/prefork -I/home/Nicolaus/inststf/httpd-2.0.35/modules/http -I/home/Nicolaus/inststf/httpd-2.0.35/modules/proxy -I/home/Nicolaus/inststf/httpd-2.0.35/include -I/home/Nicolaus/inststf/httpd-2.0.35/srclib/apr/include -I/home/Nicolaus/inststf/httpd-2.0.35/srclib/apr-util/include -I/home/Nicolaus/inststf/httpd-2.0.35/modules/dav/main -I/home/Nicolaus/inststf/httpd-2.0.35/srclib/apr-util/include -export-dynamic -o htpasswd htpasswd.lo /home/Nicolaus/inststf/httpd-2.0.35/srclib/apr-util/libaprutil.la /home/Nicolaus/inststf/httpd-2.0.35/srclib/apr/libapr.la -lm -lcrypt -lnsl -ldl -lgdbm -ldb /usr/lib/libexpat.la
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
htpasswd.o: In function `main':
/home/Nicolaus/inststf/httpd-2.0.35/support/htpasswd.c:613: the use of `tmpnam' is dangerous, better use `mkstemp'
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/home/Nicolaus/inststf/httpd-2.0.35/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Nicolaus/inststf/httpd-2.0.35/support'
make: *** [all-recursive] Error 1
Here's a copy of the offending line:
tempfilename = tmpnam(tname_buf);
-
Associate
Re:Compiling Apache and gcc3
Nevermind... after majorly screwing a couple things up, I decided to just wipe the thing and install RH7.3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks