TheCranston commented on issue #8839:
URL: https://github.com/apache/nuttx/issues/8839#issuecomment-1475459254

   @acassis
   I used your config (modified for my wifi) but am running into a compiler 
issue
   ```
   arm-none-eabi-ar rcs  libbinfmt.a   binfmt_globals.o binfmt_initialize.o 
binfmt_register.o binfmt_unregister.o binfmt_loadmodule.o binfmt_unloadmodule.o 
binfmt_execmodule.o binfmt_exec.o binfmt_copyargv.o binfmt_dumpmodule.o 
builtin.o
   make[1]: Leaving directory '/home/nonroot/src/nuttx-9.0/nuttx/binfmt'
   IN: binfmt/libbinfmt.a -> staging/libbinfmt.a
   make[1]: Entering directory '/home/nonroot/src/nuttx-9.0/nuttx/arch/arm/src'
   make[2]: Entering directory 
'/home/nonroot/src/nuttx-9.0/nuttx/boards/arm/stm32/photon/src'
   CC:  stm32_boot.c
   CC:  stm32_bringup.c
   CC:  stm32_spi.c
   CC:  dfu_signature.c
   CC:  stm32_appinit.c
   CC:  stm32_userleds.c
   CC:  stm32_wdt.c
   CC:  stm32_wlan.c
   CC:  stm32_wlan_firmware.c
   arm-none-eabi-ar rcs  libboard.a   stm32_boot.o stm32_bringup.o stm32_spi.o 
dfu_signature.o stm32_appinit.o stm32_userleds.o stm32_wdt.o stm32_wlan.o 
stm32_wlan_firmware.o
   make[2]: Leaving directory 
'/home/nonroot/src/nuttx-9.0/nuttx/boards/arm/stm32/photon/src'
   LD: nuttx
   arm-none-eabi-ld: Error: unable to disambiguate: -nostartfiles (did you mean 
--nostartfiles ?)
   make[1]: *** [Makefile:185: nuttx] Error 1
   make[1]: Leaving directory '/home/nonroot/src/nuttx-9.0/nuttx/arch/arm/src'
   make: *** [tools/Makefile.unix:449: pass2] Error 2
   ```
   
   perhaps its a version issue?  What are you running?  I'm on ubuntu 22.10
   
   ```
   $ arm-none-eabi-ar -V
   GNU ar (2.39-1ubuntu1+17ubuntu1) 2.39
   Copyright (C) 2022 Free Software Foundation, Inc.
   This program is free software; you may redistribute it under the terms of
   the GNU General Public License version 3 or (at your option) any later 
version.
   This program has absolutely no warranty.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to