about squid compiling

From: Arthur Tumanyan <arthurtumanyan@dont-contact.us>
Date: Wed, 25 Jul 2007 00:55:25 -0700 (PDT)

I remove all 'define' s from header file,and try again. there were no
changes.
All the same:
gcc: -lmysqlclient: linker input file unused because linking not done
gcc -Wall -g -O2 -I/usr/local/include/mysql/ -L/usr/local/lib/mysql
-lmysqlclient -g -o cf_gen cf_gen.o debug.o globals.o -L../lib -lmiscutil
-lm
debug.o(.rodata+0x0): In function `debug_log_flush':
/usr/home/seagull/workspace/squid/src/debug.c:139: multiple definition of
`log_file'
cf_gen.o(.rodata+0x0):/usr/home/seagull/workspace/squid/src/cf_gen.c:102:
first defined here
debug.o(.rodata+0x13): In function `debug_log_flush':
/usr/home/seagull/workspace/squid/src/debug.c:143: multiple definition of
`SHAGA_IDENT'
cf_gen.o(.rodata+0x13):/usr/home/seagull/workspace/squid/src/cf_gen.c:104:
first defined here
globals.o(.rodata+0x40): multiple definition of `log_file'
cf_gen.o(.rodata+0x0):/usr/home/seagull/workspace/squid/src/cf_gen.c:102:
first defined here
globals.o(.rodata+0x53): multiple definition of `SHAGA_IDENT'
cf_gen.o(.rodata+0x13):/usr/home/seagull/workspace/squid/src/cf_gen.c:104:
first defined here

There is no anything special in 139 line of debug.c.Nothing to be reson of
this error .

I check cf.data.pre also,to be sure there is no any incompatibilities.I
change 'log_file' variable name multiply,and can't find anything.Any ideas??

-- 
View this message in context: http://www.nabble.com/about-cf.data.pre-and-squid-compiling-tf4044722.html#a11778082
Sent from the Squid - Development mailing list archive at Nabble.com.
Received on Wed Jul 25 2007 - 01:55:31 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:06 MDT