[riot-notifications] [RIOT-OS/RIOT] Link failures since 81cb769 (#15357)

Lars Eggert notifications at github.com
Mon Nov 2 14:48:16 CET 2020


#### Description

81cb769cadd31e4fb30711bf6a3da85fa88b2135 broke the way I build [quant for RIOT](https://github.com/NTAP/quant/tree/master/riot) (confirmed via `git bissect`):

The link step doesn't seem to include the sources added to `SRC`, causing the link failure below. (The files do get compiled, just not linked.)

#### Steps to reproduce the issue

1. `git clone --shallow git at github.com:NTAP/quant.git`
2. `git submodule update --init --recursive --depth 1`
3. `cd riot`
4. set `RIOTBASE` correctly
5. `make BUILD_IN_DOCKER=1`

#### Expected results

Expected the firmware to build and link.

#### Actual results

```
/data/riotbuild/riotproject/riot/bin/esp32-wroom-32/application_quant-client/main.o:(.text.startup.main+0x4): undefined reference to `quic_transaction'
/data/riotbuild/riotproject/riot/bin/esp32-wroom-32/application_quant-client/main.o: In function `main':
/data/riotbuild/riotproject/riot/main.c:40: undefined reference to `quic_transaction'
collect2: error: ld returned 1 exit status
/data/riotbuild/riotbase/Makefile.include:584: recipe for target '/data/riotbuild/riotproject/riot/bin/esp32-wroom-32/quant-client.elf' failed
make: *** [/data/riotbuild/riotproject/riot/bin/esp32-wroom-32/quant-client.elf] Error 1
make: *** [/Users/lars/Documents/Code/riot/makefiles/docker.inc.mk:304: ..in-docker-container] Error 2
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/15357
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201102/50827c16/attachment-0001.htm>


More information about the notifications mailing list