Bug#390009: linphone: FTBFS: ice.c:197: warning: dereferencing type-punned pointer will break strict-aliasing rules

Kurt Roeckx kurt at roeckx.be
Thu Sep 28 20:11:05 UTC 2006


Package: linphone
Version: 1.4.1-1
Severity: serious

Hi,

Your package is failing to build on some arches with the following
error:
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ -I.. -I../../oRTP/include -DORTP_BIGENDIAN -I../../gsmlib -DORTP_INET6 -Wall -g -O2 -DINET6 -Wall -O2 -g -D_BIGENDIAN -Werror -pthread -D_REENTRANT -MT ice.lo -MD -MP -MF .deps/ice.Tpo -c ice.c  -fPIC -DPIC -o .libs/ice.o
cc1: warnings being treated as errors
ice.c: In function '_ice_get_localip_for':
ice.c:197: warning: dereferencing type-punned pointer will break strict-aliasin
g rules
make[6]: *** [ice.lo] Error 1


And on sparc with:
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ -D_REENTRANT -I.. -Wall -g -O2 -Wall -Werror -DORTP_INET6 -DORTP_BIGENDIAN -MT stun.lo -MD -MP -MF .deps/stun.Tpo -c stun.c  -fPIC -DPIC -o .libs/stun.o
cc1: warnings being treated as errors
stun.c: In function 'stunRand':
stun.c:762: warning: implicit declaration of function 'gethrtime'
make[6]: *** [stun.lo] Error 1


Kurt





More information about the Pkg-voip-maintainers mailing list