Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129755 - app-emulation/mol won't compile sheep driver with kernel >=2.6.15
Summary: app-emulation/mol won't compile sheep driver with kernel >=2.6.15
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Lars Weiler (RETIRED)
URL: http://maconlinux.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-12 15:24 UTC by Adrian Perez
Modified: 2006-04-21 20:34 UTC (History)
1 user (show)

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 Adrian Perez 2006-04-12 15:24:23 UTC
The "sheep" kernel module included with MOL (app-emulation/mol-0.9.71_pre8) includes <asm/highmem.h>, which cannot be found under "include/asm-powerpc" in the kernel source tree. I think this is because kernel people moved from "asm-ppc" to "asm-powerpc" recently; in fact there is "include/asm-ppc/highmem.h" and symlinking that to "include/asm-powerpc/highmem.h" makes MOL's "sheep" driver happy. I know that's not the best way to fix compilation, but it worked indeed:

  # cd /usr/src/linux/include/asm-powerpc
  # ln -s ../asm-ppc/highmem.h highmem.h
  # USE="sheep" emerge mol

This worked using gentoo-sources-2.6.16-r1 on a 12" G3 iBook (Dual-USB).


Portage 2.1_pre7-r5 (default-linux/ppc/ppc32/2006.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.16-gentoo-r1 ppc)
=================================================================
System uname: 2.6.16-gentoo-r1 ppc 750FX
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-Os -mtune=powerpc -pipe -mcpu=750 -mstring -mmultiple  -mpowerpc-gfxopt -pthread"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-Os -mtune=powerpc -pipe -mcpu=750 -mstring -mmultiple        -mpowerpc-gfxopt -pthread"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/       http://ftp.rhnet.is/pub/gentoo/         http://mirror.usu.edu/mirrors/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/modularx /usr/local/overlays/connectical /usr/local/overlays/moebius"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aac aalib acl aim alsa apache2 apm arts audiofile bash-completion berkdb bluetooth bonobo cairo cdparanoia cdr cli crypt ctype curlwrappers dba dbus dga dio dri dvd eds encode esd ethereal exif expat fam fastbuild fbcon ffmpeg firefox foomaticdb force-cgi-redirect ftp gd gdbm ggi gif gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal iconv icq ieee1394 imap imlib ipv6 isdnlog jabber javascript jikes jpeg jpeg2k ldap lesstif libcaca libg++ libwww lua mad maildir mailwrapper matroska mbox memlimit mikmod mmap motif mozilla mp3 mpeg msn ncurses neXt nptl nsplugin ogg opengl oscar pam pcre pda pdflib png portaudio posix pppd python quicktime readline ruby sasl sdl session simplexml sndfile soap sockets spell spl ssl svg symlink sysvipc tcpd threads tokenizer truetype type1-fonts udev unicode usb vorbis wifi wv xinerama xml xmlrpc xmms xsl xslt xv xvid zlib elibc_glibc kernel_linux userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Joe Jezak (RETIRED) gentoo-dev 2006-04-21 20:34:36 UTC
Yes, ARCH="powerpc" is missing the header.  I've asked benh about it and he said he'd take care of it.  For now, if you need to compile it on newer kernels, link asm-ppc/highmem.h to asm-powerpc/highmem.h