[mc1322x] contiki compilation error
Camilo, Alex
acamilo at neuronrobotics.com
Mon Dec 7 09:34:18 EST 2009
Thanks for the help. I made it to the linker and i got the following
errors.
I don't understand why a library would use hardware floating point. I was
under the assumption that the arm7tdmi in this chip lacks the requisite
coprocessor.
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
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 ../../cpu/mc1322x/./maca.c -o
obj_mc1322x/maca.o
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 ../../cpu/mc1322x/./nvm.c -o
obj_mc1322x/nvm.o
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 ../../cpu/mc1322x/./crm.c -o
obj_mc1322x/crm.o
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 ../../cpu/mc1322x/./rtimer-arch.c -o
obj_mc1322x/rtimer-arch.o
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 ../../cpu/mc1322x/./watchdog.c -o
obj_mc1322x/watchdog.o
arm-elf-ar rcf contiki-mc1322x.a obj_mc1322x/rimeroute.o
obj_mc1322x/packetbuf.o obj_mc1322x/queuebuf.o obj_mc1322x/rimeaddr.o
obj_mc1322x/ctimer.o obj_mc1322x/rime.o obj_mc1322x/timesynch.o
obj_mc1322x/rimestats.o obj_mc1322x/announcement.o
obj_mc1322x/polite-announcement.o obj_mc1322x/packetqueue.o
obj_mc1322x/broadcast.o obj_mc1322x/stbroadcast.o obj_mc1322x/unicast.o
obj_mc1322x/stunicast.o obj_mc1322x/runicast.o obj_mc1322x/abc.o
obj_mc1322x/rucb.o obj_mc1322x/polite.o obj_mc1322x/ipolite.o
obj_mc1322x/netflood.o obj_mc1322x/multihop.o obj_mc1322x/rmh.o
obj_mc1322x/trickle.o obj_mc1322x/mesh.o obj_mc1322x/route.o
obj_mc1322x/route-discovery.o obj_mc1322x/collect.o obj_mc1322x/neighbor.o
obj_mc1322x/neighbor-discovery.o obj_mc1322x/rudolph0.o
obj_mc1322x/rudolph1.o obj_mc1322x/rudolph2.o obj_mc1322x/chameleon.o
obj_mc1322x/channel.o obj_mc1322x/chameleon-raw.o
obj_mc1322x/chameleon-bitopt.o obj_mc1322x/xmac.o obj_mc1322x/nullmac.o
obj_mc1322x/lpp.o obj_mc1322x/frame802154.o obj_mc1322x/sicslowmac.o
obj_mc1322x/framer.o obj_mc1322x/framer-nullmac.o
obj_mc1322x/framer-802154.o obj_mc1322x/process.o obj_mc1322x/procinit.o
obj_mc1322x/autostart.o obj_mc1322x/elfloader.o obj_mc1322x/profile.o
obj_mc1322x/timetable.o obj_mc1322x/timetable-aggregate.o
obj_mc1322x/compower.o obj_mc1322x/serial-line.o obj_mc1322x/memb.o
obj_mc1322x/mmem.o obj_mc1322x/timer.o obj_mc1322x/list.o
obj_mc1322x/etimer.o obj_mc1322x/energest.o obj_mc1322x/rtimer.o
obj_mc1322x/stimer.o obj_mc1322x/print-stats.o obj_mc1322x/ifft.o
obj_mc1322x/crc16.o obj_mc1322x/random.o obj_mc1322x/checkpoint.o
obj_mc1322x/ringbuf.o obj_mc1322x/uip.o obj_mc1322x/uiplib.o
obj_mc1322x/resolv.o obj_mc1322x/tcpip.o obj_mc1322x/psock.o
obj_mc1322x/hc.o obj_mc1322x/uip-split.o obj_mc1322x/uip-fw.o
obj_mc1322x/uip-fw-drv.o obj_mc1322x/uip_arp.o obj_mc1322x/tcpdump.o
obj_mc1322x/uip-neighbor.o obj_mc1322x/uip-udp-packet.o
obj_mc1322x/uip-over-mesh.o obj_mc1322x/uaodv.o obj_mc1322x/uaodv-rt.o
obj_mc1322x/contiki-mc1322x-main.o obj_mc1322x/isr.o obj_mc1322x/clock.o
obj_mc1322x/uart1.o obj_mc1322x/dbg-io.o obj_mc1322x/printf-arch.o
obj_mc1322x/maca.o obj_mc1322x/nvm.o obj_mc1322x/crm.o
obj_mc1322x/rtimer-arch.o obj_mc1322x/watchdog.o
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 hello-world.c -c -o hello-world.co
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/. -D__ASSEMBLY__
-gstabs ../../cpu/mc1322x/./startup.S -c -o obj_mc1322x/startup.o
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 symbols.c -o obj_mc1322x/symbols.o
arm-elf-gcc -T ../../cpu/mc1322x/mc1322x.lds -nostartfiles -static
-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/. -nostartfiles -o
hello-world.mc1322x hello-world.co obj_mc1322x/contiki-mc1322x-main.o
obj_mc1322x/startup.o obj_mc1322x/symbols.o contiki-mc1322x.a
contiki-mc1322x.a
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
ERROR:
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/interwork/libgcc.a(_udivsi3.o)
uses hardware FP, whereas hello-world.mc1322x uses software FP
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
failed to merge target specific data of file
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/interwork/libgcc.a(_udivsi3.o)
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
ERROR:
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/interwork/libgcc.a(_umodsi3.o)
uses hardware FP, whereas hello-world.mc1322x uses software FP
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
failed to merge target specific data of file
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/interwork/libgcc.a(_umodsi3.o)
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
ERROR:
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/interwork/libgcc.a(_dvmd_tls.o)
uses hardware FP, whereas hello-world.mc1322x uses software FP
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
failed to merge target specific data of file
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/interwork/libgcc.a(_dvmd_tls.o)
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
ERROR:
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/interwork/libgcc.a(_udivdi3.o)
uses hardware FP, whereas hello-world.mc1322x uses software FP
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
failed to merge target specific data of file
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/interwork/libgcc.a(_udivdi3.o)
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
ERROR:
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/interwork/libgcc.a(_clzsi2.o)
uses hardware FP, whereas hello-world.mc1322x uses software FP
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
failed to merge target specific data of file
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/interwork/libgcc.a(_clzsi2.o)
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
ERROR:
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/lib/interwork/libg.a(lib_a-memcmp.o)
uses hardware FP, whereas hello-world.mc1322x uses software FP
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
failed to merge target specific data of file
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/lib/interwork/libg.a(lib_a-memcmp.o)
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
ERROR:
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/lib/interwork/libg.a(lib_a-memcpy.o)
uses hardware FP, whereas hello-world.mc1322x uses software FP
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
failed to merge target specific data of file
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/lib/interwork/libg.a(lib_a-memcpy.o)
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
ERROR:
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/lib/interwork/libg.a(lib_a-memset.o)
uses hardware FP, whereas hello-world.mc1322x uses software FP
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
failed to merge target specific data of file
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/lib/interwork/libg.a(lib_a-memset.o)
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
ERROR:
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/lib/interwork/libg.a(lib_a-rand.o)
uses hardware FP, whereas hello-world.mc1322x uses software FP
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
failed to merge target specific data of file
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/lib/interwork/libg.a(lib_a-rand.o)
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
ERROR:
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/lib/interwork/libg.a(lib_a-strlen.o)
uses hardware FP, whereas hello-world.mc1322x uses software FP
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
failed to merge target specific data of file
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/lib/interwork/libg.a(lib_a-strlen.o)
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
ERROR:
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/lib/interwork/libg.a(lib_a-impure.o)
uses hardware FP, whereas hello-world.mc1322x uses software FP
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/bin/ld:
failed to merge target specific data of file
/Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../arm-elf/lib/interwork/libg.a(lib_a-impure.o)
collect2: ld returned 1 exit status
make: *** [hello-world.mc1322x] Error 1
rm obj_mc1322x/symbols.o obj_mc1322x/startup.o hello-world.co
On Mon, Dec 7, 2009 at 9:22 AM, Mariano Alvira <mar at devl.org> wrote:
> On Mon, Dec 07, 2009 at 04:42:38AM -0500, Camilo, Alex wrote:
> > 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.
> >
> > ../../platform/mc1322x/./printf-arch.c:41:20: error: memory.h: No such
> file or
> > directory
> > make: *** [obj_mc1322x/printf-arch.o] Error 1
>
> Comment out the memory.h include in printf-arch.c and try again; I
> don't think it's necessary. I tested this on my toolchain and it
> worked fine.
>
> -Mar.
>
>
>
--
Alex Camilo
1-877-474-6038 ext#703
Head of Research and Design at Neuron Robotics, LLC.
www.neuronrobotics.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devl.org/pipermail/mc1322x/attachments/20091207/a4d24db0/attachment-0001.htm>
More information about the mc1322x
mailing list