[asterisk-bugs] [Zaptel 0011515]: zaptel: compilation warnings on kernel 2.4
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Jan 25 17:25:05 CST 2008
The following issue has been CLOSED
======================================================================
http://bugs.digium.com/view.php?id=11515
======================================================================
Reported By: tzafrir
Assigned To:
======================================================================
Project: Zaptel
Issue ID: 11515
Category: General
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Zaptel Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 3421
Disclaimer on File?: N/A
Request Review:
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 12-11-2007 03:53 CST
Last Modified: 01-25-2008 17:25 CST
======================================================================
Summary: zaptel: compilation warnings on kernel 2.4
Description:
On Debian Sarge with kernel-headers-2.4.27-3-686 I run with recent
zaptel/branches/1.4 svn I run:
make KVERS=2.4.27-3-686 modules
and get:
gcc -o gendigits gendigits.c -lm
./gendigits > tones.h
gcc -o makefw makefw.c
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
gcc -I/lib/modules/2.4.27-3-686/build/include -O6 -DMODULE -D__KERNEL__
-DEXPORT_SYMTAB -I/lib/modules/2.4.27-3-686/build/drivers/net -Wall -I.
-Wstrict-prototypes -fomit-frame-pointer
-I/lib/modules/2.4.27-3-686/build/drivers/net/wan
-I/lib/modules/2.4.27-3-686/build/include/net -DMODVERSIONS -include
/lib/modules/2.4.27-3-686/build/include/linux/modversions.h
-DSTANDALONE_ZAPATA -o pciradio.o -c pciradio.c
In file included from
/lib/modules/2.4.27-3-686/build/include/linux/spinlock.h:6,
from
/lib/modules/2.4.27-3-686/build/include/linux/module.h:12,
from pciradio.c:48:
/lib/modules/2.4.27-3-686/build/include/asm/system.h: In function
`__set_64bit_var':
/lib/modules/2.4.27-3-686/build/include/asm/system.h:190: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.4.27-3-686/build/include/asm/system.h:190: warning:
dereferencing type-punned pointer will break strict-aliasing rules
(Basically - for everything)
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0011551 zaptel 1.4.7.1 doesn't build against 2....
======================================================================
----------------------------------------------------------------------
kpfleming - 01-25-08 17:25
----------------------------------------------------------------------
This does not occur using a current 2.4 kernel (2.4.36) and compiler
(gcc-3.4). Even if it did, the warnings are occurring due to code in the
kernel headers, not Zaptel, and thus are not anything we can fix or
otherwise address.
Issue History
Date Modified Username Field Change
======================================================================
01-25-08 17:25 kpfleming Status new => closed
01-25-08 17:25 kpfleming Note Added: 0081197
======================================================================
More information about the asterisk-bugs
mailing list