[vz-dev] Temp-Sensoren einbinden?

M. Hagedorn mic01 at uni-muenster.de
Sun Jun 5 20:24:05 CEST 2011


Hi.
> ich habe den code leider nicht zur hand um es zu probieren,
> aber es sollte eigentlich reichen wenn du einfach in local.h vor dem
> include von microhttpd.h die beiden genannten anderen includes einfuegst...
Wo genau muss das rein?? 

Gerade hat sich bei git pull ja was getan -- vzlogger wurde offenbar mit 
aktualisiert. Leider geht es weiterhin nicht wirklich vorwärts -- die 
Fehlermeldung hat sich aber etwas geändert:

 make
cc -c -Wall -g -D_REENTRANT -std=gnu99 src/main.c -o main.o
src/main.c: In function ‘read_thread’:
src/main.c:321:3: warning: implicit declaration of function ‘sleep’
cc -c -Wall -g -D_REENTRANT -std=gnu99 src/api.c -o api.o 
`curl-config --cflags`
src/api.c: In function ‘api_thread’:
src/api.c:192:12: warning: assignment discards qualifiers from pointer target 
type
src/api.c:216:5: warning: passing argument 2 of ‘api_parse_exception’ from 
incompatible pointer type
src/api.c:135:6: note: expected ‘char *’ but argument is of type ‘char (*)
[255]’
cc -c -Wall -g -D_REENTRANT -std=gnu99 src/local.c -o local.o
In file included from src/local.h:29:0,
                 from src/local.c:32:
/usr/include/microhttpd.h:497:3: error: expected specifier-qualifier-list 
before ‘intptr_t’
/usr/include/microhttpd.h:717:32: error: expected declaration specifiers 
or ‘...’ before ‘socklen_t’
/usr/include/microhttpd.h:830:5: error: expected declaration specifiers 
or ‘...’ before ‘uint64_t’
/usr/include/microhttpd.h:868:46: error: expected declaration specifiers 
or ‘...’ before ‘uint64_t’
/usr/include/microhttpd.h:1085:66: error: expected ‘)’ before ‘size’
make: *** [local.c] Fehler 1



More information about the volkszaehler-dev mailing list