Project

General

Profile

Compile errors

Added by BugBlue over 8 years ago

When compiling the firmware I get an error at the end (on Mac and Linux).

Has anybody any hints on how to compile the software myself?

arm-none-eabi-g++ -mcpu=cortex-m3 -mthumb -O2 -specs=../../gcc4mbed/build/startfile.spec -Wl,-Map=LPC176x/laos.map,--cref,--gc-sections,--wrap=_isatty -T../../gcc4mbed/build/mbed.ld  -L ../../gcc4mbed/external/gcc/LPC1768 LPC176x/./syscalls.o LPC176x/./FATFileSystem/ff.o LPC176x/./FATFileSystem/option/ccsbcs.o LPC176x/./NetServices/lwip/core/init.o LPC176x/./NetServices/lwip/core/memp.o LPC176x/./NetServices/lwip/core/mem.o LPC176x/./NetServices/lwip/core/tcp.o LPC176x/./NetServices/lwip/core/pbuf.o LPC176x/./NetServices/lwip/core/stats.o LPC176x/./NetServices/lwip/core/timers.o LPC176x/./NetServices/lwip/core/def.o LPC176x/./NetServices/lwip/core/udp.o LPC176x/./NetServices/lwip/core/dhcp.o LPC176x/./NetServices/lwip/core/sys.o LPC176x/./NetServices/lwip/core/dns.o LPC176x/./NetServices/lwip/core/raw.o LPC176x/./NetServices/lwip/core/tcp_in.o LPC176x/./NetServices/lwip/core/netif.o LPC176x/./NetServices/lwip/core/tcp_out.o LPC176x/./NetServices/lwip/netif/slipif.o LPC176x/./NetServices/lwip/netif/etharp.o LPC176x/./NetServices/lwip/netif/ethernetif.o LPC176x/./NetServices/services/mysql/sha1.o LPC176x/./NetServices/services/mysql/mycrypt.o LPC176x/./NetServices/drv/usb/usb_mem.o LPC176x/./NetServices/lwip/core/ipv4/ip_frag.o LPC176x/./NetServices/lwip/core/ipv4/inet.o LPC176x/./NetServices/lwip/core/ipv4/ip_addr.o LPC176x/./NetServices/lwip/core/ipv4/igmp.o LPC176x/./NetServices/lwip/core/ipv4/ip.o LPC176x/./NetServices/lwip/core/ipv4/autoip.o LPC176x/./NetServices/lwip/core/ipv4/inet_chksum.o LPC176x/./NetServices/lwip/core/ipv4/icmp.o LPC176x/./NetServices/lwip/core/snmp/mib2.o LPC176x/./NetServices/lwip/core/snmp/msg_out.o LPC176x/./NetServices/lwip/core/snmp/asn1_dec.o LPC176x/./NetServices/lwip/core/snmp/msg_in.o LPC176x/./NetServices/lwip/core/snmp/mib_structs.o LPC176x/./NetServices/lwip/core/snmp/asn1_enc.o LPC176x/./NetServices/lwip/netif/ppp/vj.o LPC176x/./NetServices/lwip/netif/ppp/ppp_oe.o LPC176x/./NetServices/lwip/netif/ppp/randm.o LPC176x/./NetServices/lwip/netif/ppp/lcp.o LPC176x/./NetServices/lwip/netif/ppp/magic.o LPC176x/./NetServices/lwip/netif/ppp/chpms.o LPC176x/./NetServices/lwip/netif/ppp/ppp.o LPC176x/./NetServices/lwip/netif/ppp/auth.o LPC176x/./NetServices/lwip/netif/ppp/md5.o LPC176x/./NetServices/lwip/netif/ppp/ipcp.o LPC176x/./NetServices/lwip/netif/ppp/pap.o LPC176x/./NetServices/lwip/netif/ppp/chap.o LPC176x/./NetServices/lwip/netif/ppp/fsm.o  LPC176x/./global.o LPC176x/./main.o LPC176x/./LaosMotion/LaosMotion.o LPC176x/./LaosMotion/pins.o LPC176x/./LaosMenu/LaosMenu.o LPC176x/./LaosServer/EthConfig.o LPC176x/./LaosIO/LaosIO.o LPC176x/./LaosDisplay/LaosDisplay.o LPC176x/./LaosFile/laosfilesystem.o LPC176x/./FATFileSystem/diskio.o LPC176x/./FATFileSystem/FATFileSystem.o LPC176x/./FATFileSystem/FATFileHandle.o LPC176x/./FATFileSystem/FATDirHandle.o LPC176x/./ConfigFile/ConfigFile.o LPC176x/./LaosMotion/grbl/fixedpt.o LPC176x/./LaosMotion/grbl/planner.o LPC176x/./LaosMotion/grbl/stepper.o LPC176x/./NetServices/dbg/dbg.o LPC176x/./NetServices/core/netservice.o LPC176x/./NetServices/core/ipaddr.o LPC176x/./NetServices/core/net.o LPC176x/./NetServices/api/UDPSocket.o LPC176x/./NetServices/api/TCPSocket.o LPC176x/./NetServices/api/DNSRequest.o LPC176x/./LaosServer/TFTPServer/TFTPServer.o LPC176x/./LaosFile/SDFileSystem/SDFileSystem.o LPC176x/./NetServices/lwip/arch/sys_arch.o LPC176x/./NetServices/services/email/EmailMessage.o LPC176x/./NetServices/services/ntp/NTPClient.o LPC176x/./NetServices/services/mysql/MySQLClient.o LPC176x/./NetServices/if/umtsstick/UMTSStickNetIf.o LPC176x/./NetServices/if/lwip/LwipNetIf.o LPC176x/./NetServices/if/lwip/lwipNetDnsRequest.o LPC176x/./NetServices/if/lwip/lwipNetTcpSocket.o LPC176x/./NetServices/if/lwip/lwipNetUdpSocket.o LPC176x/./NetServices/if/ppp/PPPNetIf.o LPC176x/./NetServices/if/eth/EthernetNetIf.o LPC176x/./NetServices/if/gprsmodule/HuaweiGTM900NetIf.o LPC176x/./NetServices/if/gprsmodule/GPRSModuleNetIf.o LPC176x/./NetServices/if/gprsmodule/TelitModuleNetIf.o LPC176x/./NetServices/if/net/nettcpsocket.o LPC176x/./NetServices/if/net/netdnsrequest.o LPC176x/./NetServices/if/net/netudpsocket.o LPC176x/./NetServices/if/net/netif.o LPC176x/./NetServices/drv/umtsstick/UMTSStickData.o LPC176x/./NetServices/drv/umtsstick/UMTSStick.o LPC176x/./NetServices/drv/usb/UsbHostMgr.o LPC176x/./NetServices/drv/usb/UsbDevice.o LPC176x/./NetServices/drv/usb/UsbEndpoint.o LPC176x/./NetServices/drv/eth/eth_drv.o LPC176x/./NetServices/drv/gprs/GPRSModem.o LPC176x/./NetServices/drv/gprsmodule/TelitModule.o LPC176x/./NetServices/drv/at/ATIf.o LPC176x/./NetServices/services/email/smtp/SMTPClient.o LPC176x/./NetServices/services/http/client/HTTPData.o LPC176x/./NetServices/services/http/client/HTTPClient.o LPC176x/./NetServices/services/http/util/base64.o LPC176x/./NetServices/services/http/util/urlencode.o LPC176x/./NetServices/services/http/util/url.o LPC176x/./NetServices/services/http/server/HTTPRequestDispatcher.o LPC176x/./NetServices/services/http/server/HTTPRequestHandler.o LPC176x/./NetServices/services/http/server/HTTPServer.o LPC176x/./NetServices/drv/serial/buf/SerialBuf.o LPC176x/./NetServices/drv/serial/lwip/sioMgr.o LPC176x/./NetServices/drv/serial/lwip/sio.o LPC176x/./NetServices/drv/serial/usb/UsbSerial.o LPC176x/gcc4mbed.o   ../../gcc4mbed/external/mbed/LPC1768/GCC_ARM/startup_LPC17xx.o ../../gcc4mbed/external/mbed/LPC1768/GCC_ARM/cmsis_nvic.o ../../gcc4mbed/external/mbed/LPC1768/GCC_ARM/core_cm3.o ../../gcc4mbed/external/mbed/LPC1768/GCC_ARM/system_LPC17xx.o ../../gcc4mbed/external/mbed/LPC1768/GCC_ARM/libmbed.a  -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys  -o laos.elf
../../gcc4mbed/external/mbed/LPC1768/GCC_ARM/startup_LPC17xx.o: In function `.flash_to_ram_loop':
(.text+0x30): undefined reference to `_start'
LPC176x/gcc4mbed.o: In function `abort':
/home/mendel/software/laos/Firmware/laser/../../gcc4mbed/src/gcc4mbed.c:91: undefined reference to `exit(int)'
/home/mendel/software/laos/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/lib/armv7-m/libc.a(lib_a-isattyr.o): In function `_isatty_r':
isattyr.c:(.text._isatty_r+0xc): undefined reference to `__wrap__isatty'
collect2: error: ld returned 1 exit status
make: *** [laos.elf] Error 1

Replies (1)

    (1-1/1)