Hi, I know this message is a bit old, but I ran into the same problem... and yes I was using Simon's source RPM.
The only solution I found was to do the following before running configure or building the RPM: export ac_cv_func_malloc_0_nonnull=yes I also had to un-install google-perftools otherwise pound would just seg fault. I am still trying to figure this part out, but at least I have it where it appears to run now. If anyone has any thoughts pelase let me know. Anyway, in case anyone else has this problem, that was how I fixed it. I am running an up-to-date CentOS 5.4 x32 running under XEN (possibly related???). John D. On Sat, Jun 20, 2009 at 2:55 AM, Simon Matter <simon.mat...@invoca.ch>wrote: > > Hello, > > > > I am trying to build pound 2.4.4 against PCRE and google-perftools. > > > > (a) installed PCRE using "yum install pcre-devel" > > > > (b) downloaded, extracted, and built the google-perftools from the google > > code site. Using version 1.3. No problems here. > > > > (c) added "/usr/local/lib" to the ld.so.conf just to be sure (that's > where > > the tmalloc libs are located). > > > > (d) ran "./configure" in the pound source directory > > > > (e) ran "make" > > > > Got this error: > > > > # make > > gcc -pthread -o pound pound.o http.o config.o svc.o -lpcreposix -lssl > > -lcrypto -lresolv -ldl -lm -ltcmalloc > > pound.o: In function `main': > > /opt/Pound-Perf-2.4.4/pound.c:421: undefined reference to `rpl_malloc' > > /opt/Pound-Perf-2.4.4/pound.c:428: undefined reference to `rpl_malloc' > > http.o: In function `get_headers': > > /opt/Pound-Perf-2.4.4/http.c:386: undefined reference to `rpl_malloc' > > /opt/Pound-Perf-2.4.4/http.c:404: undefined reference to `rpl_malloc' > > config.o: In function `file2str': > > /opt/Pound-Perf-2.4.4/config.c:602: undefined reference to `rpl_malloc' > > config.o:/opt/Pound-Perf-2.4.4/config.c:113: more undefined references to > > `rpl_malloc' follow > > collect2: ld returned 1 exit status > > make: *** [pound] Error 1 > > > > This is on an updated CentOS 5.3 (ran yum update just before all of > this). > > You may want to try my RPMs http://www.invoca.ch/pub/packages/pound/ > > Regards, > Simon > > > -- > To unsubscribe send an email with subject unsubscribe to po...@apsis.ch. > Please contact ro...@apsis.ch for questions. > -- To unsubscribe send an email with subject unsubscribe to po...@apsis.ch. Please contact ro...@apsis.ch for questions.