libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Build problems under Ubuntu


From: Peter Spiess-Knafl
Subject: Re: [libmicrohttpd] Build problems under Ubuntu
Date: Thu, 30 Oct 2014 23:49:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.1.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello again!

Thank you for your quick response. I installed Ubuntu 12.04 in a virtual
machine today. Turns out that 12.04 has a very old version of
libmicrohttpd: #define MHD_VERSION 0x00040600

This version does not include any header file in libmicrohttpd.h.

So this seems to be the problem.
Thank you.

Greetings
Peter

On 10/30/2014 11:36 AM, Christian Grothoff wrote:
> 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
>>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUUs57AAoJEAwiV48qkHlkliEH/1JR/w1fPcO6+q9VTh0f+zAk
nj7qHSN8p/75Vjw9WQMR8TcAeJzLr5Xb2vdKnwOPof2moub5bOBi5zNT7wXc2SJZ
tGcI/0YQR8qhX5adCyb6lXCOs0Bg/JdvGjnC5Z3ltrou+jAPbArQkJycwwou4QbK
G2dfcl4rNSrxNZ1yVwwM1hCptAIECUNyNWcSAbX7Y2Ru4G4g3h5yhEZxuEal1HHK
uGaZjuu319mBj2pCOiiw1lPwyd41qgTq04kpMW1bwO6WIMR7sBOglcswoQHyTTAw
fnUpR7JAf2P/xvKLSmwb1ULJ5ksTZ5AZrqDxW9xDUzagfZs6CnWVXqh3pALtEVY=
=3cR3
-----END PGP SIGNATURE-----




reply via email to

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