building _rrdtool extension gcc -pthread -fno-strict-aliasing -DNDEBUG

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
building '_rrdtool' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -I/usr/include/python2.5 -c src/_rrdtoolmodule.c -o build/temp.linux-i686-2.5/src/_rrdtoolmodule.o
src/_rrdtoolmodule.c:34:17: error: rrd.h: No such file or directory
In file included from src/rrd_extra.h:37,
from src/_rrdtoolmodule.c:35:
src/rrd_format.h:59: error: expected specifier-qualifier-list before ‘rrd_value_t’
src/rrd_format.h:295: error: expected specifier-qualifier-list before ‘rrd_value_t’
src/_rrdtoolmodule.c: In function ‘PyRRD_create’:
src/_rrdtoolmodule.c:93: warning: implicit declaration of function ‘rrd_create’
src/_rrdtoolmodule.c:94: warning: implicit declaration of function ‘rrd_get_error’
src/_rrdtoolmodule.c:94: warning: passing argument 2 of ‘PyErr_SetString’ makes pointer from integer without a cast
src/_rrdtoolmodule.c:95: warning: implicit declaration of function ‘rrd_clear_error’
src/_rrdtoolmodule.c: In function ‘PyRRD_update’:
src/_rrdtoolmodule.c:122: warning: implicit declaration of function ‘rrd_update’
src/_rrdtoolmodule.c:123: warning: passing argument 2 of ‘PyErr_SetString’ makes pointer from integer without a cast
src/_rrdtoolmodule.c: In function ‘PyRRD_fetch’:
src/_rrdtoolmodule.c:145: error: ‘rrd_value_t’ undeclared (first use in this function)
src/_rrdtoolmodule.c:145: error: (Each undeclared identifier is reported only once
src/_rrdtoolmodule.c:145: error: for each function it appears in.)
src/_rrdtoolmodule.c:145: error: ‘data’ undeclared (first use in this function)
src/_rrdtoolmodule.c:145: error: ‘datai’ undeclared (first use in this function)
src/_rrdtoolmodule.c:145: warning: left-hand operand of comma expression has no effect
src/_rrdtoolmodule.c:154: warning: implicit declaration of function ‘rrd_fetch’
src/_rrdtoolmodule.c:156: warning: passing argument 2 of ‘PyErr_SetString’ makes pointer from integer without a cast
src/_rrdtoolmodule.c:165: error: expected ‘;’ before ‘dv’
src/_rrdtoolmodule.c:191: error: ‘dv’ undeclared (first use in this function)
src/_rrdtoolmodule.c: In function ‘PyRRD_graph’:
src/_rrdtoolmodule.c:245: warning: implicit declaration of function ‘rrd_graph’
src/_rrdtoolmodule.c:247: warning: passing argument 2 of ‘PyErr_SetString’ makes pointer from integer without a cast
src/_rrdtoolmodule.c: In function ‘PyRRD_tune’:
src/_rrdtoolmodule.c:297: warning: implicit declaration of function ‘rrd_tune’
src/_rrdtoolmodule.c:298: warning: passing argument 2 of ‘PyErr_SetString’ makes pointer from integer without a cast
src/_rrdtoolmodule.c: In function ‘PyRRD_last’:
src/_rrdtoolmodule.c:324: warning: implicit declaration of function ‘rrd_last’
src/_rrdtoolmodule.c:325: warning: passing argument 2 of ‘PyErr_SetString’ makes pointer from integer without a cast
src/_rrdtoolmodule.c: In function ‘PyRRD_resize’:
src/_rrdtoolmodule.c:350: warning: implicit declaration of function ‘rrd_resize’
src/_rrdtoolmodule.c:351: warning: passing argument 2 of ‘PyErr_SetString’ makes pointer from integer without a cast
src/_rrdtoolmodule.c: In function ‘PyRRD_info’:
src/_rrdtoolmodule.c:380: warning: passing argument 2 of ‘PyErr_SetString’ makes pointer from integer without a cast
src/_rrdtoolmodule.c:423: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:423: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:423: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:423: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:423: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:423: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:424: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:424: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:424: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:424: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:424: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:424: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:426: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:426: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:426: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:426: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:426: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:426: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:443: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:443: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:443: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:443: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:443: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:443: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:455: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:455: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:455: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:455: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:455: error: ‘union unival’ has no member named ‘u_val’
src/_rrdtoolmodule.c:455: error: ‘union unival’ has no member named ‘u_val’
error: command 'gcc' failed with exit status 1