Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: module compilation failure
- To: TLUG Mailing List <tlug@example.com>
- Subject: Re: tlug: module compilation failure
- From: Scott Stone <sstone@example.com>
- Date: Thu, 28 May 1998 09:12:52 +0900 (JST)
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-To: <356BDF1B.BF2DF2D4@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
On Wed, 27 May 1998, Martos-Riano wrote: > I have spent part of the day trying to create a module for the kernel. > > The message I am picking up is: > > /lib/modules/2.0.30/misc/yellowfin.o: kernel-module version mismatch > /lib/modules/2.0.30/misc/yellowfin.o was compiled for kernel version 2.0.29 > while this kernel is version 2.0.30. > > I had the sources of 2.029 and 2.0.30 of the kernel, but uninstalled the first > one and started the > compilation process from scratch. > > The steps I have followed to compile yellowfin.o are the ones indicated by > Donald Becker: > cd /usr/src/linux ; make include/linux/version.h > and then > gcc -DMODVERSIONS =DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -O6 -c > driver.c > install -m 644 yellowfin.o /lib/modules/2.0.30/net > Send me the source for this... I didn't know he made another new driver (he's supposed to email me, I'm on that list...) anyway.... I'll give it a try and let you know what the results are. You might need to recompile the whole kernel and say 'yes' to the three module questions: Use modules? Use modversions? Enable kerneld support? then you can just do: gcc -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux/net/inet -O6 -c driver.c -------------------------------------------------- Scott M. Stone <sstone@example.com, sstone@example.com> <sstone@example.com> Linux Developer/Systems Administrator for Pacific HiTech, Inc. http://www.pht.com http://armadillo.pht.co.jp http://www.pht.co.jp http://www.turbolinux.com -------------------------------------------------------------- Next TLUG Meeting: 13 June Sat, Tokyo Station Yaesu gate 12:30 Featuring Stone and Turnbull on .rpm and .deb packages Next Nomikai: (?) July, 19:30 Tengu TokyoEkiMae 03-3275-3691 -------------------------------------------------------------- Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
- References:
- tlug: module compilation failure
- From: Martos-Riano <martos@example.com>
Home | Main Index | Thread Index
- Prev by Date: RE: tlug: FW: Windows 95
- Next by Date: RE: tlug: Draft of June 13 TLUG General Meeting Announcement
- Prev by thread: tlug: module compilation failure
- Next by thread: tlug: Mozilla and kiosk mode
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links