Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77452 - net-misc/gnugk-2.0.6 compile error
Summary: net-misc/gnugk-2.0.6 compile error
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 18:50 UTC by Daniel Webert
Modified: 2005-07-29 17:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Webert 2005-01-10 18:50:51 UTC
net-misc/gnugk-2.0.6 compile error

installed are
[ebuild   R   ] dev-db/mysql-4.0.23  +berkdb -debug +innodb +perl +readline (-selinux) +ssl -static +tcpd 0 kB 
[ebuild   R   ] dev-db/mysql++-1.7.26  0 kB 
[ebuild   R   ] dev-libs/pwlib-1.8.3  +alsa -debug +esd +ieee1394 +sdl +ssl 0 kB 

same problem 'with USE=-mysql emerge gnugk'

<snip>
>>> emerge (1 of 1) net-misc/gnugk-2.0.6 to /
>>> md5 src_uri ;-) gnugk-2.0.6.tgz
 * mysql USE flag is set, but mysql++ is missing an
 * include file ("/usr/include/mysql++/undef_short")
 * if emerge fails, please try again with
 *     USE=-mysql emerge gnugk
>>> Unpacking source...
>>> Unpacking gnugk-2.0.6.tgz to /var/tmp/portage/gnugk-2.0.6/work
 * Applying gnugk-2.0.6-gentoo.diff ...                                   [ ok ]
>>> Source unpacked.
Makefile:199: warning: overriding commands for target `obj_linux_x86_r/gnugk'
/usr/share/pwlib/make/common.mak:382: warning: ignoring old commands for target `obj_linux_x86_r/gnugk'
g++ -DHAS_MYSQL=1 -I/usr/include/mysql -I/usr/include/mysql++ -DHAS_ACCT=1 -DHAS_RADIUS=1 -DLDAP_HAS_CACHE -DGK_NOANSI -I./ldap/include -D"HAS_LDAP=1" -D"HAS_LEVEL_TWO_LDAPAPI=1" -D"LDAPVERSION=2" -DHAS_WAITARQ=1  -DP_USE_PRAGMA -D_REENTRANT  -fno-exceptions -Wall  -I/usr/share/pwlib/include -DPTRACING -I/usr/include/openh323 -DHAS_OSS -DMAJOR_VERSION=1 -DMINOR_VERSION=15 -DBUILD_NUMBER=2 -Os  -march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -felide-constructors -x c++ -c gkauth.cxx -o obj_linux_x86_r/gkauth.o
g++ -DHAS_MYSQL=1 -I/usr/include/mysql -I/usr/include/mysql++ -DHAS_ACCT=1 -DHAS_RADIUS=1 -DLDAP_HAS_CACHE -DGK_NOANSI -I./ldap/include -D"HAS_LDAP=1" -D"HAS_LEVEL_TWO_LDAPAPI=1" -D"LDAPVERSION=2" -DHAS_WAITARQ=1  -DP_USE_PRAGMA -D_REENTRANT  -fno-exceptions -Wall  -I/usr/share/pwlib/include -DPTRACING -I/usr/include/openh323 -DHAS_OSS -DMAJOR_VERSION=1 -DMINOR_VERSION=15 -DBUILD_NUMBER=2 -Os  -march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -felide-constructors -x c++ -c gkDestAnalysis.cxx -o obj_linux_x86_r/gkDestAnalysis.o
g++ -DHAS_MYSQL=1 -I/usr/include/mysql -I/usr/include/mysql++ -DHAS_ACCT=1 -DHAS_RADIUS=1 -DLDAP_HAS_CACHE -DGK_NOANSI -I./ldap/include -D"HAS_LDAP=1" -D"HAS_LEVEL_TWO_LDAPAPI=1" -D"LDAPVERSION=2" -DHAS_WAITARQ=1  -DP_USE_PRAGMA -D_REENTRANT  -fno-exceptions -Wall  -I/usr/share/pwlib/include -DPTRACING -I/usr/include/openh323 -DHAS_OSS -DMAJOR_VERSION=1 -DMINOR_VERSION=15 -DBUILD_NUMBER=2 -Os  -march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -felide-constructors -x c++ -c gk.cxx -o obj_linux_x86_r/gk.o
In file included from GkStatus.h:29,
                 from RasTbl.h:23,
                 from gkDestAnalysis.h:27,
                 from gkDestAnalysis.cxx:19:
singleton.h:94: error: `InstanceOf' is neither function nor member function; cannot be declared friend
singleton.h:94: error: expected `;' before '<' token
In file included from GkStatus.h:29,
                 from RasTbl.h:23,
                 from gkauth.cxx:29:
singleton.h:94: error: `InstanceOf' is neither function nor member function; cannot be declared friend
singleton.h:94: error: expected `;' before '<' token
In file included from Toolkit.h:21,
                 from RasSrv.h:22,
                 from gk.cxx:30:
