[Pkg-uml-pkgs] Bug#467475: user-mode-linux: FTBFS with gcc-4.3: __memcpy undeclared here

Simon McVittie smcv at ianadd.pseudorandom.co.uk
Sun Apr 6 13:09:11 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Putting this in debian/rules to make gcc use gcc-style inlines rather
than C99-style seems to help somewhat:

KBUILDVARS += KBUILD_CFLAGS=-std=gnu89

However, I'm now getting stuck at:

make[1]: Entering directory `/tmp/user-mode-linux-2.6.24-1um/linux-source-2.6.24'
  SYMLINK arch/um/include/kern_constants.h
  SYMLINK arch/um/include/sysdep
  CHK     arch/um/include/uml-config.h
  UPD     arch/um/include/uml-config.h
make[2]: `arch/um/sys-i386/user-offsets.s' is up to date.
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CC      arch/um/kernel/asm-offsets.s
arch/um/kernel/asm-offsets.c:1:35: error: sysdep/kernel-offsets.h: No such file or directory
make[2]: *** [arch/um/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/tmp/user-mode-linux-2.6.24-1um/linux-source-2.6.24'
make: *** [build-stamp] Error 2

Perhaps user-mode-linux should be using the same compiler as the main kernel
packages anyway, though (that's gcc-4.1 on most architectures at the moment).

Regards,
    Simon
    at the Cambridge BSP
-----BEGIN PGP SIGNATURE-----

iD8DBQFH+Mt3WSc8zVUw7HYRAtXKAJ0RTyTgWLxmL1T0RBiC/zycAllTtwCdHT7b
u1K1U/XX3YIy40VIsJOkygc=
=uY5O
-----END PGP SIGNATURE-----





More information about the Pkg-uml-pkgs mailing list