Re: [squid-users] 2.4.Stable7 doesn't compile under Slackware 7.1

From: Henrik Nordstrom <[email protected]>
Date: Thu, 22 Aug 2002 01:01:15 +0200

"Ethy H. Brito" wrote:

> awk -f ./cf_gen_defines <./cf.data.pre >cf_gen_defines.h
> gcc -g -O2 -Wall -I. -I../include -I../include -c -o cf_gen.o
> cf_gen.c gcc -o cf_gen -g cf_gen.o -L../lib -lmiscutil -lm -lresolv \
> -lnsl
> ./cf_gen cf.data
> make[1]: *** [cf_parser.c] Segmentation fault
> make[1]: *** Deleting file `cf_parser.c'
> make[1]: Leaving directory `/usr/local/src/squid-2.4.STABLE7/src'
> make: *** [all] Error 1
>
> Repeating the make stops in the very same place (./cf_gen cf.data)
>
> Just for the records: squid-2.4.STABLE4 compiles without a flaw just
> like the kernel. I did not tested any other squid version (must I?).

Odd. The cf_gen program is identical in the 2.4.STABLE4 and 2.4.STABLE7
releases.

Can you run the failing command manually?

If it segfaults when run manually, can you please debug it a little to
try to figure out where it crashes..

  gdb ./cf_gen
     run cf.data
     backtrace

Regards
Henrik
Received on Wed Aug 21 2002 - 18:13:32 MDT

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