From: John Polyakov <johnpol@2ka.mipt.ru>
To: "David CM Weber" <dweber@backbonesecurity.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Simple LKM & copy_from_user question (followup)
Date: Sat, 21 Jul 2001 00:59:29 +0400 [thread overview]
Message-ID: <200107202034.f6KKYHb14563@www.2ka.mipt.ru> (raw)
In-Reply-To: <94FD5825A793194CBF039E6673E9AFE00B64A0@bbserver1.backbonesecurity.com>
In-Reply-To: <94FD5825A793194CBF039E6673E9AFE00B64A0@bbserver1.backbonesecurity.com>
[-- Attachment #1: Type: text/plain, Size: 549 bytes --]
On Fri, 20 Jul 2001 16:26:43 -0400
"David CM Weber" <dweber@backbonesecurity.com> 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
[-- Attachment #2: Makefile --]
[-- Type: text/plain, Size: 257 bytes --]
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
next prev parent reply other threads:[~2001-07-20 20:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-20 20:26 David CM Weber
2001-07-20 20:38 ` Richard B. Johnson
2001-07-20 20:38 ` Randy.Dunlap
2001-07-20 20:59 ` John Polyakov [this message]
2001-07-20 20:52 David CM Weber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200107202034.f6KKYHb14563@www.2ka.mipt.ru \
--to=johnpol@2ka.mipt.ru \
--cc=dweber@backbonesecurity.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®