On Wed, 27 Sep 2000 14:11:30 -0500 (CDT),
[EMAIL PROTECTED] (Sam Watters) wrote:
>[root@porsche13 themod-dev]# insmod themod.o
>themod.o: unresolved symbol write_lock
>themod.o: unresolved symbol read_lock
>
>gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686
>-fno-strict-aliasing -D__SMP__ -DMODULE -D__KERNEL__ -DLINUX -Dlinux
>-DDEBUG -I../../../include -c themod.c
Compile with -O2 otherwise functions will not be inlined. The Linux
kernel requires -O2, it is not an option. I'm surprised this is not in
the FAQ.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/