Bug#356590: FTBFS with G++ 4.1: ... was not declared in this scope
Martin Michlmayr
tbm at cyrius.com
Sun Mar 12 22:07:16 UTC 2006
Package: bayonne
Version: 1.2.15-2
Severity: important
Tags: patch
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
A patch is below.
> Automatic build of bayonne_1.2.15-2 on bigsur by sbuild/mips 1.89
...
> make[2]: Entering directory `/build/tbm/bayonne-1.2.15/server'
> mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -DVERPATH=\"1.2.15\" -g -O2 -I/usr/include/cc++2 -D_GNU_SOURCE -DXML_SCRIPTS -c server.cpp
> server.cpp: In function 'void ost::tgi(int)':
> server.cpp:307: error: 'getInterp' was not declared in this scope
> server.cpp: In function 'void ost::final(int)':
> server.cpp:625: error: 'stopServers' was not declared in this scope
> server.cpp: In function 'void ost::initial(int, char**, int)':
> server.cpp:943: error: 'endKeydata' was not declared in this scope
> server.cpp:1191: error: 'getGroup' was not declared in this scope
> server.cpp:1266: error: 'startServers' was not declared in this scope
> make[2]: *** [server.o] Error 1
[and lots of similar errors later on]
--- ./server/bayonne.h~ 2006-03-12 21:42:18.000000000 +0000
+++ ./server/bayonne.h 2006-03-12 22:00:48.000000000 +0000
@@ -781,6 +781,10 @@
* @author David Sugar <dyfet at ostel.com>
* @short phrase translations dso base for tts.
*/
+
+class Translator;
+Translator *getTranslator(const char *name);
+
class Translator : protected Keydata
{
private:
@@ -1423,6 +1427,10 @@
* @author David Sugar <dyfet at ostel.com>
* @short Request service.
*/
+
+class Request;
+Request *request(TrunkGroup *group, char **argv, unsigned timeout, const char *tag, const char *pid);
+
class Request
{
private:
@@ -1473,6 +1481,10 @@
* @author David Sugar <dyfet at ostel.com>
* @short Trunk group configuration.
*/
+
+class TrunkGroup;
+TrunkGroup *getGroup(const char *name);
+
class TrunkGroup : public Keydata, public CallStat
{
private:
@@ -2938,6 +2950,10 @@
* @author David Sugar <dyfet at ostel.com>
* @short Bayonne audit logging interface.
*/
+
+void audit(Trunk *trunk, char *detail);
+void alog(Trunk *trunk, char *detail);
+
class Audit : public Mutex
{
private:
@@ -3553,6 +3569,10 @@
* @short threaded server service.
* @author David Sugar <dyfet at ostel.com>
*/
+
+void startServers(void);
+void stopServers(void);
+
class Server : public Thread
{
private:
@@ -3625,6 +3645,10 @@
* @short generated sample tone.
* @author David Sugar.
*/
+
+class phTone;
+phTone *getphTone(const char *name);
+
class phTone
{
private:
@@ -3705,6 +3729,11 @@
* @short TGI interpreter module.
* @author David Sugar <dyfet at ostel.com>
*/
+
+class TGI;
+void getInterp(char *cmd, char **args);
+TGI *getInterp(char *cmd);
+
class TGI
{
private:
@@ -3782,6 +3811,12 @@
* @short Module interface class.
* @author David Sugar <dyfet at ostel.com>
*/
+
+class Module;
+Module *getModule(modtype_t mod, const char *name);
+void detachModules(Trunk *trunk);
+void attachModules(Trunk *trunk);
+
class Module : public Script
{
private:
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Pkg-voip-maintainers
mailing list