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

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


Oops, forgot to provide the link for [1]:
https://github.com/RIOT-OS/RIOT/wiki/Family%3A-native#dependencies

2016-08-09 9:19 GMT+02:00 Laurent Navet <laurent.navet at gmail.com>:
> Hi,
>
> Have you multilib support enabled and installed ?
>
> https://github.com/RIOT-OS/RIOT/wiki/Family:-native
>
> 2016-08-09 9:02 UTC+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!
>>
>>
>>
>
>
> --
> « On ne résout pas un problème avec les modes de pensée qui l’ont engendré. »
> « You cannot solve current problems with current thinking. Current
> problems are the result of current thinking »
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel


More information about the devel mailing list