Re: modversions.h? Don't have it. Any solution?

2004-09-24 Thread Wayne Topa
Eric Dickner([EMAIL PROTECTED]) is reported to have said:
 Apparently I am not the first person to run into a
 problem regarding this particular header.  A general
 web search revealed that all sorts of people have
 tried to compile drivers, found they needed but didn't
 have this thing, and then proceded to try all sorts of
 hacks.
 
 Are any of these hacks going to work?
 
 What should be done?
 
 I have kernel source headers, not
 debian_kernel_headers headers.  Will I be forced to
 use those as well as the matching kernel package?
 

Does this help?

VT2 root-3-Buddy:~# dpkg -S modversions.h
kernel-headers-2.6.7-1: /usr/src/kernel-headers-2.6.7-1/include/config/modversions.h
kernel-headers-2.6.7-1-k7: 
/usr/src/kernel-headers-2.6.7-1-k7/include/config/modversions.h


-- 
Computer analyst to programmer: You start coding. I'll go find out
what they want.
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: modversions.h

2001-05-29 Thread ktb
On Tue, May 29, 2001 at 06:35:54PM +0200, Robert Voigt wrote:
 I thought if I compile the kernel with CONFIG_MODVERSIONS=y it puts 
 modversions.h in /usr/include/linux, but it didn't. Why?
 
 I want to compile a kernel module that looks for modversions.h.
 
 Sorry if this was answered before but the archive search doesn't work.

A search at -
http://www.debian.org/distrib/packages
shows that modversions.h is in the kernel-headers package.  Do you have
that installed?  I don't know for sure that will get you were your
going.

http://geocrawler.com/ is a good place to search the archives when the
debian site doesn't work.
kent

-- 
 From seeing and seeing the seeing has become so exhausted
 First line of The Panther - R. M. Rilke




Re: modversions.h

2001-05-29 Thread Robert Voigt
On Tuesday 29 May 2001 18:43, ktb wrote:
 A search at -
 http://www.debian.org/distrib/packages
 shows that modversions.h is in the kernel-headers package.  Do you have
 that installed?  I don't know for sure that will get you were your
 going.

Of course I have the kernel-source package installed, how could I compile a 
kernel if I hadn't? And the file is in the kernel source tree, but I don't 
think I'm supposed to copy it to /usr/include/linux. I thought the kernel 
compilation copies the file there if  CONFIG_MODVERSIONS is enabled, no?



Re: modversions.h

2001-05-29 Thread Wayne Topa

Subject: Re: modversions.h
Date: Tue, May 29, 2001 at 07:28:56PM +0200

In reply to:Robert Voigt

Quoting Robert Voigt([EMAIL PROTECTED]):
 On Tuesday 29 May 2001 18:43, ktb wrote:
  A search at -
  http://www.debian.org/distrib/packages
  shows that modversions.h is in the kernel-headers package.  Do you have
  that installed?  I don't know for sure that will get you were your
  going.
 
 Valid question

 Of course I have the kernel-source package installed, how could I compile a 
 kernel if I hadn't? 
Snotty answer.

The non-debian way, thats how!

make dep ; make clean ; make bzImage

I have yet to make a 'Debian' kernel since moving to 2.4.x

-- 
A Law of Computer Programming:
  Make it possible for programmers to write in English and you
  will find the programmers cannot write in English.
___



Re: modversions.h

2001-04-13 Thread Tomaas Ortega
worked fine for me *shrug*
nothing seems broken on this end
network cards installed fine as did video cards and other stuff
maybe youve had a bad experience

On Thu, 12 Apr 2001, Ethan Benson wrote:

 On Fri, Apr 13, 2001 at 12:03:08AM +1000, Tomaas Ortega wrote:
  Install the kernel-headers package for whatever kernwel you have...
  then symlink /usr/inlude/linux to
  /usr/src/kernel-headers-2.x.x/include/linux
 
 DO NOT do that, you will BREAK your system.  /usr/include/linux is
 provided by libc-dev and should not be tampered with.  
 
 fix the broken Makefile, .c file whatever but don't ruin your system.  
 
 -- 
 Ethan Benson
 http://www.alaska.net/~erbenson/
 



Re: modversions.h

2001-04-13 Thread Ethan Benson
On Fri, Apr 13, 2001 at 04:30:25PM +1000, Tomaas Ortega wrote:
 worked fine for me *shrug*
 nothing seems broken on this end
 network cards installed fine as did video cards and other stuff
 maybe youve had a bad experience

symlinking /usr/include/linux to /usr/src/linux (or blindly replacing
the files there with kernel headers) is a stupid redhat thing that is
supposed to die.

read /usr/share/doc/libc6/README.Debian.gz

also read numerous rants by Linus.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/


pgpavllvjIiaq.pgp
Description: PGP signature


Re: modversions.h

2001-04-12 Thread Ethan Benson
On Thu, Apr 12, 2001 at 01:33:00PM +0100, Oliver Drechsler wrote:
 hi all,
 
 i downloaded from www.intel.com a agp-card driver and i
 tryed to install but the makefile returns this error :
 
 agpgart.c:52: linux/modversions.h: No such file or directory

modify it to include /usr/src/kernel-headers-`uname 
-r`/include/linux/modversions.h
instead.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/


pgpse7ySrsRCB.pgp
Description: PGP signature


Re: modversions.h

2001-04-12 Thread Tiarnan O'Corrain
As far as I know, this was already dealt with... try
searching the archives.

On shaky ground, I believe that modversions.h is created
during kernel compilation, and is remove by 'make mrproper'

Cheers

Tiarnan

--- Oliver Drechsler [EMAIL PROTECTED] wrote:
 hi all,
 
 i downloaded from www.intel.com a agp-card driver and i
 tryed to install but the makefile returns this error :
 
 agpgart.c:52: linux/modversions.h: No such file or directory
 
 i m sorry about my bad english
 
 thanks
 oliver
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 
 
 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Re: modversions.h

2001-04-12 Thread Tomaas Ortega
Install the kernel-headers package for whatever kernwel you have...
then symlink /usr/inlude/linux to
/usr/src/kernel-headers-2.x.x/include/linux
then try and install the new driver.
i think thats the way its done
its been a while since ive done it
tom

On Thu, 12 Apr 2001, Tiarnan O'Corrain wrote:

 As far as I know, this was already dealt with... try
 searching the archives.
 
 On shaky ground, I believe that modversions.h is created
 during kernel compilation, and is remove by 'make mrproper'
 
 Cheers
 
 Tiarnan
 
 --- Oliver Drechsler [EMAIL PROTECTED] wrote:
  hi all,
  
  i downloaded from www.intel.com a agp-card driver and i
  tryed to install but the makefile returns this error :
  
  agpgart.c:52: linux/modversions.h: No such file or directory
  
  i m sorry about my bad english
  
  thanks
  oliver
  
  
  -- 
  To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
  with a subject of unsubscribe. Trouble? Contact
  [EMAIL PROTECTED]
  
  
  
 
 
 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail. 
 http://personal.mail.yahoo.com/
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 



Re: modversions.h

2001-04-12 Thread Ethan Benson
On Fri, Apr 13, 2001 at 12:03:08AM +1000, Tomaas Ortega wrote:
 Install the kernel-headers package for whatever kernwel you have...
 then symlink /usr/inlude/linux to
 /usr/src/kernel-headers-2.x.x/include/linux

DO NOT do that, you will BREAK your system.  /usr/include/linux is
provided by libc-dev and should not be tampered with.  

fix the broken Makefile, .c file whatever but don't ruin your system.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/


pgpt7mq9EDxrB.pgp
Description: PGP signature


Re: modversions.h

2001-04-12 Thread Sebastiaan
Hi,

h, creative possble solutions have been given on this list. I found
out that modversions.h is not zipped in the archive but generated when
building a kernel: the new package needs to know which symbols to load?
I think this is enough:

cd /usr/src/linux
cp /boot/config-yourkernelversion)
make dep

If all went well, modversions.h has been generated in
/usr/src/linux/include/linux


but I could be wrong.

Greetz,
Sebastiaan


On Thu, 12 Apr 2001, Oliver Drechsler wrote:

 hi all,
 
 i downloaded from www.intel.com a agp-card driver and i
 tryed to install but the makefile returns this error :
 
 agpgart.c:52: linux/modversions.h: No such file or directory
 
 i m sorry about my bad english
 
 thanks
 oliver
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



RE: modversions.h ?

2000-01-20 Thread Pollywog

On 20-Jan-2000 Pollywog wrote:
 What is the story behind modversions.h ?
 
 I am using kernel 2.2.14 and I don't have this file, but I see it is listed
 for kernel-headers package 2.2.13.  I built a custom kernel and I am not
 using
 the default Debian kernel image.

oops it does appear that I have this file after all:

/usr/src/kernel-source-2.2.14/include/linux/modversions.h
/usr/src/kernel-source-2.2.14/include/config/modversions.h
/usr/i486-linuxlibc1/include/linux/modversions.h

A symlink would seem to be the solution, but not all these copies of the file
modversions.h are the same (they are different sizes).

Any ideas?

thanks

--
Andrew


Re: modversions.h ?

2000-01-20 Thread aphro
if the program you are compiling requires 2.2.x i suggest re linking
/usr/include/linux to /usr/src/linux/include/linux (i think thats
right) .. rename /usr/include/linux

the program is probably looking for something 2.1/2.2/2.3 specific and
debian's default headers in /usr/include dont cut it for that(i had the
similar problems trying to compile smbmount from samba 3)

nate

On Thu, 20 Jan 2000, Pollywog wrote:

pollyw What is the story behind modversions.h ?
pollyw 
pollyw I am using kernel 2.2.14 and I don't have this file, but I see it is 
listed
pollyw for kernel-headers package 2.2.13.  I built a custom kernel and I am 
not using
pollyw the default Debian kernel image.
pollyw 
pollyw gcc  -L../lib -I../include/ -Wall -O6-c -o bcreencrypt.o 
bcreencrypt.c
pollyw bcreencrypt.c:258: warning: `#ifdef' argument starts with a digit
pollyw gcc  -L../lib -I../include/ -Wall -O6-c -o bcfsck.o bcfsck.c
pollyw gcc  -L../lib -I../include/ -Wall -O6   -o bctool bctool.c alg.o 
config.o
pollyw error.o misc.o bcmount.o bcpasswd.o bcinfo.o  bccreate.o bcformat.o
pollyw bcreencrypt.o bcfsck.o -lkgsha
pollyw cp -f bctool ../bin/
pollyw make[1]: Leaving directory `/usr/src/redhat/BUILD/bcrypt-0.3b/src'
pollyw make[1]: Entering directory `/usr/src/redhat/BUILD/bcrypt-0.3b/mod'
pollyw gcc -o mkver mkver.c
pollyw touch bc_dev.ver ;
pollyw gcc -E bc_dev.c -I../include -D__GENKSYMS__ | /sbin/genksyms  -k 2.2.13 

pollyw bc_dev.ver
pollyw gcc -O6 -Wall -fno-strength-reduce -D__KERNEL__ -DMODULE -I../include   
  -c
pollyw -o bc_dev.o bc_dev.c
pollyw In file included from bc_dev.c:30:
pollyw bc_cfg.h:39: linux/modversions.h: No such file or directory
pollyw make[1]: *** [bc_dev.o] Error 1
pollyw make[1]: Leaving directory `/usr/src/redhat/BUILD/bcrypt-0.3b/mod'
pollyw make: *** [subdirs] Error 2
pollyw Bad exit status from /var/tmp/rpm-tmp.99181 (%build)
pollyw 
pollyw 
pollyw BTW I was trying to build an rpm so that I could use Alien to make a 
Debian
pollyw package from it.
pollyw 
pollyw 
pollyw 
pollyw 
pollyw thanks
pollyw 
pollyw --
pollyw Andrew
pollyw 
pollyw -
pollyw GnuPG Public KeyID: 0x48109681
pollyw 
pollyw 
pollyw 
pollyw -- 
pollyw Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
pollyw 

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
2:02pm up 154 days, 2:06, 2 users, load average: 1.99, 1.67, 1.62


