Hello, So I did the export:
export ac_cv_func_malloc_0_nonnull=yes Then I did "make clean", "./configure", and "make clean" and then make. Success: gcc -pthread -o pound pound.o http.o config.o svc.o -lssl -lcrypto -lresolv -ldl -lm -ltcmalloc gcc -DF_CONF=\"/usr/local/etc/pound.cfg\" -DVERSION=\""2.5"\" -DC_SSL=\"""\" -DC_T_RSA=\""0"\" -DC_MAXBUF=\""0"\" -DC_OWNER=\"""\" -DC_GROUP=\"""\" -DC_SUPER=\""0"\" -DC_CERT1L=\"""\" -g -O2 -pthread -DUPER -DNEED_STACK -DHAVE_SYSLOG_H=1 -pthread -D_REENTRANT -D_THREAD_SAFE -Wstrict-prototypes -pipe -c -o poundctl.o poundctl.c gcc -pthread -o poundctl poundctl.o -lssl -lcrypto -lresolv -ldl -lm -ltcmalloc Thanks! -- jake -----Original Message----- From: Simon Matter [mailto:[email protected]] Sent: Wednesday, February 03, 2010 2:39 AM To: [email protected] Subject: Re: [Pound Mailing List] rpl_malloc > Hello, > > I just installed an updated Centos 5 distro with the new google perftools > (1.5) and PCRE and pound 2.5. Ran configure and make with pound. The make > finished with a link error on rpl_malloc (undefined symbol). I commented > out > the re-def of malloc to rpl_malloc in the config.h generated by configure > and make/make-install was successful. > > FYI. > > I did not use any special command line options. I did a > configure/make/make-install on perftools and then did the pound build. Interesting, I don't need anything special with google perftools 1.5 on CentOS 5.4, but I need the following hack before the configure call on CentOS 3.9 (on x86_64 only): export ac_cv_func_malloc_0_nonnull=yes Could you try this? Regards, Simon -- To unsubscribe send an email with subject unsubscribe to [email protected]. Please contact [email protected] for questions. -- To unsubscribe send an email with subject unsubscribe to [email protected]. Please contact [email protected] for questions.
