Messages in this thread |  | | From | Keith Owens <> | Subject | Re: hello world module no longer compiles?! | Date | Tue, 17 Oct 2000 01:48:42 +1100 |
| |
On Mon, 16 Oct 2000 15:29:53 +0100 (BST), Tigran Aivazian <tigran@veritas.com> wrote: >static void __exit test_exit(void) >{ > return; >} > >module_init(test_init); >module_exit(test_exit); ># 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 majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |