Hi, I am trying to build Pound on Solaris 9 (sparc) and am having problems with the make.
I have OpenSSL, PCRE, Hoard (libhoard_32.so) and libpthread installed as instructed. The <code>./configure --with-ssl=/usr/local/ssl</code> works fine, but the make fails: <code> # make "gcc" -DF_CONF=\"/usr/local/etc/pound.cfg\" -DVERSION=\""2.4.3"\" -DC_SSL=\""/usr/local/ssl"\" -DC_T_RSA=\""0"\" -DC_MAXBUF=\""0"\" -DC_OWNER=\"""\" -DC_GROUP=\"""\" -DC_SUPER=\""0"\" -DC_CERT1L=\""0"\" -g -O2 -D_REENTRANT -pthread -DUPER -DNEED_STACK -DHAVE_SYSLOG_H=1 -DMISS_FACILITYNAMES -D_REENTRANT -pthread -I/usr/local/ssl/include -D_REENTRANT -D_THREAD_SAFE -Wstrict-prototypes -pipe -c -o pound.o pound.c gcc: unrecognized option `-pthread' gcc: unrecognized option `-pthread' "gcc" -DF_CONF=\"/usr/local/etc/pound.cfg\" -DVERSION=\""2.4.3"\" -DC_SSL=\""/usr/local/ssl"\" -DC_T_RSA=\""0"\" -DC_MAXBUF=\""0"\" -DC_OWNER=\"""\" -DC_GROUP=\"""\" -DC_SUPER=\""0"\" -DC_CERT1L=\""0"\" -g -O2 -D_REENTRANT -pthread -DUPER -DNEED_STACK -DHAVE_SYSLOG_H=1 -DMISS_FACILITYNAMES -D_REENTRANT -pthread -I/usr/local/ssl/include -D_REENTRANT -D_THREAD_SAFE -Wstrict-prototypes -pipe -c -o http.o http.c gcc: unrecognized option `-pthread' gcc: unrecognized option `-pthread' "gcc" -DF_CONF=\"/usr/local/etc/pound.cfg\" -DVERSION=\""2.4.3"\" -DC_SSL=\""/usr/local/ssl"\" -DC_T_RSA=\""0"\" -DC_MAXBUF=\""0"\" -DC_OWNER=\"""\" -DC_GROUP=\"""\" -DC_SUPER=\""0"\" -DC_CERT1L=\""0"\" -g -O2 -D_REENTRANT -pthread -DUPER -DNEED_STACK -DHAVE_SYSLOG_H=1 -DMISS_FACILITYNAMES -D_REENTRANT -pthread -I/usr/local/ssl/include -D_REENTRANT -D_THREAD_SAFE -Wstrict-prototypes -pipe -c -o config.o config.c gcc: unrecognized option `-pthread' gcc: unrecognized option `-pthread' config.c: In function `t_hash': config.c:370: warning: this decimal constant is unsigned only in ISO C90 "gcc" -DF_CONF=\"/usr/local/etc/pound.cfg\" -DVERSION=\""2.4.3"\" -DC_SSL=\""/usr/local/ssl"\" -DC_T_RSA=\""0"\" -DC_MAXBUF=\""0"\" -DC_OWNER=\"""\" -DC_GROUP=\"""\" -DC_SUPER=\""0"\" -DC_CERT1L=\""0"\" -g -O2 -D_REENTRANT -pthread -DUPER -DNEED_STACK -DHAVE_SYSLOG_H=1 -DMISS_FACILITYNAMES -D_REENTRANT -pthread -I/usr/local/ssl/include -D_REENTRANT -D_THREAD_SAFE -Wstrict-prototypes -pipe -c -o svc.o svc.c gcc: unrecognized option `-pthread' gcc: unrecognized option `-pthread' svc.c: In function `hash_backend': svc.c:438: warning: this decimal constant is unsigned only in ISO C90 "gcc" -L/usr/local/ssl/lib -D_REENTRANT -pthread -o pound pound.o http.o config.o svc.o -lpcreposix -lssl -lcrypto -lresolv -lsocket -lnsl -ldl -lm -lhoard gcc: unrecognized option `-pthread' Undefined first referenced symbol in file rpl_malloc pound.o ld: fatal: Symbol referencing errors. No output written to pound collect2: ld returned 1 exit status make: *** [pound] Error 1 </code> By editing Makefile and replacing all instances of -pthread with -pthreads the <code>gcc: unrecognized option `-pthread'</code> error message disappears, but I am still left with the "Undefined symbol rpl_malloc" error. Cheers, Jim Jim Leek Web Development Officer Department of Engineering Science University of Oxford (01865) 273904 -- To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED] Please contact [EMAIL PROTECTED] for questions.
