#Problème build app externe

1 messages · Page 1 of 1 (latest)

arctic marlin
#

J'ai un problème très bizarre que je ne comprends pas, je pense que j'ai fait un peu nimp et maintenant quand je build une des application que j'était entrain de dev j'ai une erreur à propos de "Newlib" ? Je suis sur que ça marchais avant puisque j'ai récup une version de mon github

  - ld: arm-none-eabi-ld
  - objcopy: arm-none-eabi-objcopy
  - arguments: apps.tar Linea_flash
  - apps/Linea/app.elf
arm-none-eabi-ld: apps/Linea/app.elf: in function `_write_r':
/build/newlib-pB30de/newlib-3.3.0/build/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/reent/../../../../../../../../newlib/libc/reent/writer.c:49: undefined reference to `_write'
arm-none-eabi-ld: apps/Linea/app.elf: in function `_close_r':
/build/newlib-pB30de/newlib-3.3.0/build/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/reent/../../../../../../../../newlib/libc/reent/closer.c:47: undefined reference to `_close'
arm-none-eabi-ld: apps/Linea/app.elf: in function `_lseek_r':
/build/newlib-pB30de/newlib-3.3.0/build/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/reent/../../../../../../../../newlib/libc/reent/lseekr.c:49: undefined reference to `_lseek'
arm-none-eabi-ld: apps/Linea/app.elf: in function `_read_r':
/build/newlib-pB30de/newlib-3.3.0/build/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/reent/../../../../../../../../newlib/libc/reent/readr.c:49: undefined reference to `_read'
arm-none-eabi-ld: apps/Linea/app.elf: in function `abort':
/build/newlib-pB30de/newlib-3.3.0/build/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/stdlib/../../../../../../../../newlib/libc/stdlib/abort.c:59: undefined reference to `_exit'
arm-none-eabi-ld: apps/Linea/app.elf: in function `_kill_r':
/build/newlib-pB30de/newlib-3.3.0/build/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/reent/../../../../../../../../newlib/libc/reent/signalr.c:53: undefined reference to `_kill'
silent whale
#

Tu as touché au Makefile ?

#

Ah non, juste que tu utilises des fonctions qui ne sont pas définies

#

Essaye de les définir en stub

arctic marlin
#

J'ai du toucher quelque chose par ce que sur mon autre pc y'a pas les erreurs, tu as pas une idée de ce que j'ai touché ?

#

bon ça marche avec en stub mais chiant