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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458 | $ pip install gdal
Downloading/unpacking gdal
Running setup.py egg_info for package gdal
Installing collected packages: gdal
Running setup.py install for gdal
building 'osgeo._gdal' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I/usr/local/include/python2.7 -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/include -c extensions/gdal_wrap.cpp -o build/temp.linux-i686-2.7/extensions/gdal_wrap.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
extensions/gdal_wrap.cpp:2999: error: ‘VSILFILE’ has not been declared
extensions/gdal_wrap.cpp: In function ‘int wrapper_VSIFReadL(void**, int, int, int*)’:
extensions/gdal_wrap.cpp:3034: error: cannot convert ‘int*’ to ‘FILE*’ for argument ‘4’ to ‘size_t VSIFReadL(void*, size_t, size_t, FILE*)’
extensions/gdal_wrap.cpp: In function ‘int wrapper_VSIStatL(const char*, StatBuf*, int)’:
extensions/gdal_wrap.cpp:3457: error: ‘VSIStatExL’ was not declared in this scope
extensions/gdal_wrap.cpp: At global scope:
extensions/gdal_wrap.cpp:3465: error: ‘VSILFILE’ has not been declared
extensions/gdal_wrap.cpp: In function ‘int wrapper_VSIFWriteL(int, char*, int, int, int*)’:
extensions/gdal_wrap.cpp:3472: error: cannot convert ‘int*’ to ‘FILE*’ for argument ‘4’ to ‘size_t VSIFWriteL(const void*, size_t, size_t, FILE*)’
extensions/gdal_wrap.cpp: At global scope:
extensions/gdal_wrap.cpp:3801: error: ‘GDALAsyncReaderH’ does not name a type
extensions/gdal_wrap.cpp:3807: error: ‘GDALAsyncReaderH’ does not name a type
extensions/gdal_wrap.cpp: In function ‘void DeleteAsyncReaderWrapper(void*)’:
extensions/gdal_wrap.cpp:3826: error: ‘struct GDALAsyncReaderWrapper’ has no member named ‘hAsyncReader’
extensions/gdal_wrap.cpp: At global scope:
extensions/gdal_wrap.cpp:3836: error: ‘GDALAsyncReaderH’ was not declared in this scope
extensions/gdal_wrap.cpp:3837: error: expected primary-expression before ‘void’
extensions/gdal_wrap.cpp:3837: error: initializer expression list treated as compound expression
extensions/gdal_wrap.cpp:3838: error: expected ‘,’ or ‘;’ before ‘{’ token
extensions/gdal_wrap.cpp: In function ‘void DisableAsyncReaderWrapper(void*)’:
extensions/gdal_wrap.cpp:3854: error: ‘struct GDALAsyncReaderWrapper’ has no member named ‘hAsyncReader’
extensions/gdal_wrap.cpp: At global scope:
extensions/gdal_wrap.cpp:3861: error: ‘GDALAsyncStatusType’ does not name a type
extensions/gdal_wrap.cpp: In function ‘void GDALAsyncReaderShadow_GetBuffer(GDALAsyncReaderShadow*, void**)’:
extensions/gdal_wrap.cpp:3874: error: ‘GDALAsyncReaderH’ was not declared in this scope
extensions/gdal_wrap.cpp:3874: error: expected `;' before ‘hReader’
extensions/gdal_wrap.cpp:3875: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int GDALAsyncReaderShadow_LockBuffer(GDALAsyncReaderShadow*, double)’:
extensions/gdal_wrap.cpp:3884: error: ‘GDALAsyncReaderH’ was not declared in this scope
extensions/gdal_wrap.cpp:3884: error: expected `;' before ‘hReader’
extensions/gdal_wrap.cpp:3885: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp:3889: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp:3889: error: ‘GDALARLockBuffer’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘void GDALAsyncReaderShadow_UnlockBuffer(GDALAsyncReaderShadow*)’:
extensions/gdal_wrap.cpp:3892: error: ‘GDALAsyncReaderH’ was not declared in this scope
extensions/gdal_wrap.cpp:3892: error: expected `;' before ‘hReader’
extensions/gdal_wrap.cpp:3893: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp:3897: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp:3897: error: ‘GDALARUnlockBuffer’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘GDALAsyncReaderShadow* GDALDatasetShadow_BeginAsyncReader(GDALDatasetShadow*, int, int, int, int, int, char*, void*, int, int, GDALDataType, int, int*, int, int, int, char**)’:
extensions/gdal_wrap.cpp:4024: warning: converting to ‘int’ from ‘double’
extensions/gdal_wrap.cpp:4025: warning: converting to ‘int’ from ‘double’
extensions/gdal_wrap.cpp:4064: error: ‘GDALAsyncReaderH’ was not declared in this scope
extensions/gdal_wrap.cpp:4064: error: expected `;' before ‘hAsyncReader’
extensions/gdal_wrap.cpp:4067: error: ‘hAsyncReader’ was not declared in this scope
extensions/gdal_wrap.cpp:4069: error: ‘GDALAsyncReader’ was not declared in this scope
extensions/gdal_wrap.cpp:4069: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:4069: error: expected ‘;’ before ‘CreateAsyncReaderWrapper’
extensions/gdal_wrap.cpp:4069: error: ‘CreateAsyncReaderWrapper’ cannot be used as a function
extensions/gdal_wrap.cpp: In function ‘void GDALDatasetShadow_EndAsyncReader(GDALDatasetShadow*, GDALAsyncReaderShadow*)’:
extensions/gdal_wrap.cpp:4082: error: ‘GDALAsyncReaderH’ was not declared in this scope
extensions/gdal_wrap.cpp:4082: error: expected `;' before ‘hReader’
extensions/gdal_wrap.cpp:4083: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp:4087: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp:4087: error: ‘GDALEndAsyncReader’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘CPLErr GDALRasterBandShadow_SetUnitType(GDALRasterBandShadow*, const char*)’:
extensions/gdal_wrap.cpp:4273: error: ‘GDALSetRasterUnitType’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int ComputeProximity(GDALRasterBandShadow*, GDALRasterBandShadow*, char**, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4657: error: ‘GDALComputeProximity’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int RasterizeLayer(GDALDatasetShadow*, int, int*, OGRLayerShadow*, void*, void*, int, double*, char**, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4693: error: ‘GDALRasterizeLayers’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int Polygonize(GDALRasterBandShadow*, GDALRasterBandShadow*, OGRLayerShadow*, int, char**, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4713: error: ‘GDALPolygonize’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int FillNodata(GDALRasterBandShadow*, GDALRasterBandShadow*, double, int, char**, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4729: error: ‘GDALFillNodata’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int SieveFilter(GDALRasterBandShadow*, GDALRasterBandShadow*, GDALRasterBandShadow*, int, int, char**, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4745: error: ‘GDALSieveFilter’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int RegenerateOverviews(GDALRasterBandShadow*, int, GDALRasterBandShadow**, const char*, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4759: error: invalid conversion from ‘GDALRasterBandShadow*’ to ‘GDALRasterBand*’
extensions/gdal_wrap.cpp:4759: error: initializing argument 1 of ‘CPLErr GDALRegenerateOverviews(GDALRasterBand*, int, GDALRasterBand**, const char*, int (*)(double, const char*, void*), void*)’
extensions/gdal_wrap.cpp:4759: error: invalid conversion from ‘GDALRasterBandShadow**’ to ‘GDALRasterBand**’
extensions/gdal_wrap.cpp:4759: error: initializing argument 3 of ‘CPLErr GDALRegenerateOverviews(GDALRasterBand*, int, GDALRasterBand**, const char*, int (*)(double, const char*, void*), void*)’
extensions/gdal_wrap.cpp: In function ‘int RegenerateOverview(GDALRasterBandShadow*, GDALRasterBandShadow*, const char*, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4772: error: invalid conversion from ‘GDALRasterBandShadow*’ to ‘GDALRasterBand*’
extensions/gdal_wrap.cpp:4772: error: initializing argument 1 of ‘CPLErr GDALRegenerateOverviews(GDALRasterBand*, int, GDALRasterBand**, const char*, int (*)(double, const char*, void*), void*)’
extensions/gdal_wrap.cpp:4772: error: invalid conversion from ‘GDALRasterBandShadow**’ to ‘GDALRasterBand**’
extensions/gdal_wrap.cpp:4772: error: initializing argument 3 of ‘CPLErr GDALRegenerateOverviews(GDALRasterBand*, int, GDALRasterBand**, const char*, int (*)(double, const char*, void*), void*)’
extensions/gdal_wrap.cpp: In function ‘GDALTransformerInfoShadow* new_GDALTransformerInfoShadow(GDALDatasetShadow*, GDALDatasetShadow*, char**)’:
extensions/gdal_wrap.cpp:4830: error: ‘GDALCreateGenImgProjTransformer2’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int GDALTransformerInfoShadow_TransformPoint__SWIG_0(GDALTransformerInfoShadow*, int, double*)’:
extensions/gdal_wrap.cpp:4841: error: ‘GDALUseTransformer’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int GDALTransformerInfoShadow_TransformPoint__SWIG_1(GDALTransformerInfoShadow*, double*, int, double, double, double)’:
extensions/gdal_wrap.cpp:4853: error: ‘GDALUseTransformer’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int GDALTransformerInfoShadow_TransformPoints(GDALTransformerInfoShadow*, int, int, double*, double*, double*, int*)’:
extensions/gdal_wrap.cpp:4935: error: ‘GDALUseTransformer’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘GIntBig wrapper_GDALGetCacheMax()’:
extensions/gdal_wrap.cpp:4942: error: ‘GDALGetCacheMax64’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘GIntBig wrapper_GDALGetCacheUsed()’:
extensions/gdal_wrap.cpp:4948: error: ‘GDALGetCacheUsed64’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘void wrapper_GDALSetCacheMax(GIntBig)’:
extensions/gdal_wrap.cpp:4954: error: ‘GDALSetCacheMax64’ was not declared in this scope
extensions/gdal_wrap.cpp:4954: error: return-statement with a value, in function returning 'void'
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFReadL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:5147: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:5147: error: ‘arg4’ was not declared in this scope
extensions/gdal_wrap.cpp:5147: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:5147: error: expected `;' before numeric constant
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_StatBuf_size_get(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6427: error: ‘CPL_FRMT_GIB’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_StatBuf_mtime_get(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6457: error: ‘CPL_FRMT_GIB’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFOpenL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6654: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:6654: error: ‘result’ was not declared in this scope
extensions/gdal_wrap.cpp:6675: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:6675: error: expected `;' before ‘VSIFOpenL’
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFCloseL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6702: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:6702: error: ‘arg1’ was not declared in this scope
extensions/gdal_wrap.cpp:6702: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:6702: error: expected `;' before numeric constant
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFSeekL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6732: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:6732: error: ‘arg1’ was not declared in this scope
extensions/gdal_wrap.cpp:6732: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:6732: error: expected `;' before numeric constant
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFTellL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6782: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:6782: error: ‘arg1’ was not declared in this scope
extensions/gdal_wrap.cpp:6782: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:6782: error: expected `;' before numeric constant
extensions/gdal_wrap.cpp:6806: error: ‘CPL_FRMT_GIB’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFTruncateL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6821: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:6821: error: ‘arg1’ was not declared in this scope
extensions/gdal_wrap.cpp:6821: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:6821: error: expected `;' before numeric constant
extensions/gdal_wrap.cpp:6845: error: ‘VSIFTruncateL’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFWriteL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6866: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:6866: error: ‘arg5’ was not declared in this scope
extensions/gdal_wrap.cpp:6866: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:6866: error: expected `;' before numeric constant
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_AsyncReader_GetNextUpdatedRegion(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:10706: error: ‘GDALAsyncStatusType’ was not declared in this scope
extensions/gdal_wrap.cpp:10706: error: expected `;' before ‘result’
extensions/gdal_wrap.cpp:10727: error: ‘result’ was not declared in this scope
extensions/gdal_wrap.cpp:10727: error: expected `;' before ‘GDALAsyncReaderShadow_GetNextUpdatedRegion’
extensions/gdal_wrap.cpp:10735: error: ‘result’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_GetCacheMax(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:20006: error: ‘CPL_FRMT_GIB’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_GetCacheUsed(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:20038: error: ‘CPL_FRMT_GIB’ was not declared in this scope
error: command 'gcc' failed with exit status 1
Complete output from command /usr/local/bin/python2.7 -c "import setuptools;__file__='/home/danielquinn/webapps/spirithunter_python/spirithunter/trunk/api/django/settings/build/gdal/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /home/danielquinn/tmp/pip-ysh5p7-record/install-record.txt:
running install
running build
running build_py
running build_ext
building 'osgeo._gdal' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I/usr/local/include/python2.7 -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/include -c extensions/gdal_wrap.cpp -o build/temp.linux-i686-2.7/extensions/gdal_wrap.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
extensions/gdal_wrap.cpp:2999: error: ‘VSILFILE’ has not been declared
extensions/gdal_wrap.cpp: In function ‘int wrapper_VSIFReadL(void**, int, int, int*)’:
extensions/gdal_wrap.cpp:3034: error: cannot convert ‘int*’ to ‘FILE*’ for argument ‘4’ to ‘size_t VSIFReadL(void*, size_t, size_t, FILE*)’
extensions/gdal_wrap.cpp: In function ‘int wrapper_VSIStatL(const char*, StatBuf*, int)’:
extensions/gdal_wrap.cpp:3457: error: ‘VSIStatExL’ was not declared in this scope
extensions/gdal_wrap.cpp: At global scope:
extensions/gdal_wrap.cpp:3465: error: ‘VSILFILE’ has not been declared
extensions/gdal_wrap.cpp: In function ‘int wrapper_VSIFWriteL(int, char*, int, int, int*)’:
extensions/gdal_wrap.cpp:3472: error: cannot convert ‘int*’ to ‘FILE*’ for argument ‘4’ to ‘size_t VSIFWriteL(const void*, size_t, size_t, FILE*)’
extensions/gdal_wrap.cpp: At global scope:
extensions/gdal_wrap.cpp:3801: error: ‘GDALAsyncReaderH’ does not name a type
extensions/gdal_wrap.cpp:3807: error: ‘GDALAsyncReaderH’ does not name a type
extensions/gdal_wrap.cpp: In function ‘void DeleteAsyncReaderWrapper(void*)’:
extensions/gdal_wrap.cpp:3826: error: ‘struct GDALAsyncReaderWrapper’ has no member named ‘hAsyncReader’
extensions/gdal_wrap.cpp: At global scope:
extensions/gdal_wrap.cpp:3836: error: ‘GDALAsyncReaderH’ was not declared in this scope
extensions/gdal_wrap.cpp:3837: error: expected primary-expression before ‘void’
extensions/gdal_wrap.cpp:3837: error: initializer expression list treated as compound expression
extensions/gdal_wrap.cpp:3838: error: expected ‘,’ or ‘;’ before ‘{’ token
extensions/gdal_wrap.cpp: In function ‘void DisableAsyncReaderWrapper(void*)’:
extensions/gdal_wrap.cpp:3854: error: ‘struct GDALAsyncReaderWrapper’ has no member named ‘hAsyncReader’
extensions/gdal_wrap.cpp: At global scope:
extensions/gdal_wrap.cpp:3861: error: ‘GDALAsyncStatusType’ does not name a type
extensions/gdal_wrap.cpp: In function ‘void GDALAsyncReaderShadow_GetBuffer(GDALAsyncReaderShadow*, void**)’:
extensions/gdal_wrap.cpp:3874: error: ‘GDALAsyncReaderH’ was not declared in this scope
extensions/gdal_wrap.cpp:3874: error: expected `;' before ‘hReader’
extensions/gdal_wrap.cpp:3875: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int GDALAsyncReaderShadow_LockBuffer(GDALAsyncReaderShadow*, double)’:
extensions/gdal_wrap.cpp:3884: error: ‘GDALAsyncReaderH’ was not declared in this scope
extensions/gdal_wrap.cpp:3884: error: expected `;' before ‘hReader’
extensions/gdal_wrap.cpp:3885: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp:3889: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp:3889: error: ‘GDALARLockBuffer’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘void GDALAsyncReaderShadow_UnlockBuffer(GDALAsyncReaderShadow*)’:
extensions/gdal_wrap.cpp:3892: error: ‘GDALAsyncReaderH’ was not declared in this scope
extensions/gdal_wrap.cpp:3892: error: expected `;' before ‘hReader’
extensions/gdal_wrap.cpp:3893: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp:3897: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp:3897: error: ‘GDALARUnlockBuffer’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘GDALAsyncReaderShadow* GDALDatasetShadow_BeginAsyncReader(GDALDatasetShadow*, int, int, int, int, int, char*, void*, int, int, GDALDataType, int, int*, int, int, int, char**)’:
extensions/gdal_wrap.cpp:4024: warning: converting to ‘int’ from ‘double’
extensions/gdal_wrap.cpp:4025: warning: converting to ‘int’ from ‘double’
extensions/gdal_wrap.cpp:4064: error: ‘GDALAsyncReaderH’ was not declared in this scope
extensions/gdal_wrap.cpp:4064: error: expected `;' before ‘hAsyncReader’
extensions/gdal_wrap.cpp:4067: error: ‘hAsyncReader’ was not declared in this scope
extensions/gdal_wrap.cpp:4069: error: ‘GDALAsyncReader’ was not declared in this scope
extensions/gdal_wrap.cpp:4069: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:4069: error: expected ‘;’ before ‘CreateAsyncReaderWrapper’
extensions/gdal_wrap.cpp:4069: error: ‘CreateAsyncReaderWrapper’ cannot be used as a function
extensions/gdal_wrap.cpp: In function ‘void GDALDatasetShadow_EndAsyncReader(GDALDatasetShadow*, GDALAsyncReaderShadow*)’:
extensions/gdal_wrap.cpp:4082: error: ‘GDALAsyncReaderH’ was not declared in this scope
extensions/gdal_wrap.cpp:4082: error: expected `;' before ‘hReader’
extensions/gdal_wrap.cpp:4083: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp:4087: error: ‘hReader’ was not declared in this scope
extensions/gdal_wrap.cpp:4087: error: ‘GDALEndAsyncReader’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘CPLErr GDALRasterBandShadow_SetUnitType(GDALRasterBandShadow*, const char*)’:
extensions/gdal_wrap.cpp:4273: error: ‘GDALSetRasterUnitType’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int ComputeProximity(GDALRasterBandShadow*, GDALRasterBandShadow*, char**, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4657: error: ‘GDALComputeProximity’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int RasterizeLayer(GDALDatasetShadow*, int, int*, OGRLayerShadow*, void*, void*, int, double*, char**, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4693: error: ‘GDALRasterizeLayers’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int Polygonize(GDALRasterBandShadow*, GDALRasterBandShadow*, OGRLayerShadow*, int, char**, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4713: error: ‘GDALPolygonize’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int FillNodata(GDALRasterBandShadow*, GDALRasterBandShadow*, double, int, char**, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4729: error: ‘GDALFillNodata’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int SieveFilter(GDALRasterBandShadow*, GDALRasterBandShadow*, GDALRasterBandShadow*, int, int, char**, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4745: error: ‘GDALSieveFilter’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int RegenerateOverviews(GDALRasterBandShadow*, int, GDALRasterBandShadow**, const char*, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4759: error: invalid conversion from ‘GDALRasterBandShadow*’ to ‘GDALRasterBand*’
extensions/gdal_wrap.cpp:4759: error: initializing argument 1 of ‘CPLErr GDALRegenerateOverviews(GDALRasterBand*, int, GDALRasterBand**, const char*, int (*)(double, const char*, void*), void*)’
extensions/gdal_wrap.cpp:4759: error: invalid conversion from ‘GDALRasterBandShadow**’ to ‘GDALRasterBand**’
extensions/gdal_wrap.cpp:4759: error: initializing argument 3 of ‘CPLErr GDALRegenerateOverviews(GDALRasterBand*, int, GDALRasterBand**, const char*, int (*)(double, const char*, void*), void*)’
extensions/gdal_wrap.cpp: In function ‘int RegenerateOverview(GDALRasterBandShadow*, GDALRasterBandShadow*, const char*, int (*)(double, const char*, void*), void*)’:
extensions/gdal_wrap.cpp:4772: error: invalid conversion from ‘GDALRasterBandShadow*’ to ‘GDALRasterBand*’
extensions/gdal_wrap.cpp:4772: error: initializing argument 1 of ‘CPLErr GDALRegenerateOverviews(GDALRasterBand*, int, GDALRasterBand**, const char*, int (*)(double, const char*, void*), void*)’
extensions/gdal_wrap.cpp:4772: error: invalid conversion from ‘GDALRasterBandShadow**’ to ‘GDALRasterBand**’
extensions/gdal_wrap.cpp:4772: error: initializing argument 3 of ‘CPLErr GDALRegenerateOverviews(GDALRasterBand*, int, GDALRasterBand**, const char*, int (*)(double, const char*, void*), void*)’
extensions/gdal_wrap.cpp: In function ‘GDALTransformerInfoShadow* new_GDALTransformerInfoShadow(GDALDatasetShadow*, GDALDatasetShadow*, char**)’:
extensions/gdal_wrap.cpp:4830: error: ‘GDALCreateGenImgProjTransformer2’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int GDALTransformerInfoShadow_TransformPoint__SWIG_0(GDALTransformerInfoShadow*, int, double*)’:
extensions/gdal_wrap.cpp:4841: error: ‘GDALUseTransformer’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int GDALTransformerInfoShadow_TransformPoint__SWIG_1(GDALTransformerInfoShadow*, double*, int, double, double, double)’:
extensions/gdal_wrap.cpp:4853: error: ‘GDALUseTransformer’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘int GDALTransformerInfoShadow_TransformPoints(GDALTransformerInfoShadow*, int, int, double*, double*, double*, int*)’:
extensions/gdal_wrap.cpp:4935: error: ‘GDALUseTransformer’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘GIntBig wrapper_GDALGetCacheMax()’:
extensions/gdal_wrap.cpp:4942: error: ‘GDALGetCacheMax64’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘GIntBig wrapper_GDALGetCacheUsed()’:
extensions/gdal_wrap.cpp:4948: error: ‘GDALGetCacheUsed64’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘void wrapper_GDALSetCacheMax(GIntBig)’:
extensions/gdal_wrap.cpp:4954: error: ‘GDALSetCacheMax64’ was not declared in this scope
extensions/gdal_wrap.cpp:4954: error: return-statement with a value, in function returning 'void'
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFReadL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:5147: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:5147: error: ‘arg4’ was not declared in this scope
extensions/gdal_wrap.cpp:5147: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:5147: error: expected `;' before numeric constant
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_StatBuf_size_get(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6427: error: ‘CPL_FRMT_GIB’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_StatBuf_mtime_get(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6457: error: ‘CPL_FRMT_GIB’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFOpenL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6654: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:6654: error: ‘result’ was not declared in this scope
extensions/gdal_wrap.cpp:6675: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:6675: error: expected `;' before ‘VSIFOpenL’
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFCloseL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6702: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:6702: error: ‘arg1’ was not declared in this scope
extensions/gdal_wrap.cpp:6702: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:6702: error: expected `;' before numeric constant
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFSeekL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6732: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:6732: error: ‘arg1’ was not declared in this scope
extensions/gdal_wrap.cpp:6732: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:6732: error: expected `;' before numeric constant
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFTellL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6782: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:6782: error: ‘arg1’ was not declared in this scope
extensions/gdal_wrap.cpp:6782: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:6782: error: expected `;' before numeric constant
extensions/gdal_wrap.cpp:6806: error: ‘CPL_FRMT_GIB’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFTruncateL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6821: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:6821: error: ‘arg1’ was not declared in this scope
extensions/gdal_wrap.cpp:6821: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:6821: error: expected `;' before numeric constant
extensions/gdal_wrap.cpp:6845: error: ‘VSIFTruncateL’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VSIFWriteL(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:6866: error: ‘VSILFILE’ was not declared in this scope
extensions/gdal_wrap.cpp:6866: error: ‘arg5’ was not declared in this scope
extensions/gdal_wrap.cpp:6866: error: expected primary-expression before ‘)’ token
extensions/gdal_wrap.cpp:6866: error: expected `;' before numeric constant
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_AsyncReader_GetNextUpdatedRegion(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:10706: error: ‘GDALAsyncStatusType’ was not declared in this scope
extensions/gdal_wrap.cpp:10706: error: expected `;' before ‘result’
extensions/gdal_wrap.cpp:10727: error: ‘result’ was not declared in this scope
extensions/gdal_wrap.cpp:10727: error: expected `;' before ‘GDALAsyncReaderShadow_GetNextUpdatedRegion’
extensions/gdal_wrap.cpp:10735: error: ‘result’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_GetCacheMax(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:20006: error: ‘CPL_FRMT_GIB’ was not declared in this scope
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_GetCacheUsed(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:20038: error: ‘CPL_FRMT_GIB’ was not declared in this scope
error: command 'gcc' failed with exit status 1
----------------------------------------
Command /usr/local/bin/python2.7 -c "import setuptools;__file__='/home/username/webapps/spirithunter_python/spirithunter/trunk/api/django/settings/build/gdal/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /home/username/tmp/pip-ysh5p7-record/install-record.txt failed with error code 1 in /home/username/webapps/spirithunter_python/spirithunter/trunk/api/django/settings/build/gdal
|