This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/10997] ICE when compiling module using /lib/modules/2.4.20/build/include tree
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2003 18:41:30 -0000
- Subject: [Bug c/10997] ICE when compiling module using /lib/modules/2.4.20/build/include tree
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10997
------- Additional Comments From pinskia@physics.uc.edu 2003-05-27 18:41 -------
On the mainline (20030527), I just get some errors and warnings:
In file included from /lib/modules/2.4.20/build/include/asm/semaphore.h:39,
from /lib/modules/2.4.20/build/include/linux/fs.h:200,
from dst4pps.c:83:
/lib/modules/2.4.20/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.4.20/build/include/asm/system.h:190: warning: dereferencing type-punned
pointer will break strict-aliasing rules
/lib/modules/2.4.20/build/include/asm/system.h:190: warning: dereferencing type-punned
pointer will break strict-aliasing rules
dst4pps.c: In function `dst4pps_release':
dst4pps.c:182: warning: implicit declaration of function `dst4pps_set'
dst4pps.c: At top level:
dst4pps.c:191: error: `dst4pps_ioctl' undeclared here (not in a function)
dst4pps.c:191: error: initializer element is not constant
dst4pps.c:191: error: (near initialization for `dst4pps_fops.ioctl')
dst4pps.c: In function `init_module':
dst4pps.c:222: error: `dst4pps_config_modversions' undeclared (first use in this function)
dst4pps.c:222: error: (Each undeclared identifier is reported only once
dst4pps.c:222: error: for each function it appears in.)
dst4pps.c:224: error: `not_modversions' undeclared (first use in this function)
dst4pps.c:252: warning: implicit declaration of function `udelay'
dst4pps.c: In function `dst4pps_ioctl':
dst4pps.c:293: warning: implicit declaration of function `dst4pps_current'
dst4pps.c: At top level:
dst4pps.c:307: error: conflicting types for `dst4pps_set'
dst4pps.c:182: error: previous implicit declaration of `dst4pps_set'
/lib/modules/2.4.20/build/include/linux/module.h:299: warning: `__module_kernel_version'
defined but not used
dst4pps.c:100: warning: `__module_license' defined but not used
If this can be verified on 3.3, then this is a regression since it worked on 2.95.x but with a different
set of headers.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.