---------------------------------------- > From: marchywka@xxxxxxxxxxx > To: senthilkumaar2021@xxxxxxxxx; squid-users@xxxxxxxxxxxxxxx > Date: Thu, 25 Feb 2010 06:55:27 -0500 > Subject: RE: Error compiling squid 3.0 stable4 > > > > > > > > ---------------------------------------- >> Date: Thu, 25 Feb 2010 11:38:52 +0530 >> From: senthilkumaar2021@xxxxxxxxx >> To: squid-users@xxxxxxxxxxxxxxx >> Subject: Error compiling squid 3.0 stable4 >> >> Hi All, >> >> When i compile squid 3.0 stable 4 i getting the following error >> >> logfile.cc: In function ‘Logfile* logfileOpen(const char*, size_t, int)’: >> logfile.cc:105: error: invalid conversion from ‘const char*’ to ‘char*’ >> logfile.cc:108: error: invalid conversion from ‘const char*’ to ‘char*’ >> make[3]: *** [logfile.o] Error 1 >> make[3]: Leaving directory `/home/senthil/Downloads/squid-3.0.STABLE9/src' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory `/home/senthil/Downloads/squid-3.0.STABLE9/src' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory `/home/senthil/Downloads/squid-3.0.STABLE9/src' >> make: *** [all-recursive] Error 1 >> > > > Can you post code from this file and build options? As someone who casts away const from > time to time, LOL, there are ways you may be able to satisfy the compiler > but question would be how the code got checked in and called stable. > Sometimes there is confusion over const ptr and const target but I'm > still not sure how it would matter. It is still early here, what compiler are you using? I think I have run into this with some compilers and ptr-targer const issues. Sorry if you posted this, again I've seen stuff like this come up elsewhere and don't know anything about squid source but am curious. > > > >> I am using fedora 12 >> Help me in solving the error >> Thankyou >> >> Regards >> senthil > > _________________________________________________________________ > Hotmail: Trusted email with powerful SPAM protection. > http://clk.atdmt.com/GBL/go/201469227/direct/01/ _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/201469229/direct/01/