All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antoine Martin <antoine@nagafix.co.uk>
To: Antoine Martin <antoine@nagafix.co.uk>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] ARCH=um SUBARCH=i386 breakage?
Date: Fri, 13 Jul 2007 13:03:21 +0100	[thread overview]
Message-ID: <46976A09.9070906@nagafix.co.uk> (raw)
In-Reply-To: <46975CD0.5020709@nagafix.co.uk>

I had updated the kernel headers and these include files have been removed.
Until UML uses some other trick, this works for me for the 64-bit build:

cp /usr/src/linux-2.6.22.1/include/asm/user.h /usr/include/asm/user.h
cp /usr/src/linux-2.6.22.1/include/asm/page.h /usr/include/asm/page.h
cp /usr/src/linux-2.6.22.1/include/linux/const.h /usr/include/linux/const.h

But for the 32-bit cross build (make ARCH=um SUBARCH=i386) I still get 
this error:
# make ARCH=um SUBARCH=i386
  SYMLINK arch/um/include/kern_constants.h
  CC      arch/um/sys-i386/user-offsets.s
arch/um/sys-i386/user-offsets.c: In function 'foo':
arch/um/sys-i386/user-offsets.c:52: error: invalid application of 
'sizeof' to incomplete type 'struct user_fxsr_struct'
make[1]: *** [arch/um/sys-i386/user-offsets.s] Error 1
make: *** [arch/um/sys-i386/user-offsets.s] Error 2








Antoine Martin wrote:
> # make ARCH=um SUBARCH=i386          scripts/kconfig/conf -s 
> arch/um/Kconfig
> net/bluetooth/hidp/Kconfig:4:warning: 'select' used by config symbol 
> 'BT_HIDP' refers to undefined symbol 'HID'
>  SYMLINK arch/um/include/kern_constants.h
>  SYMLINK include/asm-um/arch
>  SYMLINK arch/um/include/sysdep
>  SYMLINK arch/um/os
>  SYMLINK include/asm-um/archparam.h
>  SYMLINK include/asm-um/system.h
>  SYMLINK include/asm-um/sigcontext.h
>  SYMLINK include/asm-um/processor.h
>  SYMLINK include/asm-um/ptrace.h
>  SYMLINK include/asm-um/module.h
>  SYMLINK include/asm-um/vm-flags.h
>  SYMLINK include/asm-um/elf.h
>  SYMLINK include/asm-um/host_ldt.h
>  CHK     arch/um/include/uml-config.h
>  UPD     arch/um/include/uml-config.h
>  CC      arch/um/sys-i386/user-offsets.s
> arch/um/sys-i386/user-offsets.c:7:22: error: asm/user.h: No such file 
> or directory
> arch/um/sys-i386/user-offsets.c: In function 'foo':
> arch/um/sys-i386/user-offsets.c:51: error: invalid application of 
> 'sizeof' to incomplete type 'struct user_i387_struct'
> arch/um/sys-i386/user-offsets.c:52: error: invalid application of 
> 'sizeof' to incomplete type 'struct user_fxsr_struct'
> arch/um/sys-i386/user-offsets.c:70: error: invalid application of 
> 'sizeof' to incomplete type 'struct user_regs_struct'
> make[1]: *** [arch/um/sys-i386/user-offsets.s] Error 1
> make: *** [arch/um/sys-i386/user-offsets.s] Error 2
>
>
> This used to work fine -  I am sure the fix is quite simple, but I do 
> not have any spare time ATM.
>
> Antoine
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2007-07-13 12:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13 11:06 [uml-devel] ARCH=um SUBARCH=i386 breakage? Antoine Martin
2007-07-13 12:03 ` Antoine Martin [this message]
2007-07-13 15:57   ` Jeff Dike
2007-07-13 17:41     ` Antoine Martin
2007-07-13 18:44       ` Jeff Dike
2007-07-14  9:23         ` Antoine Martin
2007-07-14 12:00           ` Jeff Dike
2007-07-15 17:08             ` Antoine Martin
2007-07-19  1:13               ` Daniel Gryniewicz
2007-07-19  1:25                 ` Jeff Dike
2007-07-19 19:54                 ` Antoine Martin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46976A09.9070906@nagafix.co.uk \
    --to=antoine@nagafix.co.uk \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.