kernel modules compile on Debian

Francois Prowse mol-general@lists.maconlinux.org
Thu, 5 Jun 2003 22:06:58 +1200 (NZST)


Jens,

Ok - I've got the source using apt-get and it placed it in /usr/src

all good sor far and i unzipped the archive and it created a 
/usr/src/modules directory with all the mol files. I then went to 
/usr/src/linux as instructed in the Readme and issued make-kpkg with the 
following results.
debian:/usr/src# cd linux/
debian:/usr/src/linux# make-kpkg modules_image
/usr/bin/make    \
                                 ARCH=ppc oldconfig 
make[1]: Entering directory `/usr/src/linux'
rm -f include/asm
( cd include ; ln -sf asm-ppc asm)
/bin/sh scripts/Configure -d arch/ppc/config.in
#
# Using defaults found in .config
#
*
* Code maturity level options
*
Prompt for development and/or incomplete code/drivers 
(CONFIG_EXPERIMENTAL) [Y/n/?] 
Prompt for advanced kernel configuration options (CONFIG_ADVANCED_OPTIONS) 
[N/y/?] (NEW) make[1]: *** [oldconfig] Error 1
make: *** [stamp-kernel-configure] Interrupt


Looks like it is trying to build the entire kernel....this can't be right

Am I doing this wrong...

Francois


On 5 Jun 2003, Jens Schmalzing wrote:



> Hi,
> 
> Francois Prowse writes:
> 
> > Well - the first thing I did was try this package...however it didn't 
> > work.....as the kernel modules for the stable release 2.4.18 didn't match. 
> 
> Then you need to rebuild only the modules, not the whole emulator.
> Install the mol-modules-source package and follow the instructions in
> the README.
> 
> Regards, Jens.
> 
> 

--