[libmicrohttpd] undefined reference to *

2018-07-19 Thread Nick Leli
Hi Folks, I am testing out the library on Ubuntu 16.04, and am running into the error below when attempting to compile the demo app from here: https://www.gnu.org/software/libmicrohttpd/. Am I missing something in the configuration? # gcc -o microhttp microhttp.c -L/usr/local/lib/* -I/usr/local/

Re: [libmicrohttpd] undefined reference to *

2018-07-19 Thread Christian Grothoff
You're missing "-lmicrohttpd" on the gcc command line. On 07/19/2018 07:49 PM, Nick Leli wrote: > # gcc -o microhttp microhttp.c -L/usr/local/lib/* -I/usr/local/include > /tmp/cc7sUAvI.o: In function `ahc_echo': signature.asc Description: OpenPGP digital signature