ogibralta wrote on Monday, April 28, 2008:
Hello,
I want to compile ARM7_LPC2368_ECLIPSE project with eclipse v3.3.2 but i have this error :
**** Build of configuration Default for project RTOSDemo ****
make all
arm-elf-gcc -g -O1 -Tlpc2368.ld -I . -I …/…/…/Source/include -I …/…/…/Source/portable/GCC/ARM7_LPC23xx -I …/…/Common/include -I ./webserver -I …/…/Common/ethernet/uIP/uip-1.0/uip -D ROWLEY_LPC23xx -D THUMB_INTERWORK -mcpu=arm7tdmi -D PACK_STRUCT_END=__attribute\(\(packed\)\) -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) -fomit-frame-pointer -mthumb-interwork …/…/…/Source/portable/GCC/ARM7_LPC23xx/portISR.o ./webserver/EMAC_ISR.o main.o ./ParTest/ParTest.o ./LCD/portlcd.o …/…/Common/Minimal/BlockQ.o …/…/Common/Minimal/blocktim.o …/…/Common/Minimal/flash.o …/…/Common/Minimal/integer.o …/…/Common/Minimal/GenQTest.o …/…/Common/Minimal/QPeek.o …/…/Common/Minimal/dynamic.o ./webserver/uIP_Task.o ./webserver/emac.o ./webserver/httpd.o ./webserver/httpd-cgi.o ./webserver/httpd-fs.o ./webserver/http-strings.o …/…/Common/ethernet/uIP/uip-1.0/uip/uip_arp.o …/…/Common/ethernet/uIP/uip-1.0/uip/psock.o …/…/Common/ethernet/uIP/uip-1.0/uip/timer.o …/…/Common/ethernet/uIP/uip-1.0/uip/uip.o …/…/…/Source/list.o …/…/…/Source/queue.o …/…/…/Source/tasks.o …/…/…/Source/portable/GCC/ARM7_LPC23xx/port.o …/…/…/Source/portable/MemMang/heap_2.o boot.s -mthumb -nostartfiles -Xlinker -oRTOSDemo.elf -Xlinker -M -Xlinker -Map=rtosdemo.map
c:/winarm/bin/…/lib/gcc/arm-elf/4.1.1/…/…/…/…/arm-elf/lib/thumb/interwork\libg.a(freer.o): In function `_malloc_trim_r’:
mallocr.c:(.text+0x2c): undefined reference to `_sbrk_r’
mallocr.c:(.text+0x3c): undefined reference to `_sbrk_r’
mallocr.c:(.text+0x48): undefined reference to `_sbrk_r’
c:/winarm/bin/…/lib/gcc/arm-elf/4.1.1/…/…/…/…/arm-elf/lib/thumb/interwork\libg.a(makebuf.o): In function `__smakebuf’:
makebuf.c:(.text+0x1c): undefined reference to `_fstat_r’
makebuf.c:(.text+0xb2): undefined reference to `isatty’
c:/winarm/bin/…/lib/gcc/arm-elf/4.1.1/…/…/…/…/arm-elf/lib/thumb/interwork\libg.a(mallocr.o): In function `_malloc_r’:
mallocr.c:(.text+0x2e8): undefined reference to `_sbrk_r’
mallocr.c:(.text+0x388): undefined reference to `_sbrk_r’
c:/winarm/bin/…/lib/gcc/arm-elf/4.1.1/…/…/…/…/arm-elf/lib/thumb/interwork\libg.a(stdio.o): In function `__sclose’:
stdio.c:(.text+0xc): undefined reference to `_close_r’
c:/winarm/bin/…/lib/gcc/arm-elf/4.1.1/…/…/…/…/arm-elf/lib/thumb/interwork\libg.a(stdio.o): In function `__sseek’:
stdio.c:(.text+0x2a): undefined reference to `_lseek_r’
c:/winarm/bin/…/lib/gcc/arm-elf/4.1.1/…/…/…/…/arm-elf/lib/thumb/interwork\libg.a(stdio.o): In function `__swrite’:
stdio.c:(.text+0x6e): undefined reference to `_lseek_r’
stdio.c:(.text+0x86): undefined reference to `_write_r’
c:/winarm/bin/…/lib/gcc/arm-elf/4.1.1/…/…/…/…/arm-elf/lib/thumb/interwork\libg.a(stdio.o): In function `__sread’:
stdio.c:(.text+0xaa): undefined reference to `_read_r’
collect2: ld returned 1 exit status
make: *** [RTOSDemo.elf] Error 1
Somebody can help me ?
Thanks