[plug] USB palm pilot
Andrew Pamment
pamment at iinet.net.au
Sun May 4 22:47:59 WST 2003
On Sun, 2003-05-04 at 21:20, Chris Caston wrote:
> Cameron,
>
> >From what I can see to use make I needed to actually have a make file.
> This situation seems a little more difficult to when you just download a
> program and type ./make or just make, whichever it is.
>
> Do I need a make file for this and if so where and what is it?
The Makefile is a set of instructions that make uses to compile the
program/kernel/whatever and install it to sometimes. It doesn't know
what to do because you havent configured it.
I don't use debian much so I am not going to pretend to know what it
does to the kernel sources it distributes.. I am guessing it doesn't do
anything but give them stupid names like bf2.4 (what's with that?)
The usual way to make/install a kernel and modules is this
make mrproper
make menuconfig
make dep
make bzImage
make modules
make modules_install
my guess is you are going to need to do all of those steps because your
current kernel has a version 2.4.18bf2.4 and usually kernels spit at you
when you try and insmod a module that hasn't been compiled for the exact
same version (and you may get problems compiling other system stuff that
says hey these kernel headers are different to the current kernel) I had
this with debian bf2.4 kernel and trying to compile the ltmodem module.
what happens..
make mrproper (does stuff.. i dont know what)
make menuconfig (so you can pick the modules you want.. like USB and
stuff)
make dep (figures out dependencys i think)
make bzImage (compiles your kernel and compresses it using bzip2)
make modules (compiles all the modules for this kernel for you)
make modules_install (install the modules)
then you copy the bzImage to /boot edit /etc/lilo.conf to point to
/boot/bzImage instead of /boot/vmlinuz or whatever debian called it.
then run lilo.
if you are going to do this, you might as well grab 2.4.20 of
www.kernel.org, and get up to date.
But then, maybe there is a better "debian" way to do it. I think there
has got to be some secret debian initiation manual that I don't know
about that tells you all these things.
Hope that helps. If not, hit your computer and call it rude words. That
always helps me.
Andrew
--
Andrew Pamment
(http: scarab.ath.cx) (MSN: thegodsthemselves at hotmail.com)
(ICQ: 136239083) (Yahoo!: apamment)
"Abashed the Devil stood, And felt how awful goodness is, and saw Virtue
in her shape how lovely; saw, and pined His loss." John Milton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20030504/f62251c1/attachment.pgp>
More information about the plug
mailing list