Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23744 - ACPI in gs-sources does not compile (linux-2.4.21_rc8-gss)
Summary: ACPI in gs-sources does not compile (linux-2.4.21_rc8-gss)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-30 02:44 UTC by pablo Pita
Modified: 2003-07-11 19:58 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 pablo Pita 2003-06-30 02:44:43 UTC
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21_rc8-gss/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe 
-mpreferred-stack-boundary=2 -march=pentium4 -DMODULE  -nostdinc -iwithprefix include 
-DKBUILD_BASENAME=acpiphp_glue  -c -o acpiphp_glue.o acpiphp_glue.c 
acpiphp_glue.c: In function `find_host_bridge': 
acpiphp_glue.c:815: warning: passing arg 2 of `acpi_get_object_info' from incompatible 
pointer type 
acpiphp_glue.c:821: subscripted value is neither array nor pointer 
acpiphp_glue.c:826: incompatible type for argument 1 of `strcmp' 
make[2]: *** [acpiphp_glue.o] Error 1 
make[2]: Leaving directory `/usr/src/linux-2.4.21_rc8-gss/drivers/hotplug' 
make[1]: *** [_modsubdir_hotplug] Error 2 
make[1]: Leaving directory `/usr/src/linux-2.4.21_rc8-gss/drivers' 
make: *** [_mod_drivers] Error 2 
 
hardy linux # grep ACPI .config 
CONFIG_HOTPLUG_PCI_ACPI=m 
# ACPI Support 
CONFIG_ACPI=y 
CONFIG_ACPI_BOOT=y 
CONFIG_ACPI_BUS=y 
CONFIG_ACPI_INTERPRETER=y 
CONFIG_ACPI_EC=y 
CONFIG_ACPI_POWER=y 
CONFIG_ACPI_PCI=y 
CONFIG_ACPI_SLEEP=y 
CONFIG_ACPI_SYSTEM=y 
CONFIG_ACPI_AC=y 
CONFIG_ACPI_BATTERY=y 
CONFIG_ACPI_BUTTON=y 
CONFIG_ACPI_FAN=y 
CONFIG_ACPI_PROCESSOR=y 
CONFIG_ACPI_THERMAL=y 
# CONFIG_ACPI_TOSHIBA is not set 
# CONFIG_ACPI_DEBUG is not set 
 

Reproducible: Always
Steps to Reproduce:
1. emerge gs-sources 
2. make config and select acpi with the options given 
3. make dep ; make bzImage  


Expected Results:  
It should compile 

hardy linux # emerge info 
Portage 2.0.48 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2) 
================================================================= 
System uname: 2.4.20-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz 
GENTOO_MIRRORS=" http://ftp.easynet.nl/mirror/gentoo// 
ftp://ftp.easynet.nl/mirror/gentoo// ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="x86 3dnow avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses 
nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts tetex 
svga tcltk java mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde 
motif opengl mozilla ldap cdr scanner alsa acpi4linux -oss -apm junit" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -msse2 
-mfpmath=sse,387" 
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse 
-msse2 -mfpmath=sse,387" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/" 
FEATURES="sandbox ccache usersandbox"
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2003-07-11 19:58:22 UTC
fixed in 2.4.22_pre2 of gs-sources.