[riot-devel] Problem with "make" -lm missing.

Martine Lenders mail at martine-lenders.eu
Tue Aug 9 09:20:24 CEST 2016


Hi,
have you installed gcc-multilib and the other dependencies [1]?

Cheers,
Martine

2016-08-09 9:02 GMT+02:00 MiTsArAs Jimaras <Mits_swim at hotmail.com>:
> Hello to all.
> I am trying to build an app with  "make clean all flash term" on native
> platform, and all I get as a result that:
>
> Building application "time" for "native" with MCU "native".
>
> "make" -C /home/d/RIOT/boards/native
> "make" -C /home/d/RIOT/boards/native/drivers
> "make" -C /home/d/RIOT/core
> "make" -C /home/d/RIOT/cpu/native
> "make" -C /home/d/RIOT/cpu/native/periph
> "make" -C /home/d/RIOT/drivers
> "make" -C /home/d/RIOT/sys
> "make" -C /home/d/RIOT/sys/auto_init
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../lib/libm.so when
> searching for -lm
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../lib/libm.a when searching
> for -lm
> /usr/bin/ld: skipping incompatible /lib/../lib/libm.so when searching for
> -lm
> /usr/bin/ld: skipping incompatible /lib/../lib/libm.a when searching for -lm
> /usr/bin/ld: skipping incompatible /usr/lib/../lib/libm.so when searching
> for -lm
> /usr/bin/ld: skipping incompatible /usr/lib/../lib/libm.a when searching for
> -lm
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../libm.so when searching for
> -lm
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../libm.a when searching for
> -lm
> /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
> /usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
> /usr/bin/ld: cannot find -lm
> collect2: error: ld returned 1 exit status
> make: *** [/home/darch/RIOT/examples/time/../../Makefile.include:261: all]
> Error 1
>
> I am using ArchLinux. What am I doing wrong?
> Thanks!
>
>
>
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>


More information about the devel mailing list