ts-7000
[Top] [All Lists]

[ts-7000] Re: Building TS9 Kernel fails

To:
Subject: [ts-7000] Re: Building TS9 Kernel fails
From: "liliangyao" <>
Date: Wed, 15 Nov 2006 18:11:12 -0000
--- In  "kendwyer" <> wrote:
>
> Hi
> 
> I am using Cygwin with Croostools (crosstool-cygwin-gcc-3.3.4-
glibc-
> 2.3.2.tar.bz2) and attempting to get my toolchain corectly 
> configured. This is what I have done so far:
> 
> 1: Installed Cygwin
> 
> 2: Extracted cygwin crosstools to /usr/local
>       tar xvjf crosstools-cygwin-gcc-3.3.4-glibc-2.3.2.tar.bz2
> 
> 3: Extracted TS9 source code to /usr/src
>       tar xvzf tskernel-2.4.26-ts9-src.tar.gz
> 
> The above creates a linux24 directory in /usr/src
> 
> 4: Next, cd to /usr/src/linux24 and update CROSS_COMPILE in the 
> Makefile: 
> CROSS_COMPILE=/usr/local/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-
> unknown-linux-gnu/bin/arm-unknown-linux-gnu-
> 
> 5: make memuconfig
> 6: make dep
> 7: make vmlinux
> 
> The last make compiles for a while and then fails as shown 
> below.....Does anyone have any idea on this failure?
> 
> Many thanks
> Ken
> 
> 
> ....
> .......
> /usr/local/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-
> gnu/bin/arm-unk
> nown-linux-gnu-ar rcs video.o
> make[4]: Leaving directory `/usr/src/linux24/drivers/media/video'
> make[3]: Leaving directory `/usr/src/linux24/drivers/media/video'
> make all_targets
> make[3]: Entering directory `/usr/src/linux24/drivers/media'
> rm -f media.o
> /usr/local/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-
> gnu/bin/arm-unk
> nown-linux-gnu-ld   -r -o media.o video/video.o radio/radio.o
> make[3]: Leaving directory `/usr/src/linux24/drivers/media'
> make[2]: Leaving directory `/usr/src/linux24/drivers/media'
> make -C misc
> make[2]: Entering directory `/usr/src/linux24/drivers/misc'
> make all_targets
> make[3]: Entering directory `/usr/src/linux24/drivers/misc'
> /usr/local/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-
> gnu/bin/arm-unk
> nown-linux-gnu-gcc -D__KERNEL__ -I/usr/src/linux24/include -Wall -
> Wstrict-protot
> ypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -
fno-
> common -pipe
>  -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4  -msoft-float -
Uarm   -
> nostdinc -
> iwithprefix include -DKBUILD_BASENAME=ts_sbcinfo   -c -o 
ts_sbcinfo.o 
> ts_sbcinfo
> .c
> ts_sbcinfo.c: In function `sbc_setinfo':
> ts_sbcinfo.c:44: error: `TS7XXX_MODEL' undeclared (first use in 
this 
> function)
> ts_sbcinfo.c:44: error: (Each undeclared identifier is reported 
only 
> once
> ts_sbcinfo.c:44: error: for each function it appears in.)
> ts_sbcinfo.c:60: error: `TS7XXX_IO16_BASE' undeclared (first use 
in 
> this functio
> n)
> ts_sbcinfo.c: In function `sbc_read_proc':
> ts_sbcinfo.c:99: warning: unused variable `temp'
> make[3]: *** [ts_sbcinfo.o] Error 1
> make[3]: Leaving directory `/usr/src/linux24/drivers/misc'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux24/drivers/misc'
> make[1]: *** [_subdir_misc] Error 2
> make[1]: Leaving directory `/usr/src/linux24/drivers'
> make: *** [_dir_drivers] Error 2
>

looks like the configuration is not correct... I just re-built the 
kernel for 7250 using the autobuild_for_customer script. give it a 
try...

Liangyao




 
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