nope.... I do all this, then I do the 'make modules' and get...


[root@yardath linux]$make modules
make -C  kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.3/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-march=i586 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.3/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.3/kernel'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux-2.4.3/kernel'
make -C  drivers CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.3/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-march=i586 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.3/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.3/drivers'
make -C atm modules
make[2]: Entering directory `/usr/src/linux-2.4.3/drivers/atm'
/usr/bin/kgcc -D__KERNEL__ -I/usr/src/linux-2.4.3/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-march=i586 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.3/include/linux/modversions.h -g  -c -o eni.o eni.c
In file included from /usr/src/linux-2.4.3/include/asm/processor.h:13,
                 from /usr/src/linux-2.4.3/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.3/include/linux/list.h:6,
                 from /usr/src/linux-2.4.3/include/linux/module.h:12,
                 from eni.c:6:
/usr/src/linux-2.4.3/include/asm/page.h:91: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.3/include/asm/page.h:91: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.3/include/asm/page.h:91: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.3/include/asm/page.h:91: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.3/include/asm/page.h:91: parse error before `577f4bff'
/usr/src/linux-2.4.3/include/asm/page.h:91: `do_BUG_R_ver_str' declared as
function returning a function
/usr/src/linux-2.4.3/include/asm/page.h:91: warning: function declaration
isn't a prototype
In file included from /usr/src/linux-2.4.3/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.3/include/linux/list.h:6,
                 from /usr/src/linux-2.4.3/include/linux/module.h:12,
                 from eni.c:6:
/usr/src/linux-2.4.3/include/asm/processor.h:51: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4.3/include/asm/processor.h:51: field
`loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.3/include/asm/processor.h:72: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.3/include/asm/processor.h:72: nondigits in number and
not hexadecimal
... etc .....


Oh well.. I guess I'll email the packager and ask him.... thanx anyway


--Davy




Brian Hartman wrote:

> On 09 Jun 2001 22:38:46 -0400, Davy Durham wrote:
> > Hi, I'm trying to compile the 2.4.3-27mdk kernel source and am running
> > into all sorts of problems....
> >
> > I'm doing:
> >     - make xconfig
> >     - make dep
> >     - make
> >     - make modules       <
> >
> > -- here is the problem
> >
>
> Davy,
>
> It's been awhile since I've compiled a kernel, but I think I can help
> you out here.  The process I usually go through to compile a kernel
> looks like this:
>
> 1) cd /usr/src (as root)
> 2)  rm -rf  linux
> 3) tar zxvf (linux-2.x.x.tar.gz (where x is the kernel minor version and
> number (e.g., 2-10).
> 4) mv linux linux-2.x.x
> 5) ln -s linux-2.x.x linux (to make a symlink named "linux" to your
> linux source directory)
> 6) make xconfig
> 7) make dep
> 8) make bzImage
> 9) make modules
> 10) make modules install
> 11) cp arch/i386/boot/bzImage /boot/vmlinuz-2.x.x
> 12) cp System.map /boot/map
> 13) edit /etc/lilo.conf so that your kernel points to these places.
> 14) run /sbin/lilo <----- Don't forget this or you won't be able to
> boot!!!
> 15) Reboot and pray to the Holy God of Silicon.
>
> Basically, the part I think you were messing up is after you ran make
> dep you should've run "make bzImage" rather than just "make". There are
> other ways to make a boot image (make bzlilo is another option, I think)
> but I use "make bzImage" because it makes the smallest image.
>
> Anyway, that's what I do.  YMMV.
>
> Hope that helps.


Reply via email to