ts-7000
[Top] [All Lists]

[ts-7000] Re: TRying to compile up linux 2.6

To:
Subject: [ts-7000] Re: TRying to compile up linux 2.6
From: "Richard" <>
Date: Mon, 10 Mar 2008 16:23:30 -0000
--- In  Alexander Clouter <> wrote:
>
> Hi,
> 
> Richard <> [20080305 06:36:05 -0000]:
> >
> > --- In  Jeff Cunningham <jeffrey@> wrote:
> > >
> > > Did you look back through the archives of this list? There are
several 
> > > lengthy discussions in the last six months on building 2.6 kernels.
> > > 
> > > Or, you could take a look at a page I made for a friend who was
trying 
> > > to duplicate mine:
> > > 
> > > http://cunningham.homeip.net/ts7200.html
> > > 
> > > Its the section titled: "Building and Setting up a 2.6 Kernel"
about 1/3 
> > > of the way down.
> > 
> > Sorry about the delay here I have been very busy at work lately.  I
> > have followed the instructions on your web page and have not had any
> > luck.
> >
> Depends on the distro you are using however if you are using Debian the 
> 'official' approach would be to use emdebian-tools to roll your own 
> toolchain; this however I found broken when I tinkered with it a
month ago.
> 
> If you do not mind installing pre-alien'ed RPM packages on your box
then:
> 
> http://www.freaknet.org/martin/crosstool/packages/
> 
> I downloaded:
> 
>
http://www.freaknet.org/martin/crosstool/packages/arm-crosstool-linux-gnueabi-gcc-4.1.1-glibc-2.5-crosstool_0.42-1_i686.deb
> 
> Afterwards all you need is the alias in your shell:
> 
> alias amake='make ARCH=arm CROSS_COMPILE=arm-crosstool-linux-gnueabi-'
> 
> Then type 'amake' instead of 'make' to cross compile your kernel.
> 
> Alternatively, if you are not so bothered about EABI, then a good
APT source:
> 
> http://debian.speedblue.org/
> 
> Cheers
> 
> Alex
> 
> -- 
>  _________________________________________
> / A good reputation is more valuable than \
> | money.                                  |
> |                                         |
> \ -- Publilius Syrus                      /
>  -----------------------------------------
>         \   ^__^
>          \  (oo)\_______
>             (__)\       )\/\
>                 ||----w |
>                 ||     ||
>


Is there anyone who has tried this using Opensuse?  I have tried with
the compiler I use for making regular apps for the arm and i get the
following erros.

:~/ts7200/2.6/linux-2.6.23-rc1> make
CROSS_COMPILE=arm-unknown-linux-gnu- ARCH=arm
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  CC      arch/arm/kernel/asm-offsets.s
In file included from include/linux/irqflags.h:46,
                 from include/asm/system.h:78,
                 from include/asm/bitops.h:23,
                 from include/linux/bitops.h:9,
                 from include/linux/thread_info.h:20,
                 from include/asm/current.h:4,
                 from include/linux/capability.h:47,
                 from include/linux/sched.h:49,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/irqflags.h:11:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/asm/bitops.h:23,
                 from include/linux/bitops.h:9,
                 from include/linux/thread_info.h:20,
                 from include/asm/current.h:4,
                 from include/linux/capability.h:47,
                 from include/linux/sched.h:49,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/system.h:153:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:159:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:163:35: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:283:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:288:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/bitops.h:9,
                 from include/linux/thread_info.h:20,
                 from include/asm/current.h:4,
                 from include/linux/capability.h:47,
                 from include/linux/sched.h:49,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/bitops.h:233:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/asm/thread_info.h:16,
                 from include/linux/thread_info.h:21,
                 from include/asm/current.h:4,
                 from include/linux/capability.h:47,
                 from include/linux/sched.h:49,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/fpstate.h:28:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/spinlock.h:333,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:8,
                 from include/linux/timex.h:57,
                 from include/linux/sched.h:53,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/atomic.h:25:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/jiffies.h:4,
                 from include/linux/sched.h:54,
                 from arch/arm/kernel/asm-offsets.c:13:
include/linux/calc64.h: In function 'do_div_llr':
include/linux/calc64.h:25: error: '__LINUX_ARM_ARCH__' undeclared
(first use in this function)
include/linux/calc64.h:25: error: (Each undeclared identifier is
reported only once
include/linux/calc64.h:25: error: for each function it appears in.)
In file included from include/linux/prefetch.h:14,
                 from include/linux/list.h:8,
                 from include/linux/wait.h:22,
                 from include/asm/semaphore.h:9,
                 from include/linux/sched.h:62,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/processor.h:103:5: warning: "__LINUX_ARM_ARCH__" is not
defined
In file included from include/asm/semaphore.h:13,
                 from include/linux/sched.h:62,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/locks.h:15:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/asm/page.h:32,
                 from include/linux/sched.h:63,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/glue.h:119:2: error: #error Unknown data abort handler type
In file included from include/linux/sched.h:63,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/page.h:106:2: error: #error Unknown user operations model
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU