[squid-users] Compile errors in cf_gen.c

From: Peter Adkins <peterpower@dont-contact.us>
Date: Sat, 26 Oct 2002 17:23:42 +0200

Hi,

I'm trying to compile Squid-2.5.STABLE1 on a Slackware 8.1 server. It goes
always good, but not at the moment not...

This is what I get when doing 'make'.

make[1]: Entering directory `/data/packages/squid-2.5.STABLE1/src'
gcc -g -Wall -g -o cf_gen
 cf_gen.o -L../lib -lmiscutil -lm -lresolv -lnsl
cf_gen.o(.text+0x43b): In function `main':
/data/packages/squid-2.5.STABLE1/src/cf_gen.c:200: undefined reference to
`__ctype_b'
cf_gen.o(.text+0x4ab):/data/packages/squid-2.5.STABLE1/src/cf_gen.c:205:
undefined reference to `__ctype_b'
cf_gen.o(.text+0x51b):/data/packages/squid-2.5.STABLE1/src/cf_gen.c:210:
undefined reference to `__ctype_b'
../lib/libmiscutil.a(util.o)(.text+0x5a2): In function `xcountws':
/data/packages/squid-2.5.STABLE1/lib/util.c:692: undefined reference to
`__ctype_b'
collect2: ld returned 1 exit status
make[1]: *** [cf_gen] Error 1
make[1]: Leaving directory `/data/packages/squid-2.5.STABLE1/src'
make: *** [all-recursive] Error 1

cf_gen.c:205 and 210 contains the same line
while (xisspace(*ptr))

Have someone the same problem and how can I solve it?

Peter
Received on Sat Oct 26 2002 - 09:23:14 MDT

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