singleton.h:94: error: `InstanceOf' is neither function nor member function; cannot be declared friend
singleton.h:94: error: expected `;' before '<' token
singleton.h: In function `T* InstanceOf() [with T = Toolkit]':
Toolkit.h:274:   instantiated from here
singleton.h:150: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:140: error: within this context
Toolkit.h:274:   instantiated from here
singleton.h:151: error: `PMutex Singleton<Toolkit>::m_CreationLock' is private
singleton.h:141: error: within this context
Toolkit.h:274:   instantiated from here
singleton.h:150: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:143: error: within this context
singleton.h:150: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:144: error: within this context
singleton.h:150: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:146: error: within this context
gkauth.cxx:693:19: mysql++: No such file or directory
gkauth.cxx:709: error: `MysqlRes' has not been declared
gkauth.cxx:709: error: ISO C++ forbids declaration of `parameter' with no type
gkauth.cxx:716: error: ISO C++ forbids declaration of `MysqlConnection' with no type
gkauth.cxx:716: error: expected `;' before '*' token
gkauth.cxx:717: error: ISO C++ forbids declaration of `MysqlQuery' with no type
gkauth.cxx:717: error: expected `;' before '*' token
gkauth.cxx: In constructor `MySQLAuthBase::MySQLAuthBase(PConfig*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)':
gkauth.cxx:735: error: class `MySQLAuthBase' does not have any field named `mysql_connection'
gkauth.cxx:735: error: class `MySQLAuthBase' does not have any field named `mysql_query'
gkauth.cxx: At global scope:
gkauth.cxx:748: error: `MysqlRes' has not been declared
gkauth.cxx:749: error: ISO C++ forbids declaration of `result' with no type
gkauth.cxx: In member function `bool MySQLAuthBase::Exec(const PString&, int&)':
gkauth.cxx:750: error: `mysql_connection' undeclared (first use this function)
gkauth.cxx:750: error: (Each undeclared identifier is reported only once for each function it appears in.)
gkauth.cxx:752: error: `mysql_query' undeclared (first use this function)
gkauth.cxx:752: error: `SQLString' undeclared (first use this function)
gkauth.cxx:755: error: `er' undeclared (first use this function)
gkauth.cxx: In member function `PString MySQLAuthBase::GetString(const PString&)':
gkauth.cxx:767: error: `MysqlRes' undeclared (first use this function)
gkauth.cxx:767: error: expected `;' before "result"
gkauth.cxx:768: error: `result' undeclared (first use this function)
gkauth.cxx: In member function `bool MySQLAuthBase::MySQLInit()':
gkauth.cxx:786: error: `mysql_connection' undeclared (first use this function)
gkauth.cxx:786: error: `MysqlConnection' has not been declared
gkauth.cxx:786: error: `mysql_use_exceptions' undeclared (first use this function)
gkauth.cxx:790: error: `mysql_query' undeclared (first use this function)
gkauth.cxx:790: error: `MysqlQuery' has not been declared
gkauth.cxx:806: error: `er' undeclared (first use this function)
gkauth.cxx: In member function `void MySQLAuthBase::Cleanup()':
gkauth.cxx:814: error: `mysql_query' undeclared (first use this function)
gkauth.cxx:816: error: `mysql_connection' undeclared (first use this function)
make: *** [obj_linux_x86_r/gkDestAnalysis.o] Error 1
make: *** Waiting for unfinished jobs....
singleton.h: In function `T* InstanceOf() [with T = Toolkit]':
Toolkit.h:274:   instantiated from here
singleton.h:150: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:140: error: within this context
Toolkit.h:274:   instantiated from here
singleton.h:151: error: `PMutex Singleton<Toolkit>::m_CreationLock' is private
singleton.h:141: error: within this context
Toolkit.h:274:   instantiated from here
singleton.h:150: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:143: error: within this context
singleton.h:150: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:144: error: within this context
singleton.h:150: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:146: error: within this context
singleton.h: In function `T* InstanceOf() [with T = Toolkit]':
Toolkit.h:274:   instantiated from here
singleton.h:150: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:140: error: within this context
Toolkit.h:274:   instantiated from here
singleton.h:151: error: `PMutex Singleton<Toolkit>::m_CreationLock' is private
singleton.h:141: error: within this context
Toolkit.h:274:   instantiated from here
singleton.h:150: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:143: error: within this context
singleton.h:150: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:144: error: within this context
singleton.h:150: error: `SingletonBase*Singleton<Toolkit>::m_Instance' is private
singleton.h:146: error: within this context
make: *** [obj_linux_x86_r/gk.o] Error 1
make: *** [obj_linux_x86_r/gkauth.o] Error 1

!!! ERROR: net-misc/gnugk-2.0.6 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
</snip>
Comment 1 Stefan Knoblich (RETIRED) gentoo-dev 2005-07-29 17:55:33 UTC
ebuild has been obsoleted by gnugk-2.2.x