Skip to content

Unable to compile under ubuntu 11.04 and openzwave 312 #27

@GoogleCodeExporter

Description

@GoogleCodeExporter
I am trying to compile under ubuntu 11.04 and get the following error:


jaime@jaime-AO532h:~/openzwave-control-panel-read-only$ make
g++ -c -Wall -Wno-format -g -DDEBUG -Werror -I ../open-zwave/cpp/src -I 
../open-zwave/cpp/src/command_classes/ -I ../open-zwave/cpp/src/value_classes/ 
-I ../open-zwave/cpp/src/platform/ -I ../open-zwave/cpp/src/platform/unix -I 
../open-zwave/cpp/tinyxml/ -I ../libmicrohttpd/src/include -o webserver.o 
webserver.cpp
webserver.cpp: In function ‘int web_send_file(MHD_Connection*, const char*, 
int, bool)’:
webserver.cpp:174:23: error: invalid conversion from ‘ssize_t (*)(void*, 
uint64_t, char*, size_t)’ to ‘int (*)(void*, uint64_t, char*, int)’
webserver.cpp:174:23: error:   initializing argument 3 of ‘MHD_Response* 
MHD_create_response_from_callback(uint64_t, size_t, int (*)(void*, uint64_t, 
char*, int), void*, void (*)(void*))’
make: *** [webserver.o] Error 1

Original issue reported on code.google.com by ja...@iguana-farm.com on 23 Aug 2011 at 9:09

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions