lkml.org 
[lkml]   [2000]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.3.99-pre2: error in make bzImage @ ipc/shm.c
Alexandre Hautequest wrote:
>
> make[2]: Entering directory `/usr/src/linux-2.3.99-pre2/ipc'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
> -pipe -mpreferred-stack-boundary=2 -DCPU=586 -march=k6 -fno-strict-aliasing -c -o shm.o shm.c
> shm.c:142: `THIS_MODULE' undeclared here (not in a function)
> shm.c:142: initializer element is not constant
> shm.c:142: (near initialization for `shm_fs_type.owner')
> make[2]: *** [shm.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.3.99-pre2/ipc'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.3.99-pre2/ipc'
> make: *** [_dir_ipc] Error 2

add a '#include <linux/modules.h>' just before the first '#include
<asm/...'

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.166 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site