[asterisk-users] trying to get vpb to compile

marc+ast at milestonerdl.com marc+ast at milestonerdl.com
Mon Jul 2 15:45:17 CDT 2007


So I've got a Voicetronix card and it looks like the kernel driver works.
Other than the 0's for ID info.

vpb: Driver Version = 4.0
vpb: major = 251
vpb: tmp [0xfc8fec00] dev->res3 [0xfc8fec00]
vpb: tmp [0xfc8c0000] dev->res2 [0xfc8c0000]
vpb: 1WS Write cycle
vpb: Manufactured 00/00/0000
vpb: Card version 00.00
vpb: Serial number 00000000
vpb: Setting up udev...
vpb:1 V4PCI's detected on PCI bus


[root at apps asterisk-1.4.4]# make
menuselect/menuselect --check-deps   menuselect.makeopts
Generating embedded module rules ...
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
   [CXX] chan_vpb.cc -> chan_vpb.oo
chan_vpb.cc:382: error: invalid conversion from \xe2 to \xe2
chan_vpb.cc:410: error: invalid conversion from \xe2 to \xe2
chan_vpb.cc: In function \xe2:
chan_vpb.cc:1530: warning: dereferencing type-punned pointer will break strict-aliasing rules
chan_vpb.cc: In function \xe2:
chan_vpb.cc:2637: error: \xe2 has no member named \xe2
chan_vpb.cc:2671: warning: comparison between signed and unsigned integer expressions
make[1]: *** [chan_vpb.oo] Error 1
make: *** [channels] Error 2

[root at apps asterisk-1.4.4]# cd ../as*6
[root at apps asterisk-1.4.6]# make
menuselect/menuselect --check-deps   menuselect.makeopts
Generating embedded module rules ...
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
   [CXX] chan_vpb.cc -> chan_vpb.oo
chan_vpb.cc:382: error: invalid conversion from \xe2 to \xe2
chan_vpb.cc:410: error: invalid conversion from \xe2 to \xe2
chan_vpb.cc: In function \xe2:
chan_vpb.cc:1530: warning: dereferencing type-punned pointer will break strict-aliasing rules
chan_vpb.cc: In function \xe2:
chan_vpb.cc:2637: error: \xe2 has no member named \xe2
make[1]: *** [chan_vpb.oo] Error 1
make: *** [channels] Error 2
[root at apps asterisk-1.4.6]#


Ok, so I'm seeing less errors going from 1.4.4 to 1.4.6 so lets
try the trunk via SVN

   [CXX] chan_vpb.cc -> chan_vpb.oo
chan_vpb.cc:3055:9: error: macro "AST_MODULE_INFO" passed 7 arguments, but takes just 6
chan_vpb.cc:379: error: invalid conversion from \xe2 to \xe2
chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:379: error: uninitialized const member \xe2
chan_vpb.cc:379: error: uninitialized const member \xe2
chan_vpb.cc:407: error: invalid conversion from \xe2 to \xe2
chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported
chan_vpb.cc:407: error: uninitialized const member \xe2
chan_vpb.cc:407: error: uninitialized const member \xe2
chan_vpb.cc: In function \xe2:
chan_vpb.cc:1502: error: invalid conversion from \xe2 to \xe2
chan_vpb.cc:1526: warning: dereferencing type-punned pointer will break strict-aliasing rules
chan_vpb.cc: In function \xe2:
chan_vpb.cc:1546: error: invalid conversion from \xe2 to \xe2
chan_vpb.cc: In function \xe2:
chan_vpb.cc:2628: error: \xe2 has no member named \xe2
chan_vpb.cc: In function \xe2:
chan_vpb.cc:3032: error: \xe2 was not declared in this scope
chan_vpb.cc: At global scope:
chan_vpb.cc:3051: error: expected constructor, destructor, or type conversion before \xe2 token
make[1]: *** [chan_vpb.oo] Error 1
make: *** [channels] Error 2





More information about the asterisk-users mailing list