[zaptel-source]: Compile error in Debian/Testing

Stephan Seitz nur-ab-sal at gmx.de
Wed Mar 8 12:26:46 UTC 2006


Hi!

I'm trying to build the zaptel modules (Debian/Testing).

asterisk:/usr/src/modules/zaptel# gcc --version
gcc (GCC) 4.0.3 20060212 (prerelease) (Debian 4.0.2-9)

asterisk:/usr/src/modules/zaptel# debian/rules binary-modules
....
CC [M]  /usr/src/modules/zaptel/xpp/xpp_usb.o
In file included from /usr/src/modules/zaptel/xpp/xpd.h:27,
                 from /usr/src/modules/zaptel/xpp/xpp_usb.c:40:
/usr/src/modules/zaptel/xpp/xproto.h:131: warning: type qualifiers ignored on function return type
/usr/src/modules/zaptel/xpp/xproto.h:134: warning: type qualifiers ignored on function return type
/usr/src/modules/zaptel/xpp/xpp_usb.c:349: error: initializer element is not constant
/usr/src/modules/zaptel/xpp/xpp_usb.c:349: error: (near initialization for ‘xusb_table[0].driver_info’)
/usr/src/modules/zaptel/xpp/xpp_usb.c:352: error: initializer element is not constant
/usr/src/modules/zaptel/xpp/xpp_usb.c:352: error: (near initialization for ‘xusb_table[1].driver_info’)
/usr/src/modules/zaptel/xpp/xpp_usb.c: In function ‘set_endpoints’:
/usr/src/modules/zaptel/xpp/xpp_usb.c:426: warning: ISO C90 forbids mixed declarations and code
/usr/src/modules/zaptel/xpp/xpp_usb.c: In function ‘xusb_read_proc’:
/usr/src/modules/zaptel/xpp/xpp_usb.c:832: warning: ISO C90 forbids mixed declarations and code
make[4]: *** [/usr/src/modules/zaptel/xpp/xpp_usb.o] Fehler 1
make[3]: *** [/usr/src/modules/zaptel/xpp] Fehler 2
make[2]: *** [_module_/usr/src/modules/zaptel] Fehler 2
make[2]: Leaving directory `/usr/local/src/linux-2.6.15'
make[1]: *** [linux26] Fehler 2
make[1]: Leaving directory `/usr/src/modules/zaptel'
make: *** [binary-modules] Fehler 2

Kernel is 2.6.15.

Shade and sweet water!

	Stephan

-- 
| Stephan Seitz                    E-Mail: Nur-Ab-Sal at gmx.de |
|          WWW: http://fsing.rootsland.net/~stse/            |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20060308/a5ffbfea/attachment.pgp


More information about the Pkg-voip-maintainers mailing list