[riot-users] Question about example/gcoap libcoap

kb2ma at runbox.com kb2ma at runbox.com
Fri Oct 4 14:26:45 CEST 2019

Yes, you downloaded the correct file. The goal for the gcoap README is to build the coap-client and coap-server examples in the libcoap examples directory.

I ran through the same build steps on my Ubuntu laptop, but I don't see an error message at the end of the 'make' command. I was then able to run the libcoap examples. Are you sure all of the steps worked correctly? Really this is a question for the libcoap project. Then we'd be happy to help use it with gcoap. :-)

Ken Bannister

On Fri, 4 Oct 2019 17:01:44 +0900, dicek bear <dicek334 at gmail.com> wrote:

> Hello, RIOT users,
> I have two questions about  example/gcoap.
> In the README.md, ## Example Use explains that "This example uses gcoap as
> a server on RIOT native. Then we send a request
> from a libcoap example client on the Linux host." So I downloaded the
> libcoap-develop.zip, unpacked it then tried to make it.
> I refered to the URL "https://github.com/obgm/libcoap" to download
> libcoap-develop.zip that is written
> in the /pkg/libcoap/Makefile.
> To make libcoap, I operate the steps as following,
>  $ ./autogen.sh
>  $ ./configure
>  $ make
> The last operation "make" output a error message "** No targets specified
> and no makefile found. Stop."
> Question 1: Are the URL "https://github.com/obgm/libcoap" and the
>                     downloaded file "libcoap-develop.zip" correct to test
> libcoap
>                     example client on the Linux host ?.
> Question 2: If the downloaded file is correct, why does "make" operation
> fail ?.
> _______________________________________________
> users mailing list
> users at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/users

More information about the users mailing list