[lkml]   [2000]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: hello world module no longer compiles?!
On Mon, 16 Oct 2000 15:29:53 +0100 (BST), 
Tigran Aivazian <> wrote:
>static void __exit test_exit(void)
> return;
># kgcc -Wall -O2 -g -c -o hello.o hello.c
>hello.c:13: parse error before `test_exit'

Add -v -E -dM to kgcc to see where it is reading its headers from and
to see what the macros are defined to. __exit should be defined to a
noop in a module.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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