LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-12-2014, 07:12 AM   #1
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Rep: Reputation: 2
squid error compile for coss ?


coss/store_io_coss.cc: In member function 'virtual StoreIOState::Pointer CossSwapDir::createStoreIO(StoreEntry&, void (*)(void*, int, StoreIOState::Pointer), void (*)(void*, int, StoreIOState::Pointer), void*)':
coss/store_io_coss.cc:151:133: error: declaration of 'callback' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc: In member function 'virtual StoreIOState::Pointer CossSwapDir:penStoreIO(StoreEntry&, void (*)(void*, int, StoreIOState::Pointer), void (*)(void*, int, StoreIOState::Pointer), void*)':
coss/store_io_coss.cc:201:78: error: declaration of 'callback' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc: In member function 'virtual void CossState::read_(char*, size_t, off_t, void (*)(void*, const char*, ssize_t, StoreIOState::Pointer), void*)':
coss/store_io_coss.cc:299:93: error: declaration of 'callback_data' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc:299:93: error: declaration of 'callback' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc:299:93: error: declaration of 'offset' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc:302:18: error: declaration of 'SD' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc: In member function 'virtual void CossState::write(const char*, size_t, off_t, void (*)(void*))':
coss/store_io_coss.cc:338:78: error: declaration of 'offset' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc:353:18: error: declaration of 'SD' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc: In member function 'void CossState::doCallback(int)':
coss/store_io_coss.cc:404:13: error: declaration of 'callback' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc: In member function 'void CossMemBuf::maybeWrite(CossSwapDir*)':
coss/store_io_coss.cc:499:40: error: declaration of 'SD' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc: In member function 'void CossMemBuf::write(CossSwapDir*)':
coss/store_io_coss.cc:514:35: error: declaration of 'SD' shadows a member of 'this' [-Werror=shadow]
cc1plus: all warnings being treated as errors
make[3]: *** [store_io_coss.lo] Error 1
make[3]: Leaving directory `/root/squid-3.4.7/src/fs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.4.7/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/squid-3.4.7/src'
make: *** [all-recursive] Error 1
 
Old 09-14-2014, 10:22 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,948

Rep: Reputation: 5811Reputation: 5811Reputation: 5811Reputation: 5811Reputation: 5811Reputation: 5811Reputation: 5811Reputation: 5811Reputation: 5811Reputation: 5811Reputation: 5811
Quote:
Originally Posted by !! hack-back !! View Post
coss/store_io_coss.cc: In member function 'virtual StoreIOState::Pointer CossSwapDir::createStoreIO(StoreEntry&, void (*)(void*, int, StoreIOState::Pointer), void (*)(void*, int, StoreIOState::Pointer), void*)':
coss/store_io_coss.cc:151:133: error: declaration of 'callback' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc: In member function 'virtual StoreIOState::Pointer CossSwapDir:penStoreIO(StoreEntry&, void (*)(void*, int, StoreIOState::Pointer), void (*)(void*, int, StoreIOState::Pointer), void*)':
coss/store_io_coss.cc:201:78: error: declaration of 'callback' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc: In member function 'virtual void CossState::read_(char*, size_t, off_t, void (*)(void*, const char*, ssize_t, StoreIOState::Pointer), void*)':
coss/store_io_coss.cc:299:93: error: declaration of 'callback_data' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc:299:93: error: declaration of 'callback' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc:299:93: error: declaration of 'offset' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc:302:18: error: declaration of 'SD' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc: In member function 'virtual void CossState::write(const char*, size_t, off_t, void (*)(void*))':
coss/store_io_coss.cc:338:78: error: declaration of 'offset' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc:353:18: error: declaration of 'SD' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc: In member function 'void CossState::doCallback(int)':
coss/store_io_coss.cc:404:13: error: declaration of 'callback' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc: In member function 'void CossMemBuf::maybeWrite(CossSwapDir*)':
coss/store_io_coss.cc:499:40: error: declaration of 'SD' shadows a member of 'this' [-Werror=shadow]
coss/store_io_coss.cc: In member function 'void CossMemBuf::write(CossSwapDir*)':
coss/store_io_coss.cc:514:35: error: declaration of 'SD' shadows a member of 'this' [-Werror=shadow]
cc1plus: all warnings being treated as errors
make[3]: *** [store_io_coss.lo] Error 1
make[3]: Leaving directory `/root/squid-3.4.7/src/fs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.4.7/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/squid-3.4.7/src'
make: *** [all-recursive] Error 1
...and are we supposed to guess as to what you're asking??? You've posted part of a compile error, but don't tell us what version/distro of Linux this is for, what you did to GET this message, where you downloaded the source, what version(s) of things you're running, or provide ANY details at all.

Provide details and ask a clear question.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile squid ? gardenair Linux - Server 3 03-12-2011 06:24 AM
how to recompile squid to enable -enable-storeio=coss ejinh Fedora 2 08-11-2010 04:15 AM
installing squid : service squid start --> error jonaskellens Linux - Software 2 09-05-2008 03:06 AM
compile squid dpballey Slackware 4 10-03-2006 02:25 AM
When trying to compile squid with ssl enabled I get the following error. sanfran49 Linux - Software 0 03-04-2004 04:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration