Re: make modules
On Wed, 25 Aug 2004 21:23:25 -0400 Chris Metzler <[EMAIL PROTECTED]> wrote: >catb Thanks for your time Chris. And i'll read it. A+ mess-mate PS: how did you for snipping automatically on a reply ? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: make modules
On Wed, 25 Aug 2004 10:48:42 +0200 messmate <[EMAIL PROTECTED]> wrote: > > Here are the errors : > make[2]: Entering directory `/usr/src/kernel-source-2.4.20/drivers/atm' > gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 > -DMODULE -DMODVERSIONS -include > /usr/src/kernel-source-2.4.20/include/linux/modversions.h -nostdinc > -iwithprefix include -DKBUILD_BASENAME=ambassador -c -o ambassador.o > ambassador.c ambassador.c:301:21: pasting "." and "start" does not give > a valid preprocessing token ambassador.c:305:23: pasting "." and > "regions" does not give a valid preprocessing token ambassador.c:310:20: > pasting "." and "data" does not give a valid preprocessing token > make[2]: *** [ambassador.o] Error 1 make[2]: Leaving directory > `/usr/src/kernel-source-2.4.20/drivers/atm' make[1]: *** > [_modsubdir_atm] Error 2 make[1]: Leaving directory > `/usr/src/kernel-source-2.4.20/drivers' make: *** [_mod_drivers] Error 2 Ok, now that you've told us what the error was . . .a bit of useful information: Google is your friend. I went to Google and did a quick search on this error. The first posts it returned told me that gcc-3.3 couldn't compile some older versions of the kernel (e.g. 2.4.20, 2.5.76, etc.) because of code extensions that were no longer supported by gcc. Later versions of the kernel fixed this up. For a long time, gcc only generated warnings about this; by 3.3, it generated errors. If you want to compile older versions of the kernel, you need gcc-3.2 or earlier. This isn't a problem with the compiler or the kernel, but rather a mismatch between them. You might wanna look at: http://www.catb.org/~esr/faqs/smart-questions.html in particular, the "Before You Ask" and "When You Ask" sections. It would have helped you, and your potential respondents, a lot. -c -- Chris Metzler [EMAIL PROTECTED] (remove "snip-me." to email) "As a child I understood how to give; I have forgotten this grace since I have become civilized." - Chief Luther Standing Bear pgpSk9QerKANI.pgp Description: PGP signature
Re: make modules
On Tue, 24 Aug 2004 18:45:46 -0400 Chris Metzler <[EMAIL PROTECTED]> wrote: >On Wed, 25 Aug 2004 00:02:30 +0200 >messmate <[EMAIL PROTECTED]> wrote: >> >> Hi, >> while doing a 'make modules' after compiling the kernel >> an error accured about 'ambassador.' ??? so stopped. > >Is this the part where we guess what the error was? > > >> Kernel 2.4.20 on my sarge. >> Compiler : gcc.3.3 >> Note: the reason of a 2.4.20 kernel is that i >> can't burn a cd with a 2.4.26. > >How do you know the problem is with 2.4.26? > > whaw, after un update of 2.4.26, it runs ? Sorry for your time time about this last :) >> Maybe anything wrong with the compiler version ? > >No way to tell, since you haven't told us anything about the error. > >-c > > >-- >Chris Metzler [EMAIL PROTECTED] > (remove "snip-me." to email) > -- Amicalement mess-mate -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: make modules
On Tue, 24 Aug 2004 23:08:59 +0100 Thomas Adam <[EMAIL PROTECTED]> wrote: >On Wed, Aug 25, 2004 at 12:02:30AM +0200, messmate wrote: >> Hi, >> while doing a 'make modules' after compiling the kernel >> an error accured about 'ambassador.' ??? so stopped. > >You should include this error with your e-mail. My >telepathy2originalPoster protocol is broken. > >> Kernel 2.4.20 on my sarge. >> Compiler : gcc.3.3 >> Note: the reason of a 2.4.20 kernel is that i >> can't burn a cd with a 2.4.26. > >That's weird. No one else I know of has had problems, and I certainly >haven't. Sure there are ! Don't know why :) >Can you be more specific as to why it doesn't work for you at that >kernel version. > >> Maybe anything wrong with the compiler version ? > >Nope. > >-- Thomas Adam >-- Here are the errors : make[2]: Entering directory `/usr/src/kernel-source-2.4.20/drivers/atm' gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/kernel-source-2.4.20/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=ambassador -c -o ambassador.o ambassador.c ambassador.c:301:21: pasting "." and "start" does not give a valid preprocessing token ambassador.c:305:23: pasting "." and "regions" does not give a valid preprocessing token ambassador.c:310:20: pasting "." and "data" does not give a valid preprocessing token make[2]: *** [ambassador.o] Error 1 make[2]: Leaving directory `/usr/src/kernel-source-2.4.20/drivers/atm' make[1]: *** [_modsubdir_atm] Error 2 make[1]: Leaving directory `/usr/src/kernel-source-2.4.20/drivers' make: *** [_mod_drivers] Error 2 More clearly :) Thanks for your time. mess-mate -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: make modules
On Wed, 25 Aug 2004 00:02:30 +0200 messmate <[EMAIL PROTECTED]> wrote: > > Hi, > while doing a 'make modules' after compiling the kernel > an error accured about 'ambassador.' ??? so stopped. Is this the part where we guess what the error was? > Kernel 2.4.20 on my sarge. > Compiler : gcc.3.3 > Note: the reason of a 2.4.20 kernel is that i > can't burn a cd with a 2.4.26. How do you know the problem is with 2.4.26? > Maybe anything wrong with the compiler version ? No way to tell, since you haven't told us anything about the error. -c -- Chris Metzler [EMAIL PROTECTED] (remove "snip-me." to email) "As a child I understood how to give; I have forgotten this grace since I have become civilized." - Chief Luther Standing Bear pgpR8t1UMhQM3.pgp Description: PGP signature
Re: make modules
On Wed, Aug 25, 2004 at 12:02:30AM +0200, messmate wrote: > Hi, > while doing a 'make modules' after compiling the kernel > an error accured about 'ambassador.' ??? so stopped. You should include this error with your e-mail. My telepathy2originalPoster protocol is broken. > Kernel 2.4.20 on my sarge. > Compiler : gcc.3.3 > Note: the reason of a 2.4.20 kernel is that i > can't burn a cd with a 2.4.26. That's weird. No one else I know of has had problems, and I certainly haven't. Can you be more specific as to why it doesn't work for you at that kernel version. > Maybe anything wrong with the compiler version ? Nope. -- Thomas Adam -- "Frankly, Mr. Shankly, since you ask. You are a flatulent pain in the arse." -- Morrissey. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: make modules question
Stephen Pitts dixit: ~> > ~> > homega:/usr/src/linux/arch/i386/boot# make modules ~> > make: *** No rule to make target `modules'. Stop. ~> > ~> > what about the new modules? `lsmod' returns nothing at all: ~> > ~> > homega:~$ lsmod ~> > Module PagesUsed by ~> > ~> Modules are in /lib/modules/'kernel version'. "make modules_install" installs ~> modules into this directory. Use kernel-package, it automates all of this ~> and compiles kernels into '.deb' files for easy installation. This is what I have in /lib/modules/ 2.0/misc/ devtrace iBCS 2.0.34/<-- I can see most modules here (foo.o?) 2.0.35/ block/ rd.o misc/ lp.o modules.dep net/ bsd_comp.o I really chose more modules while running `make config', both compiled in the kernel and as installable modules. BTW, I did run `make modules' from /usr/src/linux/, the above (from /usr/src/.../boot/) was run later on. Thanks Horacio -- Claves - GnuPG/PGP - Keys : http://www.rediris.es/cert/keyserver o/or Envía un mensaje vacío a [EMAIL PROTECTED] con la línea de asunto: Send a blank message to [EMAIL PROTECTED] with the subject line: Tipo de Clave/Key Type Asunto:/Subject: DSA/ElGamal fetch dsa/elgamal DSS/Diffie-Hellman fetch dh/dss RSA fetch rsa
Re: make modules question
On Thu, Apr 22, 1999 at 11:49:00PM +0200, [EMAIL PROTECTED] wrote: > Hi, > > after compiling a new kernel, `make mrproper', `make config', `make > dep', and `make clean', I run `make modules' with this result: > > homega:/usr/src/linux/arch/i386/boot# make modules > make: *** No rule to make target `modules'. Stop. > > what about the new modules? `lsmod' returns nothing at all: > > homega:~$ lsmod > Module PagesUsed by > > Where are the modules (new and old)? > > TIA > > Horacio > -- > Claves - GnuPG/PGP - Keys : http://www.rediris.es/cert/keyserver > o/or > Envía un mensaje vacío a [EMAIL PROTECTED] con la línea de asunto: > Send a blank message to [EMAIL PROTECTED] with the subject line: > Tipo de Clave/Key TypeAsunto:/Subject: > > DSA/ElGamal fetch dsa/elgamal > DSS/Diffie-Hellmanfetch dh/dss > RSA fetch rsa > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > Modules are in /lib/modules/'kernel version'. "make modules_install" installs modules into this directory. Use kernel-package, it automates all of this and compiles kernels into '.deb' files for easy installation. -- Stephen Pitts [EMAIL PROTECTED] webmaster - http://www.mschess.org
Re: make modules question
homega <[EMAIL PROTECTED]> writes: homega> after compiling a new kernel, `make mrproper', `make config', `make homega> dep', and `make clean', I run `make modules' with this result: homega> homega> homega:/usr/src/linux/arch/i386/boot# make modules homega> make: *** No rule to make target `modules'. Stop. You should do this from the top level of the kernel source tree (/usr/src/linux). Even better, you could install and use the kernel-package package, which will build your kernel into a Debian package and deal with just about everything after configuration for you. -- David Maze [EMAIL PROTECTED] http://donut.mit.edu/dmaze/ "Hey, Doug, do you mind if I push the Emergency Booth Self-Destruct Button?" "Oh, sure, Dave, whatever...you _do_ know what that does, right?"