Re: modversions.h ?

2000-01-20 Thread Pollywog

On 20-Jan-2000 aphro wrote:
 if the program you are compiling requires 2.2.x i suggest re linking
 /usr/include/linux to /usr/src/linux/include/linux (i think thats
 right) .. rename /usr/include/linux

That is the action I was considering, but I did not think it should be done
with 2.2.x kernels because the README in the Linux tarball no longer mentions
it.

 
 the program is probably looking for something 2.1/2.2/2.3 specific and
 debian's default headers in /usr/include dont cut it for that(i had the
 similar problems trying to compile smbmount from samba 3)

Thanks

--
Andrew


Re: modversions.h ?

2000-01-20 Thread Gary Hennigan
Pollywog [EMAIL PROTECTED] writes:
 On 20-Jan-2000 aphro wrote:
  if the program you are compiling requires 2.2.x i suggest re linking
  /usr/include/linux to /usr/src/linux/include/linux (i think thats
  right) .. rename /usr/include/linux
 
 That is the action I was considering, but I did not think it should be done
 with 2.2.x kernels because the README in the Linux tarball no longer mentions
 it.
 
  
  the program is probably looking for something 2.1/2.2/2.3 specific and
  debian's default headers in /usr/include dont cut it for that(i had the
  similar problems trying to compile smbmount from samba 3)

In general, it's not a good thing to do because your libc was compiled
against what's in there. However, I have had an occasion where I
moved the existing directories to different names, eg., 

mv /usr/include/asm /usr/include/asm.orig 

created the links to the kernel source tree, eg.,

ln -s /usr/src/kernel-2.2.14/include/asm-i386 /usr/include/asm

done the compile and copied them back, eg.

rm /usr/include/asm
mv /usr/include/asm.orig /usr/include/asm

Of course I don't ever recall having to do this for the kernel
source. I think I even had a 2.2.x kernel running on slink, when I was
running slink, and don't recall doing this. I certainly haven't had to
do it under potato.

Gary


RE: modversions.h missing

1999-09-16 Thread Pollywog

On 16-Sep-99 Pollywog wrote:
 I was trying to compile an app and I got this error about modversions.h
 What do I have to do to get modversions.h ?  I thought I had to answer
 Y
 to the question about setting module versions when I compiled my kernel
 (2.2.12) and I did that.
 

I seem to recall that modversions.h is no longer present in Linux kernel
sources.

thanks

--
Andrew
 


Re: modversions.h missing

1999-09-16 Thread Seth R Arnold
Some apps can also compile without modversions.h -- try removing the
-DMODVERSIONS in the Makefile for the program, and try compiling again.

On Thu, Sep 16, 1999 at 01:01:37AM -, Pollywog wrote:
 I was trying to compile an app and I got this error about modversions.h
 What do I have to do to get modversions.h ?  I thought I had to answer Y
 to the question about setting module versions when I compiled my kernel
 (2.2.12) and I did that.
 
 make[1]: Entering directory `/home/pollywog/bcrypt-0.2b-sw/kgsha'
 make[1]: Nothing to be done for `all'.
 make[1]: Leaving directory `/home/pollywog/bcrypt-0.2b-sw/kgsha'
 make[1]: Entering directory `/home/pollywog/bcrypt-0.2b-sw/src'
 make[1]: Nothing to be done for `all'.
 make[1]: Leaving directory `/home/pollywog/bcrypt-0.2b-sw/src'
 make[1]: Entering directory `/home/pollywog/bcrypt-0.2b-sw/mod'
 gcc -O6 -Wall -fno-strength-reduce -D__KERNEL__ -DMODULE -DMODVERSIONS
 -I../include -include /usr/include/linux/modversions.h-c bc_dev.c -o
 bc_dev.o
 cpp: /usr/include/linux/modversions.h: No such file or directory
 make[1]: *** [bc_dev.o] Error 1
 
 thanks
 
 --
 Andrew
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
Hi! I'm a .signature virus! Copy me into
your ~/.signature to help me spread!