Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 39224

Summary: ppc-sources-2.4.24 fails to compile
Product: Gentoo Linux Reporter: Mitchell <mns6070>
Component: Current packagesAssignee: PPC Porters <ppc>
Status: VERIFIED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: My .config for this kernel

Description Mitchell 2004-01-23 20:35:51 UTC
I am trying to install ppc-sources-2.4.24.  When I run make dep && make clean vmlinux modules modules_install, I get the following error message:

pmac_nvram.c: In function `pmac_nvram_init':
pmac_nvram.c:531: `pmu_nvram_read_byte' undeclared (first use in this function)
pmac_nvram.c:531: (Each undeclared identifier is reported only once
pmac_nvram.c:531: for each function it appears in.)
pmac_nvram.c:532: `pmu_nvram_write_byte' undeclared (first use in this function)
make[2]: *** [pmac_nvram.o] Error 1
make[2]: Leaving directory `/usr/src/ppc-sources-2.4.24/arch/ppc/platforms'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/ppc-sources-2.4.24/arch/ppc/platforms'
make: *** [_dir_arch/ppc/platforms] Error 2


Reproducible: Always
Steps to Reproduce:
1.make dep && make clean vmlinux modules modules_install
Actual Results:  
pmac_nvram.c: In function `pmac_nvram_init':
pmac_nvram.c:531: `pmu_nvram_read_byte' undeclared (first use in this function)
pmac_nvram.c:531: (Each undeclared identifier is reported only once
pmac_nvram.c:531: for each function it appears in.)
pmac_nvram.c:532: `pmu_nvram_write_byte' undeclared (first use in this function)
make[2]: *** [pmac_nvram.o] Error 1
make[2]: Leaving directory `/usr/src/ppc-sources-2.4.24/arch/ppc/platforms'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/ppc-sources-2.4.24/arch/ppc/platforms'
make: *** [_dir_arch/ppc/platforms] Error 2


Expected Results:  
Created a nmw vmlinux file

bash-2.05b# emerge info                                           
Portage 2.0.50_pre19 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-ben2)
=================================================================
System uname: 2.4.22-ben2 ppc 740/750
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char -mmultiple -mstring"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char -mmultiple -mstring
"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/d
istributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aalib berkdb crypt cups dvd esd foomaticdb gdbm gif gnome gnome-libs gpm 
gtk gtk2 guile imlib java jpeg kde libwww mitshm motif mozilla oggvorbis opengl 
oss pam perl pic png ppc python qt rage128 readline sdl slang spell ssl tcpd tru
etype usb xv"
Comment 1 Mitchell 2004-01-23 20:36:51 UTC
Created attachment 24324 [details]
My .config for this kernel
Comment 2 Mitchell 2004-02-04 16:31:24 UTC
This site pointed me to the solution:

Close the bug.

http://lists.debian.org/debian-powerpc/2003/debian-powerpc-200312/msg00516.html
Comment 3 Kevyn Shortell (RETIRED) gentoo-dev 2004-02-04 22:23:57 UTC
user kernel configuration issue. bug closed. 

Sorry you had to use google to figure it out. We've been really slammed lately. (I personally have a brand new job..ugh. heh) Glad to hear that you got it working.

trance