[squid-users] squid and gprof

From: Jack <sa_jill@dont-contact.us>
Date: Fri, 6 Jun 2003 14:23:12 +0530

Hello All,

I tried to compile the squid wirh grof. So i added the "-pg" cflag in the
src/Makefile.

CFLAGS = -g -pg -O2 -Wall -D_REENTRANT

When i make the source i am getting the following error

gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid25S3_1/etc/squid
.conf\" -I. -I. -I../include -I. -I. -I../include -I../include -g -pg -O2
 -Wall -D_REENTRANT -c `test -f cf_gen.c || echo './'`cf_gen.c
gcc -g -pg -O2 -Wall -D_REENTRANT -g -o cf_gen
 cf_gen.o -L../lib -lmiscutil -lpthread -lm -lresolv -lbsd -lnsl
./cf_gen cf.data
make[1]: *** [cf_parser.h] Segmentation fault
make[1]: Leaving directory `/usr/local/src/squid-2.5.STABLE3/src'
make: *** [all-recursive] Error 1

Can anyone guide me where to pass this "-pg" compiler argument correctly.

Regards,
Jack
Received on Fri Jun 06 2003 - 02:53:25 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:16 MST