On Fri, 20 Jul 2001 16:26:43 -0400
"David CM Weber" <[EMAIL PROTECTED]> wrote:

DCW> Attached is the file I"m having problems with.  I'm compiling it w/ 

DCW> gcc -O3 -c main.c

DCW> Thanks in advance,

There is a Makefile for you in attachment.

Here is lsmod output:
It's work :)

[root@Sombre lkm]# lsmod
Module                  Size  Used by
main                     836   0  (unused)
NVdriver              660144  15  (autoclean)
[root@Sombre lkm]#


DCW> Dave Weber
DCW> Backbone Security, Inc.
DCW> 570-422-7900

---
WBR. //s0mbre
CC=gcc
MODCFLAGS := -Wall -Wwrite-strings -Wredundant-decls -O2 -DMODULE -D__KERNEL__ -DLINUX 
-I/usr/src/linux/include
MODCFLAGS1:= -O1 -D__KERNEL__ -DMODULE -Wall -DLINUX -I/usr/src/linux/include
main.o:      main.c
                $(CC) $(MODCFLAGS1) -c main.c

Reply via email to