UML doesn't build in 2.5.45

From: Petr Baudis (pasky@pasky.ji.cz)
Date: Fri Nov 01 2002 - 17:57:21 EST


  Hello,

  when tried to build UML with 2.5.45, I got into problems relatively quickly:

  # make mrproper ARCH=um
..went ok..
  # make oldconfig ARCH=um
..went ok..
  # make dep ARCH=um
  gcc -Wp,-MD,arch/um/sys-i386/util/.mk_thread_kern.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -I/opt/src/opt/uml/linux-2.5.30/arch/um/include -Derrno=kernel_errno -nostdinc -iwithprefix include -DKBUILD_BASENAME=mk_thread_kern -c -o arch/um/sys-i386/util/mk_thread_kern.o arch/um/sys-i386/util/mk_thread_kern.c
In file included from include/linux/posix_types.h:46,
                 from include/linux/types.h:11,
                 from include/linux/capability.h:16,
                 from include/linux/sched.h:9,
                 from arch/um/sys-i386/util/mk_thread_kern.c:2:
include/asm/posix_types.h:4: asm/arch/posix_types.h: No such file or directory
In file included from include/linux/types.h:12,
                 from include/linux/capability.h:16,
                 from include/linux/sched.h:9,
                 from arch/um/sys-i386/util/mk_thread_kern.c:2:
include/asm/types.h:4: asm/arch/types.h: No such file or directory
In file included from include/linux/bitops.h:3,
                 from include/linux/thread_info.h:10,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:44,
                 from include/linux/sched.h:9,
                 from arch/um/sys-i386/util/mk_thread_kern.c:2:
include/asm/bitops.h:4: asm/arch/bitops.h: No such file or directory
In file included from include/linux/thread_info.h:11,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:44,
                 from include/linux/sched.h:9,
                 from arch/um/sys-i386/util/mk_thread_kern.c:2:
include/asm/thread_info.h:11: asm/processor.h: No such file or directory
In file included from include/linux/kernel.h:15,
                 from include/linux/spinlock.h:13,
                 from include/linux/capability.h:44,
                 from include/linux/sched.h:9,
                 from arch/um/sys-i386/util/mk_thread_kern.c:2:
include/asm/byteorder.h:4: asm/arch/byteorder.h: No such file or directory
In file included from include/linux/spinlock.h:13,
                 from include/linux/capability.h:44,
                 from include/linux/sched.h:9,
                 from arch/um/sys-i386/util/mk_thread_kern.c:2:
include/linux/kernel.h:138: #error "Please fix asm/byteorder.h"
In file included from include/linux/capability.h:44,
                 from include/linux/sched.h:9,
                 from arch/um/sys-i386/util/mk_thread_kern.c:2:
include/linux/spinlock.h:16: asm/system.h: No such file or directory
In file included from arch/um/sys-i386/util/mk_thread_kern.c:2:
include/linux/sched.h:18: asm/system.h: No such file or directory
In file included from include/linux/sched.h:19,
                 from arch/um/sys-i386/util/mk_thread_kern.c:2:
include/asm/semaphore.h:4: asm/arch/semaphore.h: No such file or directory
..snip..
In file included from include/linux/msg.h:32,
                 from include/linux/security.h:34,
                 from include/linux/sched.h:586,
                 from arch/um/sys-i386/util/mk_thread_kern.c:2:
include/asm/msgbuf.h:4: asm/arch/msgbuf.h: No such file or directory
make[1]: *** [arch/um/sys-i386/util/mk_thread_kern.o] Error 1
make: *** [arch/um/sys-i386/util] Error 2

  include/asm/arch doesn't exist at all (I guess that it should be symlink to
include/asm-i386/ ..?), when setting it up manually and then copying around
some missing files ("just in case it would help"), I still got burnt from
archparam.h, which wasn't found anywhere.

  Kind regards,

-- 
 
				Petr "Pasky" Baudis
 
* ELinks maintainer                * IPv6 guy (XS26 co-coordinator)
* IRCnet operator                  * FreeCiv AI occassional hacker
.
This host is a black hole at HTTP wavelengths. GETs go in, and nothing
comes out, not even Hawking radiation.
                -- Graaagh the Mighty on rec.games.roguelike.angband
.
Public PGP key && geekcode && homepage: http://pasky.ji.cz/~pasky/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:22 EST