Sparc-64 kernel build fails on version.h during 'make oldconfig'

Sparc-64 kernel build fails on version.h during 'make oldconfig'

Post by Keith Owen » Fri, 27 Jul 2001 10:50:10



On Wed, 25 Jul 2001 09:39:46 -0800,


>When 'bootstrapping' a new kernel:

>cp ../oldlinux/.config .
>make oldconfig
>make dep
>...
>/usr/src/linux/include/linux/udf_fs_sb.h:22: linux/version.h: No such file
>or directory

Ignore it, the kernel build design is wrong.  make dep is supposed to
pick up all dependencies on included files but, at the time make dep is
run, generated files have not been created yet.  make dep issues lots
of spurious warning and error messages.  The 2.5 makefile rewrite fixes
the design.  This is not a failure condition, make dep keeps going.

I have no idea why udf_fs_sb.h includes versions.h, it does not use it.
I will follow up with the UDF group.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Sparc-64 kernel build fails on version.h during 'make oldconf ig'


Hmm.. didn't think about SMP, as I'm only UP right now.

The enclosed patch then should cover all the architectures
for the stock 2.4.7 kernel.

I tried to find the cleanest place to put the dependancy,
which was usually on the archdep: target, but in the case
of sparc builds, it was on the check-asm: target.

In either case, i'm now building correctly for both i386 and sparc64
for make -j2 dep.  I can also break out of the archdep tools build
and find version.h built, so unless anybody has any major gripes, this
patch should find it's way to the general release, yes?

Alan?

  makefiles.diff
5K Download

2. linux + gate <-> cisco routers

3. Sparc-64 kernel build fails on version.h during 'make oldconf ig', small patch for comments

4. bootdisk says "LIL-" and does nothing (slak 3.6)

5. Kernel 2.4.9 build fails on Mandrake 8.0 ( make modules_install 'isdn')

6. What is Data type 9?

7. SMP board (AMD 768) fails to initalise 64-bit PCI-irqs ('Probably buggy MP')

8. (Q) KDE in RedHat-7.0 (pinstripe)

9. Oops: 2.5.64 check_obj_poison for 'size-64'

10. Help making 'make' general on DEC Alpha and SUN Sparc

11. Linux does'nt 'see' more than 64 MB RAM ??

12. insmod: 'couldn't find the kernel version the module was compiled for'