Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > NZ Computing > back on this linux Ultra thing

Reply
Thread Tools

back on this linux Ultra thing

 
 
cowboyz
Guest
Posts: n/a
 
      05-05-2005
Lawrence D'Oliveiro wrote:

> In article <d5a60n$m7n$>, lance broyden <>
> wrote:
>
>>./sm200d_lnx.o: kernel-module version mismatch
>> ./sm200d_lnx.o was compiled for kernel version 2.4.19
>> while this kernel is version 2.4.24-x1

>
> That object file sm200d_lnx.o needs to be (re)compiled against your
> currently-installed kernel source. Is there some source file called
> sm200d_lnx.c, by any chance?



No but there is one called sm2_drv.c

If I delete the sm200d_lnx.o and type make into that directory then
sm200d_lnx.o reappears but insmod still says wrong version.

the makefile looks like this.

CFLAGS = -DMODULE -D__KERNEL__ -Wall -c -DSM200D -O -I/usr/src/linux/include
DRIVER_MODULE=sm200d_lnx.o
INCLUDE_FILE=sm2_drv.h
OBJS = sm2_drv.o sm2_bin.o

INSTALLDIR = /usr/local/sm200d

all: $(OBJS)
$(LD) -r $(OBJS) -o $(DRIVER_MODULE)

install: $(OBJS)
mkdir -p $(INSTALLDIR)
cp $(DRIVER_MODULE) $(INSTALLDIR)

sm2_drv.o : sm2_drv.c
gcc $(CFLAGS) sm2_drv.c

clean :
rm -f sm2_drv.o $(DRIVER_MODULE)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
2¡Ñ ¡ÑAttractive and practical thing, ultra small advantage cheapeshopcn8@gmail.com ASP .Net 0 12-19-2007 07:30 PM
Ultra Products Ultra Fire Silverstrand Front Page News 1 06-29-2005 12:29 PM
ihug ultra speed test - ne1 with ultra wanna try this test for me? cowboyz NZ Computing 14 11-25-2004 10:29 PM
Sandisk Ultra II, "new" Ultra, "original " Ultra Eberhard Funke Digital Photography 0 01-13-2004 04:35 PM
Ultra ATA/100 HDD on a Ultra ATA/33 motherboard Prinxce of Darkxness Computer Support 3 01-06-2004 05:36 PM



Advertisments