-->
Page 1 of 2

Ubuntu - Start with Basic_Blink - make error

PostPosted: Sat Oct 10, 2015 11:06 pm
by Leandro Zimmer
I installed according to the guide:
https://github.com/SmingHub/Sming/wiki/Linux-Quickstart
Installation was perfect. Version: Ubuntu 14.0 4 LTS
The problem:
zimmer@ubuntu:~/dev/Sming/Basic_Blink$ make
LD out/build/app.out
/opt/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -lsming
collect2: error: ld returned 1 exit status
make: *** [out/build/app.out] Error 1
zimmer@ubuntu:~/dev/Sming/Basic_Blink$ make clean
zimmer@ubuntu:~/dev/Sming/Basic_Blink$ make
C+ app/application.cpp
C+ /opt/Sming/Sming/appinit/user_main.cpp
AR out/build/app_app.a
LD out/build/app.out
/opt/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -lsming
collect2: error: ld returned 1 exit status
make: *** [out/build/app.out] Error 1

Any suggestion to the problem?

Thank you.

Re: Ubuntu - Start with Basic_Blink - make error

PostPosted: Mon Oct 12, 2015 4:48 am
by TobiasN82
Hello,

i´ve got the same issue on my Xubuntu 14.04. No idea how to fix this.

Thanks
Tobias

Re: Ubuntu - Start with Basic_Blink - make error

PostPosted: Mon Oct 12, 2015 5:07 am
by hreintke
TobiasN82,

Probably you just recently downloaded/cloned the sming repository.
In there the libsming library is no longer included.

You can create the library by :

cd SMING_HOME/Sming
make

We missed the update of the documentation. Will be fixed.

Re: Ubuntu - Start with Basic_Blink - make error

PostPosted: Mon Oct 12, 2015 7:58 am
by Leandro Zimmer
hreintke wrote:TobiasN82,

Probably you just recently downloaded/cloned the sming repository.
In there the libsming library is no longer included.

You can create the library by :

cd SMING_HOME/Sming
make

We missed the update of the documentation. Will be fixed.


Perfect. Resolved.

Thank you.