[SuSE Linux] kernel compile time ?
The install kernel on a box we installed on works fine re-compiling, but no other kernel will ??? make dep gcc -I/usr/src/linux-2.0.36/include -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c scripts/mkdep.c:9: sys/mman.h: No such file or directory make: *** [scripts/mkdep] Error 1 make dep gcc -I/usr/src/linux-2.0.36.SuSE/include -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c scripts/mkdep.c:9: sys/mman.h: No such file or directory make: *** [scripts/mkdep] Error 1 Common error...is something missing from this system ? Thanks - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Never got that one. Did you configure the kernel first with either make config, make menuconfig or make xconfig? If so, perhaps somehow the kernel source got clobbered on you, try a deinstall of the kernel source and reinstall it again.
make dep gcc -I/usr/src/linux-2.0.36/include -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c scripts/mkdep.c:9: sys/mman.h: No such file or directory make: *** [scripts/mkdep] Error 1
make dep gcc -I/usr/src/linux-2.0.36.SuSE/include -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c scripts/mkdep.c:9: sys/mman.h: No such file or directory make: *** [scripts/mkdep] Error 1
Common error...is something missing from this system ? Thanks
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
"W.D.McKinney" wrote:
The install kernel on a box we installed on works fine re-compiling, but no other kernel will ???
make dep gcc -I/usr/src/linux-2.0.36/include -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c scripts/mkdep.c:9: sys/mman.h: No such file or directory make: *** [scripts/mkdep] Error 1
make dep gcc -I/usr/src/linux-2.0.36.SuSE/include -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c scripts/mkdep.c:9: sys/mman.h: No such file or directory make: *** [scripts/mkdep] Error 1
Common error...is something missing from this system ? Thanks
Did you do a " make mrproper" before trying to compile? It cleans up the source. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
On Thu, 3 Dec 1998, zentara wrote:
scripts/mkdep.c:9: sys/mman.h: No such file or directory make: *** [scripts/mkdep] Error 1
make dep gcc -I/usr/src/linux-2.0.36.SuSE/include -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c scripts/mkdep.c:9: sys/mman.h: No such file or directory sys/mman.h is in /usr/include/sys/mman.h
do you have the devel libs and headers installed for gcc. This is not even part of the kernel.
Common error...is something missing from this system ? Thanks
Did you do a " make mrproper" before trying to compile? It cleans up the source. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hi, On Thu, Dec 03, zentara wrote:
The install kernel on a box we installed on works fine re-compiling, but no other kernel will ???
make dep gcc -I/usr/src/linux-2.0.36/include -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c scripts/mkdep.c:9: sys/mman.h: No such file or directory make: *** [scripts/mkdep] Error 1
make dep gcc -I/usr/src/linux-2.0.36.SuSE/include -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c scripts/mkdep.c:9: sys/mman.h: No such file or directory make: *** [scripts/mkdep] Error 1
Common error...is something missing from this system ? Thanks
Did you do a " make mrproper" before trying to compile? It cleans up the source.
Among other things, "make mrproper" deletes include/asm. So this does not only not help, but will lead to exact this problem. -o) Hubert Mantel Goodbye, dots... /\\ _\_v - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hubert Mantel wrote:
On Thu, Dec 03, zentara wrote:
Did you do a " make mrproper" before trying to compile? It cleans up the source.
Among other things, "make mrproper" deletes include/asm. So this does not only not help, but will lead to exact this problem. -o) Hubert Mantel Goodbye, dots... /\\ _\_v
My guns arn't big enough to go up against you Herbert; BUT quoting from the KERNEL HOW-TO *************************************************************************** 4.3. Other ``make''ables `make mrproper' will do a more extensive `clean'ing. It is sometimes necessary; you may wish to do it at every patch. `make mrproper' will also delete your configuration file, so you might want to make a backup of it (.config) if you see it as valuable. ***************************************************************************** I've had to use it to clean out old configurations, and it always leaves the source functional for a new "make menuconfig". - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hi, On Fri, Dec 04, zentara wrote:
Hubert Mantel wrote:
On Thu, Dec 03, zentara wrote:
Did you do a " make mrproper" before trying to compile? It cleans up the source.
Among other things, "make mrproper" deletes include/asm. So this does not only not help, but will lead to exact this problem. -o) Hubert Mantel Goodbye, dots... /\\ _\_v
My guns arn't big enough to go up against you Herbert; BUT quoting from the KERNEL HOW-TO *************************************************************************** 4.3. Other ``make''ables
`make mrproper' will do a more extensive `clean'ing. It is sometimes necessary; you may wish to do it at every patch. `make mrproper' will also delete your configuration file, so you might want to make a backup of it (.config) if you see it as valuable.
*****************************************************************************
I've had to use it to clean out old configurations, and it always leaves the source functional for a new "make menuconfig".
"make menuconfig" (as well as "make config", "make oldconfig" or "make xconfig") recreates the link include/asm. Try to do a "make dep" directly after "make mrproper". It will fail. -o) Hubert Mantel Goodbye, dots... /\\ _\_v - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hubert Mantel wrote:
"make menuconfig" (as well as "make config", "make oldconfig" or "make xconfig") recreates the link include/asm.
Try to do a "make dep" directly after "make mrproper". It will fail.
Shot down again, ahhhhhhhhhh!!!!!!! But before I die, I'm gonna say that it always pays to wipe the slate clean when you have a problem compiling the kernel. Why try to manually recreate the links after some failure? Why not just start over? I have yet to have a problem compiling a kernel with: make mrproper make menuconfig make dep make clean make zImage Of course you are right that the symlinks are recreated with the make menuconfig, but when there is a problem, clean the slate. Ugh, ...I'm off to linux heaven. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
zentara <zentara@mindspring.com> writes:
Hubert Mantel wrote:
On Thu, Dec 03, zentara wrote:
Did you do a " make mrproper" before trying to compile? It cleans up the source.
Among other things, "make mrproper" deletes include/asm. So this does not only not help, but will lead to exact this problem. -o) Hubert Mantel Goodbye, dots... /\\ _\_v
My guns arn't big enough to go up against you Herbert; BUT quoting from the KERNEL HOW-TO *************************************************************************** 4.3. Other ``make''ables
`make mrproper' will do a more extensive `clean'ing. It is sometimes necessary; you may wish to do it at every patch. `make mrproper' will also delete your configuration file, so you might want to make a backup of it (.config) if you see it as valuable.
*****************************************************************************
I've had to use it to clean out old configurations, and it always leaves the source functional for a new "make menuconfig".
/usr/src/linux$ find -name Makefile|xargs grep menuconfig: ./Makefile:menuconfig: include/linux/version.h symlinks /usr/src/linux$ find -name Makefile|xargs grep -A3 symlinks: ./Makefile:symlinks: ./Makefile- rm -f include/asm ./Makefile- ( cd include ; ln -sf asm-$(ARCH) asm) ./Makefile- /usr/src/linux$ make menuconfig is what makes the symlink. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Thanks to all, Just wanted to say that somebody from World Visions sent me the source. Thanks again. Brian Armstrong. -----Original Message----- From: Brian Armstrong [<A HREF="mailto:brian@zba.com">mailto:brian@zba.com</A>] Sent: Friday, December 04, 1998 11:54 AM To: 'suse-linux-e@suse.com' Subject: WvDial Source ? Hello, Does anybody have the source for the latest WvDial (1.20)? I've been trying to download it from their site but I keep getting errors that it cannot find the file. If you do have it can you email it to me, or tell me an alternate location from where to get it. Thanks. Brian Armstrong. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hi, On Wed, Dec 02, W.D.McKinney wrote:
The install kernel on a box we installed on works fine re-compiling, but no other kernel will ???
make dep gcc -I/usr/src/linux-2.0.36/include -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c scripts/mkdep.c:9: sys/mman.h: No such file or directory make: *** [scripts/mkdep] Error 1
Common error...is something missing from this system ? Thanks -o) Hubert Mantel Goodbye, dots... /\\ _\_v
Do a "make configure" before, as this will create the needed symlink from include/asm to include/asm-i386 - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (7)
-
brian@zba.com
-
charlesiii@theverge.com
-
deem@wdm.com
-
mantel@suse.de
-
markgray@iago.nac.net
-
wizard01@impop.bellatlantic.net
-
zentara@mindspring.com