Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Crux <ps@...> (by way of Crux <ps@...>)
Subject: kernel compile error problem & solution
Date: Fri Jun 1 07:16:01 2001
Hi all,

The kernel compilation for 2.4.5 gives the following error

gcc -D__KERNEL__ -I/tmp/portage/linux-2.4.5/work/linux-2.4.5/include -Wall
 -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
 -mpreferred-stack-boundary=2 -march=i486 -DMODULE -DMODVERSIONS -include
 /tmp/portage/linux-2.4.5/work/linux-2.4.5/include/linux/modversions.h   -c
 -o buz.o buz.c buz.c:188: `KMALLOC_MAXSIZE' undeclared (first use in this
 function) buz.c:188: (Each undeclared identifier is reported only once
buz.c:188: for each function it appears in.)
buz.c: In function `jpg_fbuffer_alloc':
buz.c:262: `KMALLOC_MAXSIZE' undeclared (first use in this function)
buz.c:256: warning: `alloc_contig' might be used uninitialized in this
 function buz.c: In function `jpg_fbuffer_free':
buz.c:322: `KMALLOC_MAXSIZE' undeclared (first use in this function)
buz.c:316: warning: `alloc_contig' might be used uninitialized in this
 function buz.c: In function `zoran_ioctl':
buz.c:2837: `KMALLOC_MAXSIZE' undeclared (first use in this function)
buz.c: In function `zr36057_init':
buz.c:3215: too few arguments to function `video_register_device_R224aa13e'
make[3]: *** [buz.o] Error 1
make[3]: Leaving directory
 `/tmp/portage/linux-2.4.5/work/linux-2.4.5/drivers/media/video' make[2]: ***
 [_modsubdir_video] Error 2
make[2]: Leaving directory
 `/tmp/portage/linux-2.4.5/work/linux-2.4.5/drivers/media' make[1]: ***
 [_modsubdir_media] Error 2
make[1]: Leaving directory
 `/tmp/portage/linux-2.4.5/work/linux-2.4.5/drivers' make: *** [_mod_drivers]
 Error 2

so i copied the old config.bootcomp from 2.4.4.9 and said no to everything 
under video for linux section

and it compiled ... not a good solution if some one needs video for linux :(

and then with the linux extras compilation i got the following error 

Config file /usr/src/linux-2.4.5/.config not present!

so i did 

cp /tmp/portage/linux-2.4.5/work/linux-2.4.5/.config /usr/src/linux-2.4.5/

and it compiled without problems :)

maybe someone needs to look into this

Best Regards
Prakash Shetty







_______________________________________________
gentoo-dev mailing list
gentoo-dev@g.o
http://cvs.gentoo.org/mailman/listinfo/gentoo-dev


Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Instalation from FAT partition. Possible?
Next by thread:
CFG FILES ERASED
Previous by date:
Re: Instalation from FAT partition. Possible?
Next by date:
CFG FILES ERASED


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.