Hi all, in FreeBSD 5.3 is used gcc 3.4.2 which is more restrictive to the code
than 3.3 and therefore campsite will fail to compile.
As I need campsite running on 3.4 asap, I am trying to use my poor C++ knowledge
to fix the problem.
I will try to inform you about successfull changes I made to the code when
trying to compile 2.1.6beta3 campsite on the new compiller.
I know we are leaving from C++ to PHP and therefore it might be useless, but
before the php version is done, imho we need to support new systems.
changes:
file: implementation/parser/parser/attributes_impl.h
row: 61
text: map
to: typename map
This change gets me to actions.cpp complaining about:
'TK_MYSQL CAction::m_coSql' is private
Which is on lots of places.
Ondra
Cituji z emailu od Ondra Koutek :
> I just consulted this problem with FreeBSD mail conference and the result
> is, that there must be a bug in 3.4 compiller and it should be fixed by
> developers of FreeBSD. Sorry for alarm, I will try to wait for their
> repair.
> Until that Campsite is not compatible with FreeBSD 5.3
>
> Ondra
>
> ----- Original Message -----
> From: "Ondra Koutek"
> To:
> Sent: Wednesday, October 20, 2004 3:38 PM
> Subject: [campsite-dev] Problems to compile campite
>
>
> >I prepare new server and use the latest FreeBSD. As this is long expected
> > branch, I believe there will be lots of upgrades soon. However there is
> > one
> > change in the system:
> >
> > www# c++ -v
> > Using built-in specs.
> > Configured with: FreeBSD/i386 system compiler
> > Thread model: posix
> > gcc version 3.4.2 [FreeBSD] 20040728
> >
> > If I try to compile Parser, I get following error:
> >
> > www# gmake
> > /usr/local/bin/gmake -C parser
> > gmake[1]: Entering directory
> > `/usr/local/src/sites/www.mediaturtle.com/implementation/parser/parser'
> > g++ -c -o actions.o -D_REENTRANT -Wall -I/usr/local/include
> > -DHAVE_GETHOSTBYADDR_R=0 -DHAVE_GETHOSTBYNAME_R=0 -DHAVE_GETSERVBYNAME_R=0
> > actions.cpp
> > In file included from actions.cpp:48:
> > attributes_impl.h: In member function `const Operator&
> > OperatorsMap::operator[](const std::string&) const':
> > attributes_impl.h:61: error: expected `;' before "coIt"
> > attributes_impl.h:62: error: `coIt' undeclared (first use this function)
> > attributes_impl.h:62: error: (Each undeclared identifier is reported only
> > once
> > for each function it appears in.)
> > actions.cpp: In member function `virtual int
> > CActLanguage::takeAction(CContext&, sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:348: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:348: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:349: error: within this context
> > actions.cpp: In member function `virtual int
> > CActInclude::takeAction(CContext&, sockstream&)':
> > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > actions.cpp:369: error: within this context
> > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > actions.cpp:371: error: within this context
> > actions.cpp: In member function `virtual int
> > CActPublication::takeAction(CContext&, sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:408: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:408: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:409: error: within this context
> > actions.cpp: In member function `virtual int
> > CActIssue::takeAction(CContext&,
> > sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:460: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:460: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:461: error: within this context
> > actions.cpp: In member function `virtual int
> > CActSection::takeAction(CContext&, sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:500: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:500: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:501: error: within this context
> > actions.cpp: In member function `virtual int
> > CActArticle::takeAction(CContext&, sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:540: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:540: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:541: error: within this context
> > actions.cpp: In member function `int CActList::WriteArtParam(std::string&,
> > CContext&, std::string&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:634: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:748: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:748: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:749: error: within this context
> > actions.cpp: In member function `virtual int
> > CActList::takeAction(CContext&,
> > sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:973: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:973: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:974: error: within this context
> > actions.cpp: In member function `int CActPrint::BlobField(const char*,
> > const
> > char*)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1267: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1267: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1268: error: within this context
> > actions.cpp: In member function `int CActPrint::DateField(const char*,
> > const
> > char*)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1287: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1287: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1288: error: within this context
> > actions.cpp: In member function `virtual int
> > CActPrint::takeAction(CContext&,
> > sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1333: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1333: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1334: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1344: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1344: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1345: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1398: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1398: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1399: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1403: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1428: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1428: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1429: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1443: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1443: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1444: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1463: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1463: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1464: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1487: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1487: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1488: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1505: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1505: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1506: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1516: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1516: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1517: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1591: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1591: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1592: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1605: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1606: error: within this context
> > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > actions.cpp:1612: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1614: error: within this context
> > actions.cpp: In member function `bool CActIf::AccessAllowed(CContext&,
> > sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1676: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1678: error: within this context
> > actions.cpp: In member function `virtual int CActIf::takeAction(CContext&,
> > sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1946: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1946: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:1947: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2176: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2176: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2177: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2192: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2192: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2193: error: within this context
> > actions.cpp: In member function `virtual int
> > CActDate::takeAction(CContext&,
> > sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2254: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2254: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2255: error: within this context
> > actions.cpp: In member function `virtual int
> > CActSubscription::takeAction(CContext&, sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2279: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2279: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2280: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2293: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2293: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2294: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2304: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2304: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2305: error: within this context
> > actions.cpp: In member function `virtual int
> > CActEdit::takeAction(CContext&,
> > sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2373: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2373: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2374: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2403: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2403: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2404: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2409: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2409: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2410: error: within this context
> > actions.cpp: In member function `virtual int
> > CActSelect::takeAction(CContext&,
> > sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2538: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2538: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2539: error: within this context
> > actions.cpp: In member function `virtual int
> > CActUser::takeAction(CContext&,
> > sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2607: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2607: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2608: error: within this context
> > actions.cpp: In member function `virtual int
> > CActWith::takeAction(CContext&,
> > sockstream&)':
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2671: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2671: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2672: error: within this context
> > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > actions.cpp:2675: error: within this context
> > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > actions.cpp:2677: error: within this context
> > gmake[1]: *** [actions.o] Error 1
> > gmake[1]: Leaving directory
> > `/usr/local/src/sites/www.mediaturtle.com/implementation/parser/parser'
> > gmake: *** [all] Error 2
> > www#
> >
> >
> > I would downgrade the c++ version, but it is not possible, for whole OS
> > and
> > apps are compilled using this version.
> > Is it very difficult to find the problem and fix it?
> > Thank you.
> > Ondra
> >
> > Ondra
> >
>
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
------------------------------------------
Posted to Phorum via PhorumMail
> Hi all, in FreeBSD 5.3 is used gcc 3.4.2 which is more restrictive to the
> code
> than 3.3 and therefore campsite will fail to compile.
> As I need campsite running on 3.4 asap, I am trying to use my poor C++
> knowledge
> to fix the problem.
> I will try to inform you about successfull changes I made to the code when
> trying to compile 2.1.6beta3 campsite on the new compiller.
> I know we are leaving from C++ to PHP and therefore it might be useless, but
> before the php version is done, imho we need to support new systems.
>
> changes:
> file: implementation/parser/parser/attributes_impl.h
> row: 61
> text: map
> to: typename map
>
> This change gets me to actions.cpp complaining about:
> 'TK_MYSQL CAction::m_coSql' is private
>
> Which is on lots of places.
>
> Ondra
>
> Cituji z emailu od Ondra Koutek :
>
> > I just consulted this problem with FreeBSD mail conference and the result
> > is, that there must be a bug in 3.4 compiller and it should be fixed by
> > developers of FreeBSD. Sorry for alarm, I will try to wait for their
> > repair.
> > Until that Campsite is not compatible with FreeBSD 5.3
> >
> > Ondra
> >
> > ----- Original Message -----
> > From: "Ondra Koutek"
> > To:
> > Sent: Wednesday, October 20, 2004 3:38 PM
> > Subject: [campsite-dev] Problems to compile campite
> >
> >
> > >I prepare new server and use the latest FreeBSD. As this is long expected
> > > branch, I believe there will be lots of upgrades soon. However there is
> > > one
> > > change in the system:
> > >
> > > www# c++ -v
> > > Using built-in specs.
> > > Configured with: FreeBSD/i386 system compiler
> > > Thread model: posix
> > > gcc version 3.4.2 [FreeBSD] 20040728
> > >
> > > If I try to compile Parser, I get following error:
> > >
> > > www# gmake
> > > /usr/local/bin/gmake -C parser
> > > gmake[1]: Entering directory
> > > `/usr/local/src/sites/www.mediaturtle.com/implementation/parser/parser'
> > > g++ -c -o actions.o -D_REENTRANT -Wall -I/usr/local/include
> > > -DHAVE_GETHOSTBYADDR_R=0 -DHAVE_GETHOSTBYNAME_R=0
> -DHAVE_GETSERVBYNAME_R=0
> > > actions.cpp
> > > In file included from actions.cpp:48:
> > > attributes_impl.h: In member function `const Operator&
> > > OperatorsMap::operator[](const std::string&) const':
> > > attributes_impl.h:61: error: expected `;' before "coIt"
> > > attributes_impl.h:62: error: `coIt' undeclared (first use this function)
> > > attributes_impl.h:62: error: (Each undeclared identifier is reported only
> > > once
> > > for each function it appears in.)
> > > actions.cpp: In member function `virtual int
> > > CActLanguage::takeAction(CContext&, sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:348: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:348: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:349: error: within this context
> > > actions.cpp: In member function `virtual int
> > > CActInclude::takeAction(CContext&, sockstream&)':
> > > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > > actions.cpp:369: error: within this context
> > > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > > actions.cpp:371: error: within this context
> > > actions.cpp: In member function `virtual int
> > > CActPublication::takeAction(CContext&, sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:408: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:408: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:409: error: within this context
> > > actions.cpp: In member function `virtual int
> > > CActIssue::takeAction(CContext&,
> > > sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:460: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:460: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:461: error: within this context
> > > actions.cpp: In member function `virtual int
> > > CActSection::takeAction(CContext&, sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:500: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:500: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:501: error: within this context
> > > actions.cpp: In member function `virtual int
> > > CActArticle::takeAction(CContext&, sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:540: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:540: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:541: error: within this context
> > > actions.cpp: In member function `int
> CActList::WriteArtParam(std::string&,
> > > CContext&, std::string&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:634: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:748: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:748: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:749: error: within this context
> > > actions.cpp: In member function `virtual int
> > > CActList::takeAction(CContext&,
> > > sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:973: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:973: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:974: error: within this context
> > > actions.cpp: In member function `int CActPrint::BlobField(const char*,
> > > const
> > > char*)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1267: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1267: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1268: error: within this context
> > > actions.cpp: In member function `int CActPrint::DateField(const char*,
> > > const
> > > char*)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1287: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1287: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1288: error: within this context
> > > actions.cpp: In member function `virtual int
> > > CActPrint::takeAction(CContext&,
> > > sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1333: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1333: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1334: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1344: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1344: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1345: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1398: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1398: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1399: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1403: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1428: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1428: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1429: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1443: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1443: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1444: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1463: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1463: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1464: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1487: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1487: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1488: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1505: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1505: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1506: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1516: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1516: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1517: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1591: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1591: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1592: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1605: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1606: error: within this context
> > > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > > actions.cpp:1612: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1614: error: within this context
> > > actions.cpp: In member function `bool CActIf::AccessAllowed(CContext&,
> > > sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1676: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1678: error: within this context
> > > actions.cpp: In member function `virtual int
> CActIf::takeAction(CContext&,
> > > sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1946: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1946: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:1947: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2176: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2176: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2177: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2192: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2192: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2193: error: within this context
> > > actions.cpp: In member function `virtual int
> > > CActDate::takeAction(CContext&,
> > > sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2254: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2254: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2255: error: within this context
> > > actions.cpp: In member function `virtual int
> > > CActSubscription::takeAction(CContext&, sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2279: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2279: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2280: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2293: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2293: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2294: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2304: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2304: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2305: error: within this context
> > > actions.cpp: In member function `virtual int
> > > CActEdit::takeAction(CContext&,
> > > sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2373: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2373: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2374: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2403: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2403: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2404: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2409: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2409: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2410: error: within this context
> > > actions.cpp: In member function `virtual int
> > > CActSelect::takeAction(CContext&,
> > > sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2538: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2538: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2539: error: within this context
> > > actions.cpp: In member function `virtual int
> > > CActUser::takeAction(CContext&,
> > > sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2607: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2607: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2608: error: within this context
> > > actions.cpp: In member function `virtual int
> > > CActWith::takeAction(CContext&,
> > > sockstream&)':
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2671: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2671: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2672: error: within this context
> > > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > > actions.cpp:2675: error: within this context
> > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > actions.cpp:2677: error: within this context
> > > gmake[1]: *** [actions.o] Error 1
> > > gmake[1]: Leaving directory
> > > `/usr/local/src/sites/www.mediaturtle.com/implementation/parser/parser'
> > > gmake: *** [all] Error 2
> > > www#
> > >
> > >
> > > I would downgrade the c++ version, but it is not possible, for whole OS
> > > and
> > > apps are compilled using this version.
> > > Is it very difficult to find the problem and fix it?
> > > Thank you.
> > > Ondra
> > >
> > > Ondra
> > >
> >
> >
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
------------------------------------------
Posted to Phorum via PhorumMail
> file: implementation/parser/parser/actions.h
> row: 178
> fix: both private attributes moved to public section
Not OK; use the attached file. Copy the files I attached here to your sources
and let me know if they compile OK.
Mugur
> file: implementation/parser/parser/attributes.cpp
> row: 36
> text: map
> to: typename map
>
> After these changes parser compiles fine.
> I have no idea if what I did was wrong or not so please chesk it and let me
> know.
>
> After this my notebook instalation crashed again complaining about missing
> mutex.h which I need to find.
>
> Ondra
>
>
> Cituji z emailu od kouteko@tol.cz:
>
> > Hi all, in FreeBSD 5.3 is used gcc 3.4.2 which is more restrictive to the
> > code
> > than 3.3 and therefore campsite will fail to compile.
> > As I need campsite running on 3.4 asap, I am trying to use my poor C++
> > knowledge
> > to fix the problem.
> > I will try to inform you about successfull changes I made to the code when
> > trying to compile 2.1.6beta3 campsite on the new compiller.
> > I know we are leaving from C++ to PHP and therefore it might be useless,
> but
> > before the php version is done, imho we need to support new systems.
> >
> > changes:
> > file: implementation/parser/parser/attributes_impl.h
> > row: 61
> > text: map
> > to: typename map
> >
> > This change gets me to actions.cpp complaining about:
> > 'TK_MYSQL CAction::m_coSql' is private
> >
> > Which is on lots of places.
> >
> > Ondra
> >
> > Cituji z emailu od Ondra Koutek :
> >
> > > I just consulted this problem with FreeBSD mail conference and the result
> > > is, that there must be a bug in 3.4 compiller and it should be fixed by
> > > developers of FreeBSD. Sorry for alarm, I will try to wait for their
> > > repair.
> > > Until that Campsite is not compatible with FreeBSD 5.3
> > >
> > > Ondra
> > >
> > > ----- Original Message -----
> > > From: "Ondra Koutek"
> > > To:
> > > Sent: Wednesday, October 20, 2004 3:38 PM
> > > Subject: [campsite-dev] Problems to compile campite
> > >
> > >
> > > >I prepare new server and use the latest FreeBSD. As this is long
> expected
> > > > branch, I believe there will be lots of upgrades soon. However there is
> > > > one
> > > > change in the system:
> > > >
> > > > www# c++ -v
> > > > Using built-in specs.
> > > > Configured with: FreeBSD/i386 system compiler
> > > > Thread model: posix
> > > > gcc version 3.4.2 [FreeBSD] 20040728
> > > >
> > > > If I try to compile Parser, I get following error:
> > > >
> > > > www# gmake
> > > > /usr/local/bin/gmake -C parser
> > > > gmake[1]: Entering directory
> > > > `/usr/local/src/sites/www.mediaturtle.com/implementation/parser/parser'
> > > > g++ -c -o actions.o -D_REENTRANT -Wall -I/usr/local/include
> > > > -DHAVE_GETHOSTBYADDR_R=0 -DHAVE_GETHOSTBYNAME_R=0
> > -DHAVE_GETSERVBYNAME_R=0
> > > > actions.cpp
> > > > In file included from actions.cpp:48:
> > > > attributes_impl.h: In member function `const Operator&
> > > > OperatorsMap::operator[](const std::string&) const':
> > > > attributes_impl.h:61: error: expected `;' before "coIt"
> > > > attributes_impl.h:62: error: `coIt' undeclared (first use this
> function)
> > > > attributes_impl.h:62: error: (Each undeclared identifier is reported
> only
> > > > once
> > > > for each function it appears in.)
> > > > actions.cpp: In member function `virtual int
> > > > CActLanguage::takeAction(CContext&, sockstream&)':
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:348: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:348: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:349: error: within this context
> > > > actions.cpp: In member function `virtual int
> > > > CActInclude::takeAction(CContext&, sockstream&)':
> > > > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > > > actions.cpp:369: error: within this context
> > > > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > > > actions.cpp:371: error: within this context
> > > > actions.cpp: In member function `virtual int
> > > > CActPublication::takeAction(CContext&, sockstream&)':
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:408: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:408: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:409: error: within this context
> > > > actions.cpp: In member function `virtual int
> > > > CActIssue::takeAction(CContext&,
> > > > sockstream&)':
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:460: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:460: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:461: error: within this context
> > > > actions.cpp: In member function `virtual int
> > > > CActSection::takeAction(CContext&, sockstream&)':
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:500: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:500: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:501: error: within this context
> > > > actions.cpp: In member function `virtual int
> > > > CActArticle::takeAction(CContext&, sockstream&)':
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:540: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:540: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:541: error: within this context
> > > > actions.cpp: In member function `int
> > CActList::WriteArtParam(std::string&,
> > > > CContext&, std::string&)':
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:634: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:748: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:748: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:749: error: within this context
> > > > actions.cpp: In member function `virtual int
> > > > CActList::takeAction(CContext&,
> > > > sockstream&)':
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:973: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:973: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:974: error: within this context
> > > > actions.cpp: In member function `int CActPrint::BlobField(const char*,
> > > > const
> > > > char*)':
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1267: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1267: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1268: error: within this context
> > > > actions.cpp: In member function `int CActPrint::DateField(const char*,
> > > > const
> > > > char*)':
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1287: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1287: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1288: error: within this context
> > > > actions.cpp: In member function `virtual int
> > > > CActPrint::takeAction(CContext&,
> > > > sockstream&)':
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1333: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1333: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1334: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1344: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1344: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1345: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1398: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1398: error: within this context
> > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > actions.cpp:1399: error: within this context
>
=== message truncated ===
thanks. I will.
Next problematic thing was mutex.h missing in tpl-cgi. I added mutex.h and
mutex.cpp to Makefile list (to use the one from parser) and than compiled
again, this change helped and whall campsite seem to go through.
Ondra
Cituji z emailu od Mugur Rus :
> > file: implementation/parser/parser/actions.h
> > row: 178
> > fix: both private attributes moved to public section
> Not OK; use the attached file. Copy the files I attached here to your sources
> and let me know if they compile OK.
>
> Mugur
>
> > file: implementation/parser/parser/attributes.cpp
> > row: 36
> > text: map
> > to: typename map
> >
> > After these changes parser compiles fine.
> > I have no idea if what I did was wrong or not so please chesk it and let me
> > know.
> >
> > After this my notebook instalation crashed again complaining about missing
> > mutex.h which I need to find.
> >
> > Ondra
> >
> >
> > Cituji z emailu od kouteko@tol.cz:
> >
> > > Hi all, in FreeBSD 5.3 is used gcc 3.4.2 which is more restrictive to the
> > > code
> > > than 3.3 and therefore campsite will fail to compile.
> > > As I need campsite running on 3.4 asap, I am trying to use my poor C++
> > > knowledge
> > > to fix the problem.
> > > I will try to inform you about successfull changes I made to the code
> when
> > > trying to compile 2.1.6beta3 campsite on the new compiller.
> > > I know we are leaving from C++ to PHP and therefore it might be useless,
> > but
> > > before the php version is done, imho we need to support new systems.
> > >
> > > changes:
> > > file: implementation/parser/parser/attributes_impl.h
> > > row: 61
> > > text: map
> > > to: typename map
> > >
> > > This change gets me to actions.cpp complaining about:
> > > 'TK_MYSQL CAction::m_coSql' is private
> > >
> > > Which is on lots of places.
> > >
> > > Ondra
> > >
> > > Cituji z emailu od Ondra Koutek :
> > >
> > > > I just consulted this problem with FreeBSD mail conference and the
> result
> > > > is, that there must be a bug in 3.4 compiller and it should be fixed by
> > > > developers of FreeBSD. Sorry for alarm, I will try to wait for their
> > > > repair.
> > > > Until that Campsite is not compatible with FreeBSD 5.3
> > > >
> > > > Ondra
> > > >
> > > > ----- Original Message -----
> > > > From: "Ondra Koutek"
> > > > To:
> > > > Sent: Wednesday, October 20, 2004 3:38 PM
> > > > Subject: [campsite-dev] Problems to compile campite
> > > >
> > > >
> > > > >I prepare new server and use the latest FreeBSD. As this is long
> > expected
> > > > > branch, I believe there will be lots of upgrades soon. However there
> is
> > > > > one
> > > > > change in the system:
> > > > >
> > > > > www# c++ -v
> > > > > Using built-in specs.
> > > > > Configured with: FreeBSD/i386 system compiler
> > > > > Thread model: posix
> > > > > gcc version 3.4.2 [FreeBSD] 20040728
> > > > >
> > > > > If I try to compile Parser, I get following error:
> > > > >
> > > > > www# gmake
> > > > > /usr/local/bin/gmake -C parser
> > > > > gmake[1]: Entering directory
> > > > >
> `/usr/local/src/sites/www.mediaturtle.com/implementation/parser/parser'
> > > > > g++ -c -o actions.o -D_REENTRANT -Wall -I/usr/local/include
> > > > > -DHAVE_GETHOSTBYADDR_R=0 -DHAVE_GETHOSTBYNAME_R=0
> > > -DHAVE_GETSERVBYNAME_R=0
> > > > > actions.cpp
> > > > > In file included from actions.cpp:48:
> > > > > attributes_impl.h: In member function `const Operator&
> > > > > OperatorsMap::operator[](const std::string&) const':
> > > > > attributes_impl.h:61: error: expected `;' before "coIt"
> > > > > attributes_impl.h:62: error: `coIt' undeclared (first use this
> > function)
> > > > > attributes_impl.h:62: error: (Each undeclared identifier is reported
> > only
> > > > > once
> > > > > for each function it appears in.)
> > > > > actions.cpp: In member function `virtual int
> > > > > CActLanguage::takeAction(CContext&, sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:348: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:348: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:349: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActInclude::takeAction(CContext&, sockstream&)':
> > > > > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > > > > actions.cpp:369: error: within this context
> > > > > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > > > > actions.cpp:371: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActPublication::takeAction(CContext&, sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:408: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:408: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:409: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActIssue::takeAction(CContext&,
> > > > > sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:460: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:460: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:461: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActSection::takeAction(CContext&, sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:500: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:500: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:501: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActArticle::takeAction(CContext&, sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:540: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:540: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:541: error: within this context
> > > > > actions.cpp: In member function `int
> > > CActList::WriteArtParam(std::string&,
> > > > > CContext&, std::string&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:634: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:748: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:748: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:749: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActList::takeAction(CContext&,
> > > > > sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:973: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:973: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:974: error: within this context
> > > > > actions.cpp: In member function `int CActPrint::BlobField(const
> char*,
> > > > > const
> > > > > char*)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1267: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1267: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1268: error: within this context
> > > > > actions.cpp: In member function `int CActPrint::DateField(const
> char*,
> > > > > const
> > > > > char*)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1287: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1287: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1288: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActPrint::takeAction(CContext&,
> > > > > sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1333: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1333: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1334: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1344: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1344: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1345: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1398: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1398: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1399: error: within this context
> >
> === message truncated ===
>
>
>
> _______________________________
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download now.
> http://messenger.yahoo.com
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
------------------------------------------
Posted to Phorum via PhorumMail
Thank you again for these files.
The situation is following:
1) First I need to remove mysqld dependency from .modules.dep for Database
module, because MySQL server is on different machine and I do not have MySQL
server installed.
2) I replaced files you sent me
3) I had to change Makefiles for smtp_wrapper and tpl_cgi to compile mutex.o
4) I had to change check4_functions to FreeBSD needs
- Add apache config path /usr/local/etc/apache2
- Add /usr/include/c++/3.4
- change *.conf to httpd.conf for gid and uid of the parser
At this point it seems everything compilled and installed fine except of event
handler, but the problem is more in smtp server access and not in campsite.
Just a note, in campsitectl script ps started to report unknown parameter, but
script works. I need to look at the parameter and find the purpose.
Ondra
On Wednesday 27 of October 2004 05:45, Mugur Rus wrote:
> > file: implementation/parser/parser/actions.h
> > row: 178
> > fix: both private attributes moved to public section
>
> Not OK; use the attached file. Copy the files I attached here to your
> sources and let me know if they compile OK.
>
> Mugur
>
> > file: implementation/parser/parser/attributes.cpp
> > row: 36
> > text: map
> > to: typename map
> >
> > After these changes parser compiles fine.
> > I have no idea if what I did was wrong or not so please chesk it and let
> > me know.
> >
> > After this my notebook instalation crashed again complaining about
> > missing mutex.h which I need to find.
> >
> > Ondra
> >
> > Cituji z emailu od kouteko@tol.cz:
> > > Hi all, in FreeBSD 5.3 is used gcc 3.4.2 which is more restrictive to
> > > the code
> > > than 3.3 and therefore campsite will fail to compile.
> > > As I need campsite running on 3.4 asap, I am trying to use my poor C++
> > > knowledge
> > > to fix the problem.
> > > I will try to inform you about successfull changes I made to the code
> > > when trying to compile 2.1.6beta3 campsite on the new compiller.
> > > I know we are leaving from C++ to PHP and therefore it might be
> > > useless,
> >
> > but
> >
> > > before the php version is done, imho we need to support new systems.
> > >
> > > changes:
> > > file: implementation/parser/parser/attributes_impl.h
> > > row: 61
> > > text: map
> > > to: typename map
> > >
> > > This change gets me to actions.cpp complaining about:
> > > 'TK_MYSQL CAction::m_coSql' is private
> > >
> > > Which is on lots of places.
> > >
> > > Ondra
> > >
> > > Cituji z emailu od Ondra Koutek :
> > > > I just consulted this problem with FreeBSD mail conference and the
> > > > result is, that there must be a bug in 3.4 compiller and it should be
> > > > fixed by developers of FreeBSD. Sorry for alarm, I will try to wait
> > > > for their repair.
> > > > Until that Campsite is not compatible with FreeBSD 5.3
> > > >
> > > > Ondra
> > > >
> > > > ----- Original Message -----
> > > > From: "Ondra Koutek"
> > > > To:
> > > > Sent: Wednesday, October 20, 2004 3:38 PM
> > > > Subject: [campsite-dev] Problems to compile campite
> > > >
> > > > >I prepare new server and use the latest FreeBSD. As this is long
> >
> > expected
> >
> > > > > branch, I believe there will be lots of upgrades soon. However
> > > > > there is one
> > > > > change in the system:
> > > > >
> > > > > www# c++ -v
> > > > > Using built-in specs.
> > > > > Configured with: FreeBSD/i386 system compiler
> > > > > Thread model: posix
> > > > > gcc version 3.4.2 [FreeBSD] 20040728
> > > > >
> > > > > If I try to compile Parser, I get following error:
> > > > >
> > > > > www# gmake
> > > > > /usr/local/bin/gmake -C parser
> > > > > gmake[1]: Entering directory
> > > > > `/usr/local/src/sites/www.mediaturtle.com/implementation/parser/par
> > > > >ser' g++ -c -o actions.o -D_REENTRANT -Wall -I/usr/local/include
> > > > > -DHAVE_GETHOSTBYADDR_R=0 -DHAVE_GETHOSTBYNAME_R=0
> > >
> > > -DHAVE_GETSERVBYNAME_R=0
> > >
> > > > > actions.cpp
> > > > > In file included from actions.cpp:48:
> > > > > attributes_impl.h: In member function `const Operator&
> > > > > OperatorsMap::operator[](const std::string&) const':
> > > > > attributes_impl.h:61: error: expected `;' before "coIt"
> > > > > attributes_impl.h:62: error: `coIt' undeclared (first use this
> >
> > function)
> >
> > > > > attributes_impl.h:62: error: (Each undeclared identifier is
> > > > > reported
> >
> > only
> >
> > > > > once
> > > > > for each function it appears in.)
> > > > > actions.cpp: In member function `virtual int
> > > > > CActLanguage::takeAction(CContext&, sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:348: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:348: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:349: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActInclude::takeAction(CContext&, sockstream&)':
> > > > > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > > > > actions.cpp:369: error: within this context
> > > > > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > > > > actions.cpp:371: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActPublication::takeAction(CContext&, sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:408: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:408: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:409: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActIssue::takeAction(CContext&,
> > > > > sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:460: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:460: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:461: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActSection::takeAction(CContext&, sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:500: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:500: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:501: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActArticle::takeAction(CContext&, sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:540: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:540: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:541: error: within this context
> > > > > actions.cpp: In member function `int
> > >
> > > CActList::WriteArtParam(std::string&,
> > >
> > > > > CContext&, std::string&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:634: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:748: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:748: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:749: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActList::takeAction(CContext&,
> > > > > sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:973: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:973: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:974: error: within this context
> > > > > actions.cpp: In member function `int CActPrint::BlobField(const
> > > > > char*, const
> > > > > char*)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1267: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1267: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1268: error: within this context
> > > > > actions.cpp: In member function `int CActPrint::DateField(const
> > > > > char*, const
> > > > > char*)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1287: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1287: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1288: error: within this context
> > > > > actions.cpp: In member function `virtual int
> > > > > CActPrint::takeAction(CContext&,
> > > > > sockstream&)':
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1333: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1333: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1334: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1344: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1344: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1345: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1398: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1398: error: within this context
> > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > actions.cpp:1399: error: within this context
>
> === message truncated ===
>
>
>
> _______________________________
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download now.
> http://messenger.yahoo.com
------------------------------------------
Posted to Phorum via PhorumMail
> Thank you again for these files.
> The situation is following:
> 1) First I need to remove mysqld dependency from .modules.dep for Database
> module, because MySQL server is on different machine and I do not have MySQL
> server installed.
> 2) I replaced files you sent me
> 3) I had to change Makefiles for smtp_wrapper and tpl_cgi to compile mutex.o
> 4) I had to change check4_functions to FreeBSD needs
> - Add apache config path /usr/local/etc/apache2
> - Add /usr/include/c++/3.4
> - change *.conf to httpd.conf for gid and uid of the parser
>
> At this point it seems everything compilled and installed fine except of
> event
> handler, but the problem is more in smtp server access and not in campsite.
>
> Just a note, in campsitectl script ps started to report unknown parameter,
> but
> script works. I need to look at the parameter and find the purpose.
>
> Ondra
>
> On Wednesday 27 of October 2004 05:45, Mugur Rus wrote:
> > > file: implementation/parser/parser/actions.h
> > > row: 178
> > > fix: both private attributes moved to public section
> >
> > Not OK; use the attached file. Copy the files I attached here to your
> > sources and let me know if they compile OK.
> >
> > Mugur
> >
> > > file: implementation/parser/parser/attributes.cpp
> > > row: 36
> > > text: map
> > > to: typename map
> > >
> > > After these changes parser compiles fine.
> > > I have no idea if what I did was wrong or not so please chesk it and let
> > > me know.
> > >
> > > After this my notebook instalation crashed again complaining about
> > > missing mutex.h which I need to find.
> > >
> > > Ondra
> > >
> > > Cituji z emailu od kouteko@tol.cz:
> > > > Hi all, in FreeBSD 5.3 is used gcc 3.4.2 which is more restrictive to
> > > > the code
> > > > than 3.3 and therefore campsite will fail to compile.
> > > > As I need campsite running on 3.4 asap, I am trying to use my poor C++
> > > > knowledge
> > > > to fix the problem.
> > > > I will try to inform you about successfull changes I made to the code
> > > > when trying to compile 2.1.6beta3 campsite on the new compiller.
> > > > I know we are leaving from C++ to PHP and therefore it might be
> > > > useless,
> > >
> > > but
> > >
> > > > before the php version is done, imho we need to support new systems.
> > > >
> > > > changes:
> > > > file: implementation/parser/parser/attributes_impl.h
> > > > row: 61
> > > > text: map
> > > > to: typename map
> > > >
> > > > This change gets me to actions.cpp complaining about:
> > > > 'TK_MYSQL CAction::m_coSql' is private
> > > >
> > > > Which is on lots of places.
> > > >
> > > > Ondra
> > > >
> > > > Cituji z emailu od Ondra Koutek :
> > > > > I just consulted this problem with FreeBSD mail conference and the
> > > > > result is, that there must be a bug in 3.4 compiller and it should be
> > > > > fixed by developers of FreeBSD. Sorry for alarm, I will try to wait
> > > > > for their repair.
> > > > > Until that Campsite is not compatible with FreeBSD 5.3
> > > > >
> > > > > Ondra
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Ondra Koutek"
> > > > > To:
> > > > > Sent: Wednesday, October 20, 2004 3:38 PM
> > > > > Subject: [campsite-dev] Problems to compile campite
> > > > >
> > > > > >I prepare new server and use the latest FreeBSD. As this is long
> > >
> > > expected
> > >
> > > > > > branch, I believe there will be lots of upgrades soon. However
> > > > > > there is one
> > > > > > change in the system:
> > > > > >
> > > > > > www# c++ -v
> > > > > > Using built-in specs.
> > > > > > Configured with: FreeBSD/i386 system compiler
> > > > > > Thread model: posix
> > > > > > gcc version 3.4.2 [FreeBSD] 20040728
> > > > > >
> > > > > > If I try to compile Parser, I get following error:
> > > > > >
> > > > > > www# gmake
> > > > > > /usr/local/bin/gmake -C parser
> > > > > > gmake[1]: Entering directory
> > > > > > `/usr/local/src/sites/www.mediaturtle.com/implementation/parser/par
> > > > > >ser' g++ -c -o actions.o -D_REENTRANT -Wall -I/usr/local/include
> > > > > > -DHAVE_GETHOSTBYADDR_R=0 -DHAVE_GETHOSTBYNAME_R=0
> > > >
> > > > -DHAVE_GETSERVBYNAME_R=0
> > > >
> > > > > > actions.cpp
> > > > > > In file included from actions.cpp:48:
> > > > > > attributes_impl.h: In member function `const Operator&
> > > > > > OperatorsMap::operator[](const std::string&) const':
> > > > > > attributes_impl.h:61: error: expected `;' before "coIt"
> > > > > > attributes_impl.h:62: error: `coIt' undeclared (first use this
> > >
> > > function)
> > >
> > > > > > attributes_impl.h:62: error: (Each undeclared identifier is
> > > > > > reported
> > >
> > > only
> > >
> > > > > > once
> > > > > > for each function it appears in.)
> > > > > > actions.cpp: In member function `virtual int
> > > > > > CActLanguage::takeAction(CContext&, sockstream&)':
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:348: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:348: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:349: error: within this context
> > > > > > actions.cpp: In member function `virtual int
> > > > > > CActInclude::takeAction(CContext&, sockstream&)':
> > > > > > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > > > > > actions.cpp:369: error: within this context
> > > > > > actions.cpp:157: error: `TK_bool CAction::m_coDebug' is private
> > > > > > actions.cpp:371: error: within this context
> > > > > > actions.cpp: In member function `virtual int
> > > > > > CActPublication::takeAction(CContext&, sockstream&)':
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:408: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:408: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:409: error: within this context
> > > > > > actions.cpp: In member function `virtual int
> > > > > > CActIssue::takeAction(CContext&,
> > > > > > sockstream&)':
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:460: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:460: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:461: error: within this context
> > > > > > actions.cpp: In member function `virtual int
> > > > > > CActSection::takeAction(CContext&, sockstream&)':
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:500: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:500: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:501: error: within this context
> > > > > > actions.cpp: In member function `virtual int
> > > > > > CActArticle::takeAction(CContext&, sockstream&)':
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:540: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:540: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:541: error: within this context
> > > > > > actions.cpp: In member function `int
> > > >
> > > > CActList::WriteArtParam(std::string&,
> > > >
> > > > > > CContext&, std::string&)':
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:634: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:748: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:748: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:749: error: within this context
> > > > > > actions.cpp: In member function `virtual int
> > > > > > CActList::takeAction(CContext&,
> > > > > > sockstream&)':
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:973: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:973: error: within this context
> > > > > > actions.cpp:156: error: `TK_MYSQL CAction::m_coSql' is private
> > > > > > actions.cpp:974: error: within this context
> > > > > > actions.cpp: In member function `int CActPrint::BlobField(const
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
------------------------------------------
Posted to Phorum via PhorumMail