[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

2.6.35-rc5 build on MIPS misses asm/agp.h



Hello Debian kernel people,

This E-mail is to report a kernel build failure that I encountered.

On a MIPSEL system I do get this output

|   CC [M]  drivers/gpu/drm/ttm/ttm_lock.o
|   CC [M]  drivers/gpu/drm/ttm/ttm_execbuf_util.o
|   CC [M]  drivers/gpu/drm/ttm/ttm_page_alloc.o
| /usr/src/Linux/debian-svn/debian/build/source_mipsel_none/drivers/gpu/drm/ttm/ttm_page_alloc.c:43:21: error: asm/agp.h: No such file or directory
| make[9]: *** [drivers/gpu/drm/ttm/ttm_page_alloc.o] Error 1
| make[8]: *** [drivers/gpu/drm/ttm] Error 2
| make[7]: *** [drivers/gpu/drm] Error 2
| make[6]: *** [drivers/gpu] Error 2
| make[5]: *** [drivers] Error 2
| make[4]: *** [sub-make] Error 2
| make[3]: *** [all] Error 2
| make[3]: Leaving directory
| `/usr/src/Linux/debian-svn/debian/build/build_mipsel_none_4kc-malta'
| make[2]: *** [debian/stamps/build_mipsel_none_4kc-malta_plain] Error 2
| make[2]: Leaving directory `/usr/src/Linux/debian-svn'
| make[1]: *** [build_mipsel_none_4kc-malta_real] Error 2
| make[1]: Leaving directory `/usr/src/Linux/debian-svn'
| make: *** [debian/stamps/build-base] Error 2

What I did to get there comes mostly from the kernel-handbook.
This is what I exactly ( # comment added afterwars ) did:

| svn co svn://svn.debian.org/svn/kernel/dists/trunk/linux-2.6 debian-svn
| cd debian-svn
| svn log # checked that work for http://bugs.debian.org/583689 is included
| cd ..
| apt-get source -d linux-2.6
| cd debian-svn/
| debian/rules orig # failed, it asked for 2.6.32~rc5
| cd ..
| wget http://ftp.debian.org/pool/main/l/linux-2.6/linux-2.6_2.6.35~rc5.orig.tar.gz
| cd -
| debian/rules orig
| debian/rules debian/control
| fakeroot debian/rules binary
 

Information about the "build host"

| stappers@fulong:/usr/src/Linux/debian-svn
| $ pwd              
| /usr/src/Linux/debian-svn
| stappers@fulong:/usr/src/Linux/debian-svn
| $ uname -a
| Linux fulong 2.6.27.7 #1 Fri Mar 6 15:20:56 CST 2009 mips64 GNU/Linux
| stappers@fulong:/usr/src/Linux/debian-svn
| $ uname -m
| mips64
| stappers@fulong:/usr/src/Linux/debian-svn
| $ dpkg-architecture
| DEB_BUILD_ARCH=mipsel
| DEB_BUILD_ARCH_OS=linux
| DEB_BUILD_ARCH_CPU=mipsel
| DEB_BUILD_GNU_CPU=mipsel
| DEB_BUILD_GNU_SYSTEM=linux-gnu
| DEB_BUILD_GNU_TYPE=mipsel-linux-gnu
| DEB_HOST_ARCH=mipsel
| DEB_HOST_ARCH_OS=linux
| DEB_HOST_ARCH_CPU=mipsel
| DEB_HOST_GNU_CPU=mipsel
| DEB_HOST_GNU_SYSTEM=linux-gnu
| DEB_HOST_GNU_TYPE=mipsel-linux-gnu
| stappers@fulong:/usr/src/Linux/debian-svn
| $ svn info
| Path: .
| URL: svn://svn.debian.org/svn/kernel/dists/trunk/linux-2.6
| Repository Root: svn://svn.debian.org/svn/kernel
| Repository UUID: 510b9475-24dd-0310-9b6c-e0eefe99d49f
| Revision: 15990
| Node Kind: directory
| Schedule: normal
| Last Changed Author: benh
| Last Changed Rev: 15985
| Last Changed Date: 2010-07-14 07:26:01 +0800 (Wed, 14 Jul 2010)
| 
| stappers@fulong:/usr/src/Linux/debian-svn
| $ svn update
| At revision 15992.
| stappers@fulong:/usr/src/Linux/debian-svn
| $ 


What can I do to get beyond
| /usr/src/Linux/debian-svn/debian/build/source_mipsel_none/drivers/gpu/drm/ttm/ttm_page_alloc.c:43:21: error: asm/agp.h: No such file or directory
???


Groeten
Geert Stappers

Attachment: signature.asc
Description: Digital signature


Reply to: