Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191113 - linux-headers appears to be missing asm/user.h, which breaks user mode linux kernel build
Summary: linux-headers appears to be missing asm/user.h, which breaks user mode linux ...
Status: RESOLVED DUPLICATE of bug 182089
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-03 02:19 UTC by Christopher Smith
Modified: 2007-09-03 05:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Smith 2007-09-03 02:19:18 UTC
The subject pretty much says it all. I've seen a few reports of this and it appears to only be happening to Gentoo users.

# make linux ARCH=um
  SYMLINK arch/um/include/kern_constants.h
  SYMLINK arch/um/include/sysdep
  CC      arch/um/sys-i386/user-offsets.s
arch/um/sys-i386/user-offsets.c:4:22: 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 `user_i387_struct' 
arch/um/sys-i386/user-offsets.c:52: error: invalid application of `sizeof' to incomplete type `user_fxsr_struct' 
arch/um/sys-i386/user-offsets.c:70: error: invalid application of `sizeof' to incomplete type `user_regs_struct' 
make[1]: *** [arch/um/sys-i386/user-offsets.s] Error 1
make: *** [arch/um/sys-i386/user-offsets.s] Error 2

# emerge --search linux-headers
Searching...   
[ Results for search key : linux-headers ]
[ Applications found : 1 ]
 
*  sys-kernel/linux-headers
      Latest version available: 2.6.21
      Latest version installed: 2.6.21
      Size of files: 4,286 kB
      Homepage:      http://www.kernel.org/ http://www.gentoo.org/
      Description:   Linux system headers
      License:       GPL-2


Reproducible: Always

Steps to Reproduce:
1. Install linux-headers.
2. Download kernel sources, apply skas patch v8.2
3. make menuconfig ARCH=um
4. make linux ARCH=um

Actual Results:  
See description.

Expected Results:  
This should build just fine of course.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-03 05:40:59 UTC

*** This bug has been marked as a duplicate of bug 182089 ***