Not having a 2.6 system (of any flavor) running at the moment, I'm
tempted to say that the kernel-headers package won't be sufficient.  I
believe that in order to be able to do a "make modules" command, you're
going to need the entire kernel source package.  Trying to do that with
just the kernel headers doesn't make any sense to me.

If Neale weren't in Australia at the moment, I know he'd be clarifying
all this for us.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
John P Taylor
Sent: Tuesday, September 27, 2005 9:21 AM
To: [email protected]
Subject: Re: New Version of CPINT


Adam,
    thanks for the info. I'm still struggling with this.

I had the kernel headers installed so I put in a link from
/usr/src/kernel-headers-2.6.8-2 to /lib/modules/2.6.8-2-s390/build.

I not sure what I need to change in version.h and module.h

At the moment:

make -C /lib/modules/`uname -r`/build M=`pwd` SUBDIRS=`pwd` modules

produces the following information:

make: Entering directory `/usr/src/kernel-headers-2.6.8-2'
make[1]: scripts/Makefile.build: No such file or directory
make[1]: *** No rule to make target `scripts/Makefile.build'.  Stop.
make: *** [_module_/lib/modules/2.6.8-2-s390] Error 2
make: Leaving directory `/usr/src/kernel-headers-2.6.8-2'

Also "modprobe -f cpint_mod" stil produces the same error - but I guess
that's because the make isn't building the module correctly.

Cheers,

John Taylor

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to