Deutsch English Français Italiano |
<r4smci-v7g2.ln1@superman.unices.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Stephane Tougard <stephane@unices.org> Newsgroups: fr.comp.lang.c Subject: Re: Fonction inline Date: Tue, 1 Feb 2022 06:13:31 +0100 Organization: A noiseless patient Spider Lines: 26 Message-ID: <r4smci-v7g2.ln1@superman.unices.org> References: <slrnsvg0vb.1acos.JKB@hilbert.systella.fr> Reply-To: stephane@unices.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="2edf2cac1a846d8e744c4853c5696d52"; logging-data="8214"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/S/Ii/bXyZaur0fmED7vtskveB59t7Rys=" User-Agent: slrn/1.0.3 (FreeBSD) Cancel-Lock: sha1:f3AAn3mzkdSRosZPQmXvCgb2uaI= Bytes: 2430 On 2022-01-31, JKB <JKB@hilbert.invalid> wrote: > Bonjour à tous, > > J'obtiens une erreur que je ne m'explique pas dans l'édition des > liens d'un firmware compilé avec avr-gcc. > > > make[1] : on quitte le répertoire « /home/bertrand/cvs/firmware-antivol4/usart » > /usr/local/cross/avr/bin/avr-gcc -mmcu=atmega1284 -Wl,-Map,firmware.map -o firmware.elf main.o affichage.o interruptions.o io.o spi.o vfd.o mcp3001.o mcp23s08.o random.o stty.o leds.o horloge.o badges.o task_25Hz.o task_gnss.o gnss.o satellites.o synchronisation.o rscombo.o trame.o derivation_clefs.o task_boutons.o task_affichage.o eui64.o lorawan.o task_lorawan.o task_commandes.o task_puissance.o programmation.o iso14443a.o clrc632.o task_nfc.o usart/libusart.a crypto/libcrypto.a lorawan/liblorawan.a multitasking/libmultitasking.a \ > -Wl,-u,vfprintf -lprintf_flt -lm > /usr/local/cross/avr/lib/gcc/avr/11.1.0/../../../../avr/bin/ld: task_25Hz.o: in function `freqdiv': > /home/bertrand/cvs/firmware-antivol4/task_25Hz.c:47: undefined reference to `uart0_BytesToSend' > collect2: error: ld returned 1 exit status > make: *** [Makefile:68 : firmware] Erreur 1 Bon je dis peut-être (surement) une connerie parce que je connais pas cette lib, mais dans la version actuelle que j'ai trouvé sur Github, cette fonction est commentée. -- On leur dit: "eux gentils". Ils disent "OK" On leur dit: "eux méchants". Ils disent "OK" Qu'est ce qu'ils sont cons ces pauvres !