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

Reply via email to