libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] Build problems under Ubuntu


From: Christian Grothoff
Subject: Re: [libmicrohttpd] Build problems under Ubuntu
Date: Thu, 30 Oct 2014 12:36:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0

Does it help if you also

#include <inttypes.h>

at the beginning of your source?  If not, please try to find out which
header defines 'intptr_t' on your system.

Happy hacking!

-Christian

On 10/30/2014 01:26 AM, Peter Spiess-Knafl wrote:
> Hello!
> 
> I built a JSON-RPC framework which I currently try to move from mongoose
> to libmicrohttpd.
> 
> Everything builds fine under Debian Jessie. But on the travis-ci agent,
> which runs Ubuntu 12.04 Server I get the following compile error:
> 
> /usr/include/microhttpd.h:497:3: error: unknown type name 'intptr_t'
> 
> Build log can be found here:
> 
> https://travis-ci.org/cinemast/libjson-rpc-cpp/jobs/39444160#L143
> 
> The corresponding source code can be found here:
> https://github.com/cinemast/libjson-rpc-cpp/blob/feature/libmicrohttpd/src/jsonrpccpp/server/connectors/httpserver.h
> https://github.com/cinemast/libjson-rpc-cpp/blob/feature/libmicrohttpd/src/jsonrpccpp/server/connectors/httpserver.cpp
> 
> Has anyone any ideas on that?
> 
> Thanks in advance,
> Peter
> 
> 

Attachment: 0x48426C7E.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]