|
From: | Peter Spiess-Knafl |
Subject: | Re: [libmicrohttpd] Build problems under Ubuntu |
Date: | Fri, 31 Oct 2014 18:56:05 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.1.2 |
Hi!
I managed to fix this copying the required includes from the latest libmicrohttpd package found in debian testing. It works fine now. Code can be found here: https://github.com/cinemast/libjson-rpc-cpp/blob/develop/src/jsonrpccpp/server/connectors/httpserver.h I am talking about the first few lines:
Greetings Peter On 10/30/2014 09:48 PM, Piotr Grzybowski wrote: hi Peter, hi Christian, hi everyone ;-) just in passing: do you have stddef.h included somewhere possibly with using namespace std? one thing is sized-int types but for me a more serious problem is the apparent lack of size_t definition. cheers, pg On Thu, Oct 30, 2014 at 1:26 AM, Peter Spiess-Knafl <address@hidden> 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 |
[Prev in Thread] | Current Thread | [Next in Thread] |