Bug#625106: asterisk-addons: FTBFS: chan_mobile.c:1035:19: error: incompatible types when assigning to type 'union ast_frame_subclass' from type 'long long unsigned int'
Lucas Nussbaum
lucas at lucas-nussbaum.net
Mon May 2 12:29:18 UTC 2011
Source: asterisk-addons
Version: 1.6.2.1-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110502 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> make[2]: Entering directory `/build/user-asterisk-addons_1.6.2.1-1-amd64-ceN5mH/asterisk-addons-1.6.2.1/channels'
> [CC] chan_mobile.c -> chan_mobile.o
> chan_mobile.c:449:2: warning: initialization from incompatible pointer type [enabled by default]
> chan_mobile.c:449:2: warning: (near initialization for 'mbl_tech.requester') [enabled by default]
> chan_mobile.c: In function 'mbl_new':
> chan_mobile.c:780:2: warning: passing argument 9 of '__ast_channel_alloc' makes integer from pointer without a cast [enabled by default]
> /usr/include/asterisk/channel.h:1099:2: note: expected 'int' but argument is of type 'char *'
> chan_mobile.c: In function 'mbl_read':
> chan_mobile.c:1035:19: error: incompatible types when assigning to type 'union ast_frame_subclass' from type 'long long unsigned int'
> chan_mobile.c: In function 'mbl_devicestate':
> chan_mobile.c:1125:11: warning: taking address of expression of type 'void' [enabled by default]
> chan_mobile.c: In function 'load_module':
> chan_mobile.c:4254:2: warning: passing argument 2 of 'ast_register_application2' from incompatible pointer type [enabled by default]
> /usr/include/asterisk/module.h:449:5: note: expected 'int (*)(struct ast_channel *, const char *)' but argument is of type 'int (*)(struct ast_channel *, void *)'
> chan_mobile.c:4255:2: warning: passing argument 2 of 'ast_register_application2' from incompatible pointer type [enabled by default]
> /usr/include/asterisk/module.h:449:5: note: expected 'int (*)(struct ast_channel *, const char *)' but argument is of type 'int (*)(struct ast_channel *, void *)'
> make[2]: *** [chan_mobile.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2011/05/02/asterisk-addons_1.6.2.1-1_lsid64.buildlog
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot. Internet was not
accessible from the build systems.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the Pkg-voip-maintainers
mailing list