ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: programming tools for TS-Linux

To:
Subject: Re: [ts-7000] Re: programming tools for TS-Linux
From: David Hawkins <>
Date: Fri, 18 May 2007 12:50:49 -0700
Seano wrote:
> Thanks for the tips, Dave. I am working from file 
> ftp://oz.embeddedarm.com/rt/rtaiguide.pdf
> 
> I got the link from someone else on this message group.
> 
> I start on the top of the fourth page, 'Building the Adeos real-time kernel

Configure works ok for me. However, build does fail ... I've
seen the error below before ... I think when the crosstool
build finished, and it ran a build test. My feeling is that
I would need to resolve that failure before attributing it
to this particular build.

Perhaps this will help anyway ... I'll look into it later ...
work is interfering with playing ;)

I grabbed the modutils-2.4.26.tar.bz2 since that's the
version needed for the ts11 kernel on the TS-7300.
You could follow the exact instruction in the doc,
and grab the modutils-2.4.27.tar.bz2 file and see
if that works.

Dave

 ts7300]$ wget 
http://www.kernel.org/pub/linux/utils/kernel/modutils/v2.4/modutils-2.4.26.tar.bz2
--12:37:52-- 
http://www.kernel.org/pub/linux/utils/kernel/modutils/v2.4/modutils-2.4.26.tar.bz2
            => `modutils-2.4.26.tar.bz2'
Resolving www.kernel.org... 204.152.191.5, 204.152.191.37
Connecting to www.kernel.org[204.152.191.5]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 235,135 [application/x-bzip2]

100%[====================================>] 235,135       84.21K/s

12:37:57 (84.06 KB/s) - `modutils-2.4.26.tar.bz2' saved [235,135/235,135]

 ts7300]$ tar -jxvf modutils-2.4.26.tar.bz2
modutils-2.4.26/
modutils-2.4.26/kernel-patches/
modutils-2.4.26/kernel-patches/patch-2.4.0-test12-pre7
modutils-2.4.26/kernel-patches/patch-2.4.0-test13-pre2
.... snip ....
modutils-2.4.26/modutils.spec
 ts7300]$ mkdir build
 ts7300]$ cd build/
 build]$ export 
PATH=/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/:$PATH
 build]$ ../modutils-2.4.26/configure 
--host=arm-unknown-linux-gnu --prefix=/home/dwh/ts7300/modutils/install
configure: WARNING: If you wanted to set the --build type, don't use --host.
     If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for arm-unknown-linux-gnu-gcc... arm-unknown-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-unknown-linux-gnu-gcc accepts -g... yes
checking for arm-unknown-linux-gnu-gcc option to accept ANSI C... none 
needed
checking for query_module in -lc... yes
checking for arm-unknown-linux-gnu-gcc... (cached) arm-unknown-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether arm-unknown-linux-gnu-gcc accepts -g... (cached) yes
checking for arm-unknown-linux-gnu-gcc option to accept ANSI C... 
(cached) none needed
checking for arm-unknown-linux-gnu-ranlib... arm-unknown-linux-gnu-ranlib
checking whether ln -s works... yes
checking for wordexp... yes
checking for glob... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.common
config.status: creating depmod/Makefile
config.status: creating genksyms/Makefile
config.status: creating insmod/Makefile
config.status: creating obj/Makefile
config.status: creating util/Makefile
config.status: creating man/Makefile
 build]$ make
make[1]: Entering directory `/home/dwh/ts7300/build/util'
arm-unknown-linux-gnu-gcc -M -g -O2 
-I../../modutils-2.4.26/util/../include -D_GNU_SOURCE 
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0 
  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm 
../../modutils-2.4.26/util/xmalloc.c 
../../modutils-2.4.26/util/xrealloc.c 
../../modutils-2.4.26/util/xstrcat.c 
../../modutils-2.4.26/util/xstrdup.c 
../../modutils-2.4.26/util/xsystem.c ../../modutils-2.4.26/util/logger.c 
../../modutils-2.4.26/util/modstat.c 
../../modutils-2.4.26/util/meta_expand.c 
../../modutils-2.4.26/util/config.c 
../../modutils-2.4.26/util/snap_shot.c 
../../modutils-2.4.26/util/arch64.c ../../modutils-2.4.26/util/gzfiles.c 
../../modutils-2.4.26/util/sys_nim.c ../../modutils-2.4.26/util/xftw.c > 
.dependarm-unknown-linux-gnu-gcc -g -O2 
-I../../modutils-2.4.26/util/../include -D_GNU_SOURCE 
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0 
  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm  -c -o xmalloc.o 
../../modutils-2.4.26/util/xmalloc.c
In file included from ../../modutils-2.4.26/util/xmalloc.c:22:
../../modutils-2.4.26/include/util.h:42: warning: built-in function 
`log' declared as non-function
arm-unknown-linux-gnu-gcc -g -O2 -I../../modutils-2.4.26/util/../include 
-D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm  -c 
-o xrealloc.o ../../modutils-2.4.26/util/xrealloc.c
In file included from ../../modutils-2.4.26/util/xrealloc.c:22:
../../modutils-2.4.26/include/util.h:42: warning: built-in function 
`log' declared as non-function
arm-unknown-linux-gnu-gcc -g -O2 -I../../modutils-2.4.26/util/../include 
-D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm  -c 
-o xstrcat.o ../../modutils-2.4.26/util/xstrcat.c
In file included from ../../modutils-2.4.26/util/xstrcat.c:22:
../../modutils-2.4.26/include/util.h:42: warning: built-in function 
`log' declared as non-function
arm-unknown-linux-gnu-gcc -g -O2 -I../../modutils-2.4.26/util/../include 
-D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm  -c 
-o xstrdup.o ../../modutils-2.4.26/util/xstrdup.c
In file included from ../../modutils-2.4.26/util/xstrdup.c:24:
../../modutils-2.4.26/include/util.h:42: warning: built-in function 
`log' declared as non-function
arm-unknown-linux-gnu-gcc -g -O2 -I../../modutils-2.4.26/util/../include 
-D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm  -c 
-o xsystem.o ../../modutils-2.4.26/util/xsystem.c
arm-unknown-linux-gnu-gcc -g -O2 -I../../modutils-2.4.26/util/../include 
-D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm  -c 
-o logger.o ../../modutils-2.4.26/util/logger.c
In file included from ../../modutils-2.4.26/util/logger.c:30:
../../modutils-2.4.26/include/util.h:42: warning: built-in function 
`log' declared as non-function
../../modutils-2.4.26/util/logger.c: In function `error':
../../modutils-2.4.26/util/logger.c:79: error: `PATH_MAX' undeclared 
(first use in this function)
../../modutils-2.4.26/util/logger.c:79: error: (Each undeclared 
identifier is reported only once
../../modutils-2.4.26/util/logger.c:79: error: for each function it 
appears in.)../../modutils-2.4.26/util/logger.c: In function `lprintf':
../../modutils-2.4.26/util/logger.c:112: error: `PATH_MAX' undeclared 
(first use in this function)
make[1]: *** [logger.o] Error 1
make[1]: Leaving directory `/home/dwh/ts7300/build/util'
make: *** [all] Error 2
 build]$




 
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