Package: vpb-driver
Version: 4.2.36-1
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of vpb-driver_4.2.36-1 on em64t by sbuild/amd64 0.53
...
> /usr/bin/make -C obj_shared/src/libtoneg
> make[1]: Entering directory 
> `/build/tbm/vpb-driver-4.2.36/obj_shared/src/libtoneg'
> x86_64-linux-gnu-g++ -O3 -Wall -W -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wformat=2 -Wno-format-nonliteral -Wfloat-equal -Wwrite-strings 
> -Woverloaded-virtual  -D_FILE_OFFSET_BITS=64 -D_REENTRANT -MMD -fPIC 
> -I../../../include  -c -o tonegen.o ../../../src/libtoneg/tonegen.cpp
> In file included from ../../../src/libtoneg/tonegen.cpp:25:
> ../../../include/vt/tonegen.h:847: error: 'int16_t' has not been declared
> ../../../include/vt/tonegen.h:880: error: 'int16_t' has not been declared
> ../../../src/libtoneg/tonegen.cpp:47: error: variable or field 'GetSamples' 
> declared void
> ../../../include/vt/tonegen.h:821: error: 'class HostToneGen::Oscillator' is 
> private
> ../../../src/libtoneg/tonegen.cpp:47: error: within this context
> ../../../src/libtoneg/tonegen.cpp:47: error: 'int16_t' was not declared in 
> this scope
> ../../../src/libtoneg/tonegen.cpp:47: error: 'buf' was not declared in this 
> scope
> ../../../src/libtoneg/tonegen.cpp:47: error: expected primary-expression 
> before 'n'
> make[1]: *** [tonegen.o] Error 1
> make[1]: Leaving directory 
> `/build/tbm/vpb-driver-4.2.36/obj_shared/src/libtoneg'

--- include/vt/tonegen.h~       2008-11-09 08:07:54.000000000 +0000
+++ include/vt/tonegen.h        2008-11-09 08:08:02.000000000 +0000
@@ -32,6 +32,7 @@
 #ifndef _VT_TONEGEN_H
 #define _VT_TONEGEN_H
 
+#include <stdint.h>
 #include <vector>
 #include <string>
 
--- src/libvpb/callmonitor.cpp~ 2008-11-09 08:10:40.000000000 +0000
+++ src/libvpb/callmonitor.cpp  2008-11-09 08:11:36.000000000 +0000
@@ -29,6 +29,7 @@
 #include "mapdev.h"
 #include "mess.h"
 
+#include <stdio.h>
 #include <fcntl.h>
 
 using std::string;
--- src/libvpb/cidg.cpp~        2008-11-09 08:11:58.000000000 +0000
+++ src/libvpb/cidg.cpp 2008-11-09 08:12:05.000000000 +0000
@@ -37,6 +37,7 @@
 #include "modulate.h"
 #include "mess.h"
 
+#include <cstdio>
 #include <cstring>
 
 
--- src/libvpb/vtcore.cpp~      2008-11-09 08:13:12.000000000 +0000
+++ src/libvpb/vtcore.cpp       2008-11-09 08:13:28.000000000 +0000
@@ -31,6 +31,7 @@
 #include <fcntl.h>
 #include <assert.h>
 #include <errno.h>
+#include <stdio.h>
 
 #include "vtcore.h"
 #include "vtcore_ioctl.h"
--- src/libvpb/playrec.cpp~     2008-11-09 08:14:12.000000000 +0000
+++ src/libvpb/playrec.cpp      2008-11-09 08:14:22.000000000 +0000
@@ -42,6 +42,7 @@
 #include "alawmulaw.h"
 }
 #include <cassert>
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 #include <cmath>
--- src/libvpb/transevt.cpp~    2008-11-09 08:16:45.000000000 +0000
+++ src/libvpb/transevt.cpp     2008-11-09 08:16:53.000000000 +0000
@@ -34,6 +34,7 @@
 #include "call.h"
 
 #include <cassert>
+#include <cstdio>
 #include <cstring>
 
 static const char *tonestr[] = {
--- src/libvpb/utilfuncs.cpp~   2008-11-09 08:17:41.000000000 +0000
+++ src/libvpb/utilfuncs.cpp    2008-11-09 08:17:48.000000000 +0000
@@ -30,6 +30,7 @@
 #include "utilfuncs.h"
 #include "mess.h"
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 #include <fcntl.h>
--- src/libvpb/vpbapi.cpp~      2008-11-09 08:17:57.000000000 +0000
+++ src/libvpb/vpbapi.cpp       2008-11-09 08:18:05.000000000 +0000
@@ -59,6 +59,7 @@
 
 #include <cassert>
 #include <cstdarg>
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 #include <csetjmp>
--- src/libvpb/vpbreg.cpp~      2008-11-09 08:19:03.000000000 +0000
+++ src/libvpb/vpbreg.cpp       2008-11-09 08:19:50.000000000 +0000
@@ -35,6 +35,7 @@
 #include "verbose.h"
 
 #include <cassert>
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 #include <fcntl.h>
--- src/libvpb/vpbtoned.cpp~    2008-11-09 08:20:55.000000000 +0000
+++ src/libvpb/vpbtoned.cpp     2008-11-09 08:21:02.000000000 +0000
@@ -35,6 +35,7 @@
 #include "objtrack.h"
 //#include "mess.h"
 
+#include <cstdio>
 #include <cstring>
 #include <cassert>
 #include <climits>
--- src/libvpb/wave.cpp~        2008-11-09 08:21:25.000000000 +0000
+++ src/libvpb/wave.cpp 2008-11-09 08:21:31.000000000 +0000
@@ -36,6 +36,7 @@
 
 #include "apifunc.h"
 
+#include <cstdio>
 #include <cstring>
 #include <cmath>
 
--- src/utils/bridgeports.cpp~  2008-11-09 08:21:57.000000000 +0000
+++ src/utils/bridgeports.cpp   2008-11-09 08:22:03.000000000 +0000
@@ -27,6 +27,7 @@
 
 #include <string>
 #include <cstring>
+#include <cstdio>
 #include <cstdlib>
 
 using std::string;
--- src/utils/dtmfcheck.cpp~    2008-11-09 08:22:33.000000000 +0000
+++ src/utils/dtmfcheck.cpp     2008-11-09 08:22:38.000000000 +0000
@@ -26,6 +26,7 @@
 #include "vpbapi.h"
 #include "dtmf.h"
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 #include <cmath>
--- src/utils/scanerl.h~        2008-11-09 08:22:46.000000000 +0000
+++ src/utils/scanerl.h 2008-11-09 08:22:52.000000000 +0000
@@ -24,6 +24,7 @@
 
 #include <vpbapi.h>
 #include <math.h>
+#include <cstdio>
 
 #define N              160     // size of processing frame
 #define MNSAM           40      // number of frames to sample
--- src/utils/playwav.cpp~      2008-11-09 08:23:02.000000000 +0000
+++ src/utils/playwav.cpp       2008-11-09 08:23:07.000000000 +0000
@@ -27,6 +27,7 @@
 #include "vpbapi.h"
 //#include "threads.h"  // for billware
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 
--- src/utils/raw2wav.cpp~      2008-11-09 08:23:13.000000000 +0000
+++ src/utils/raw2wav.cpp       2008-11-09 08:23:20.000000000 +0000
@@ -25,6 +25,7 @@
 
 #include "vpbapi.h"
 
+#include <cstdio>
 #include <cstdlib>
 #include <fcntl.h>
 
--- src/utils/recwav.cpp~       2008-11-09 08:23:27.000000000 +0000
+++ src/utils/recwav.cpp        2008-11-09 08:23:32.000000000 +0000
@@ -32,6 +32,7 @@
 
 #include "vpbapi.h"
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 
--- src/utils/ringstat.cpp~     2008-11-09 08:23:56.000000000 +0000
+++ src/utils/ringstat.cpp      2008-11-09 08:24:03.000000000 +0000
@@ -31,6 +31,7 @@
 #include "verbose.h"
 #include "kbhit.h"
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 #include <csignal>
--- src/utils/sendcid.cpp~      2008-11-09 08:24:20.000000000 +0000
+++ src/utils/sendcid.cpp       2008-11-09 08:24:25.000000000 +0000
@@ -25,6 +25,7 @@
 
 #include "vpbapi.h"
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 
--- src/utils/tonedebug.cpp~    2008-11-09 08:24:45.000000000 +0000
+++ src/utils/tonedebug.cpp     2008-11-09 08:24:51.000000000 +0000
@@ -40,6 +40,7 @@
 #include "kbhit.h"
 
 #include <cassert>
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 
--- src/utils/tonegen.cpp~      2008-11-09 08:24:59.000000000 +0000
+++ src/utils/tonegen.cpp       2008-11-09 08:25:04.000000000 +0000
@@ -27,6 +27,7 @@
 #include "vpbapi.h"
 #include "kbhit.h"
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 
--- src/utils/tonetrain.cpp~    2008-11-09 08:25:16.000000000 +0000
+++ src/utils/tonetrain.cpp     2008-11-09 08:25:21.000000000 +0000
@@ -31,6 +31,7 @@
 #include "vpbapi.h"
 
 #include <cassert>
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 #include <cmath>
--- src/utils/vpbecho.cpp~      2008-11-09 08:25:28.000000000 +0000
+++ src/utils/vpbecho.cpp       2008-11-09 08:25:35.000000000 +0000
@@ -36,6 +36,7 @@
 #include "kbhit.h"
 //#include "threads.h"  // for billware
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to