<p></p>
<h4>Description</h4>
<p>Can't link. Some examples build&link properly, but I couldn't find an example that uses event.h and I can build (ie: the only one using event.h is the nimble_heartrate... but I don't have that board and doesn't build on native target).</p>
<h4>Steps to reproduce the issue</h4>
<pre><code>APPLICATION = five
BOARD ?= native
RIOTBASE ?= $(CURDIR)/../../../RIOT
DEVELHELP ?= 1
include $(RIOTBASE)/Makefile.include

USEMODULE += auto_init
USEMODULE += xtimer
USEMODULE += event_timeout
FEATURES_REQUIRED += periph_timer, periph_gpio, periph_pwm, periph_adc, periph_uart, periph_spi, periph_i2c

CFLAGS += -Wno-error
</code></pre>
<pre><code>#include <stdio.h>
#include <event.h>

static event_queue_t queue;

int main(void) {
    event_queue_init(&queue);
    event_loop(&queue);
    return 0;
}
</code></pre>
<h4>Expected results</h4>
<p>An elf file to execute, to do nothing :)</p>
<h4>Actual results</h4>
<pre><code>~/five/src/linux$ make -B clean all
Building application "five" for "native" with MCU "native".

[INFO] Kconfiglib not found - getting it
[INFO] cloning kconfiglib
Cloning into '/home/user/RIOT/dist/tools/kconfiglib/bin'...
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 6631 (delta 2), reused 4 (delta 1), pack-reused 6622
Receiving objects: 100% (6631/6631), 5.87 MiB | 2.92 MiB/s, done.
Resolving deltas: 100% (4365/4365), done.
HEAD is now at 82f5917 Make 13.3.0 release with improved header comment customization
[INFO] updating kconfiglib /home/user/RIOT/dist/tools/kconfiglib/bin/.pkg-state.git-downloaded
echo 82f59179b1b35fcd8b6d188453b283599ea70518 > /home/user/RIOT/dist/tools/kconfiglib/bin/.pkg-state.git-downloaded
[INFO] patch kconfiglib
cp /home/user/RIOT/dist/tools/kconfiglib/bin/kconfiglib.py /home/user/RIOT/dist/tools/kconfiglib/bin/menuconfig.py \
   /home/user/RIOT/dist/tools/kconfiglib/bin/genconfig.py /home/user/RIOT/dist/tools/kconfiglib/bin/examples/merge_config.py \
   .
[INFO] Kconfiglib downloaded
warning: MODULE_NANOCOAP (defined at /home/user/RIOT/sys/net/application_layer/nanocoap/Kconfig:9) defined without a type
"make" -C /home/user/RIOT/boards/native
"make" -C /home/user/RIOT/boards/native/drivers
"make" -C /home/user/RIOT/core
"make" -C /home/user/RIOT/cpu/native
"make" -C /home/user/RIOT/cpu/native/periph
"make" -C /home/user/RIOT/cpu/native/stdio_native
"make" -C /home/user/RIOT/cpu/native/vfs
"make" -C /home/user/RIOT/drivers
"make" -C /home/user/RIOT/drivers/periph_common
"make" -C /home/user/RIOT/sys
"make" -C /home/user/RIOT/sys/auto_init
"make" -C /home/user/RIOT/sys/xtimer
/home/user/five/src/linux/bin/native/application_five/main.o: In function `main':
/home/user/five/src/linux/main.c:8: undefined reference to `event_queue_init'
/home/user/five/src/linux/main.c:9: undefined reference to `event_loop'
collect2: error: ld returned 1 exit status
/home/user/five/src/linux/../../../RIOT/Makefile.include:535: recipe for target '/home/user/five/src/linux/bin/native/five.elf' failed
make: *** [/home/user/five/src/linux/bin/native/five.elf] Error 1
</code></pre>
<h4>Versions</h4>
<pre><code>~/RIOT$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) 
</code></pre>
<pre><code>~/RIOT$ cat VERSION 
RIOT_VERSION = 2020.04
</code></pre>
<pre><code>commit 673187e29c06cdba74f0b82c7b30b9de2538531f (HEAD, tag: 2020.04, origin/2020.04-branch)
Merge: 5d23b83fb 7b3431c59
Author: Martine Lenders <m.lenders@fu-berlin.de>
Date:   Thu Apr 30 11:24:19 2020 +0200

    Merge pull request #13986 from leandrolanzieri/pr/2020.04_add_version
    
    VERSION: add 2020.04 version file
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/issues/14049">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYFCIE276N43RZLK6CLRQYNQZANCNFSM4M5CCGOQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYD4T5JSZV5PO4DXYYDRQYNQZA5CNFSM4M5CCGO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JFM3FCQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/issues/14049",
"url": "https://github.com/RIOT-OS/RIOT/issues/14049",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>