[mc1322x] contiki compilation error
Camilo, Alex
acamilo at neuronrobotics.com
Mon Dec 7 04:42:38 EST 2009
Hello, I'm having some trouble compiling the contiki port for the mc1322x
micro-controller and compilation for the targets of naive and mc1322x error
out at some point of the compilation process. With a target of mc1322x
compilation stops with this error.
PUCK-MSND:hello-world acamilo$ make TARGET=mc1322x
arm-elf-gcc -DCONTIKI_TARGET_MC1322X -I. -I../../core -I../../cpu/mc1322x
-I../../cpu/mc1322x/loader -I../../cpu/mc1322x/dbg-io
-I../../platform/mc1322x -DWITH_UIP -DWITH_ASCII -DMCK= -Werror
-mcpu=arm7tdmi-s -mthumb-interwork -march=armv4t -mtune=arm7tdmi-s
-DCONFIG_ARM -D__ARM__ -g -Os -DRUN_AS_SYSTEM -DROM_RUN
-fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float
-DTEXT_BASE=0x00400000 -fno-builtin-printf -fno-builtin-sprintf -I.
-I../../platform/mc1322x/. -I../../platform/mc1322x/apps
-I../../platform/mc1322x/net -I../../cpu/mc1322x/. -I../../core/dev
-I../../core/lib -I../../core/net -I../../core/net/mac -I../../core/net/rime
-I../../core/net/routing -I../../core/sys -I../../core/cfs -I../../core/ctk
-I../../core/lib/ctk -I../../core/loader -I../../core/. -mthumb
-mcallee-super-interworking -c ../../platform/mc1322x/./printf-arch.c -o
obj_mc1322x/printf-arch.o
../../platform/mc1322x/./printf-arch.c:41:20: error: memory.h: No such file
or directory
make: *** [obj_mc1322x/printf-arch.o] Error 1
I have run into this same error using two different toolchains and operating
systems. The first tool-chain being the latest version of YAGARTO under OsX
10.5.8.
The tool-chain has been used to successfully compile the example code in
mc1322x-tests.
the components of the tool-chain are as follows:
Binutils-2.19.1
Newlib-1.17.0
GCC-4.4.2
GDB-6.8.50-20080308
Insight-6.8.50-20080308
The second toolchain was the one provided by this website.
http://blog.nutaksas.com/2009/05/installing-gnuarm-arm-toolchain-on.html
the components are as follows (pulled from the auto-build-compile script)
BINUTILS=binutils-2.19.1
GCC=gcc-4.3.3
NEWLIB=newlib-1.17.0
GDB=gdb-6.8
i'm not quite sure whats going on here and would appreciate the help. Am
missing a library?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devl.org/pipermail/mc1322x/attachments/20091207/533643c1/attachment.htm>
More information about the mc1322x
mailing list