[asterisk-bugs] [Zaptel 0011515]: zaptel: compilation warnings on kernel 2.4

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Dec 11 13:30:46 CST 2007


The following issue has been UPDATED. 
====================================================================== 
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:                     new
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:              
====================================================================== 
Date Submitted:             12-11-2007 03:53 CST
Last Modified:              12-11-2007 13:30 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)
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-11-07 13:30  qwell          Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list