Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80036 - /usr/include/linux missing an autoconf.h file
Summary: /usr/include/linux missing an autoconf.h file
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-30 01:41 UTC by Steve Egbert
Modified: 2005-01-30 02:01 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 Steve Egbert 2005-01-30 01:41:46 UTC
When emerging xorg-x11, the compile failed due to missing autoconf.h.

Examining the /usr/include/linux/ shows that it is missing the autoconf.h.

Examining the /usr/src/linux/include/linux/ reveals the missing autoconf.h.



Reproducible: Always
Steps to Reproduce:
1. emerge --update xorg-x11
2.
3.

Actual Results:  
Compiler complains missing autoconf.h as referenced by
/usr/include/linux/config.h file.


Expected Results:  
Successful compile.



# emerge info

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 21 2004, 16:29:17)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -m3dnow -msse -mmmx -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -m3dnow -msse -mmmx -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://adelie.polymtl.ca/
ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/
ftp://gentoo.risq.qc.ca/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo
http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/
http://cudlug.cudenver.edu/gentoo/
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/
http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/
http://gentoo.ccccom.com ftp://gentoo.ccccom.com http://mirrors.tds.net/gentoo
ftp://mirrors.tds.net/gentoo http://gentoo.netnitco.net
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/
http://mirror.tucdemonic.org/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/
http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/
ftp://gentoo.agsn.ca/ http://open-systems.ufl.edu/mirrors/gentoo
http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo
http://gentoo.binarycompass.org http://gentoo.mirrored.ca/
ftp://gentoo.mirrored.ca/ http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com
http://chod.cwru.edu/gentoo ftp://chod.cwru.edu/gentoo
http://gentoo.cs.lewisu.edu/gentoo/ ftp://linux.cs.lewisu.edu/gentoo/
http://prometheus.cs.wmich.edu/gentoo http://modzer0.cs.uaf.edu/public/gentoo/
http://mirror.usu.edu/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d aac accessibility acl acpi aim alsa apache2 apm audiofile
avi bash-completion bcmath berkdb bindist bitmap-fonts bmp bonobo bzlib caps cdr
crypt cscope ctype cups curlwrappers dga dio divx4linux doc dvb dvd dvdr emacs
encode esd ethereal exif f77 fam fastcgi flac font-server foomaticdb fortran ftp
gdbm ggi gif gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icq
imagemagick imap imlib ipv6 jabber jack jpeg kde ldap lesstif libg++ libwww mad
mbox mhash mikmod milter mime mmap mmx mng motif mozilla mpeg msn mysql ncurses
nhc98 nls nocardbus nptl oggvorbis opengl oscar oss pam pcntl pcre pdflib perl
perl5 php pic pie png pnp posix python qt quicktime readline recode ruby samba
sasl sdl shared sharedmem slang sndfile sockets speex spell spl sqlite sse ssl
svga sysvipc szip tcltk tcpd tetex theora tiff transcode truetype truetype-fonts
type1-fonts usb v4l2 wmf xine xinerama xml xml2 xmms xpm xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-01-30 01:50:07 UTC
re-emerge your linux headers
Comment 2 Steve Egbert 2005-01-30 01:53:30 UTC
WORKAROUND:

Performing the following steps fixes the problem (but it is unclear if this is the correct solution):


# cd /usr/include
# mv linux linux-old
# ln -s /usr/src/linux/include/linux linux

# emerge --update xorg-x11


ALTERNATIVE (BETTER) WORKAROUND:

SpanKY's solution offered did a bugzilla mid-air collision with me

# emerge linux-headers
Comment 3 SpanKY gentoo-dev 2005-01-30 02:01:46 UTC
dont link /usr/include/{linux,asm} to /usr/src/linux ever

we dont support that ever