SRC = /home/diego/src/grass-5.0.3/src CMD = /home/diego/src/grass-5.0.3/src/CMD UNUSED = /home/diego/src/grass-5.0.3/unused HEADER = head.i686-pc-linux-gnu ARCH = i686-pc-linux-gnu GISBASE = /home/diego/src/grass-5.0.3/dist.i686-pc-linux-gnu VERSION = 5.0.3 October 2003 ################################################################# /home/diego/src/grass-5.0.3/src/raster/r.in.gdal make -f OBJ.i686-pc-linux-gnu/make.rules gcc -I/home/diego/src/grass-5.0.3/src/include -g -O2 -I../port -I../gcore -I../alg -I../ogr -I../ogr/ogrsf_frmts -DUSE_GDAL_H -c main.c -o OBJ.i686-pc-linux-gnu/main.o In file included from main.c:20: /usr/local/include/gdal.h:129:22: cpl_port.h: No such file or directory /usr/local/include/gdal.h:130:23: cpl_error.h: No such file or directory In file included from main.c:20: /usr/local/include/gdal.h:152: error: syntax error before "typedef" /usr/local/include/gdal.h:168: error: parse error before "GDALGetDataTypeSize" /usr/local/include/gdal.h:169: error: parse error before "GDALDataTypeIsComplex" /usr/local/include/gdal.h:170: error: parse error before '*' token /usr/local/include/gdal.h:171: error: parse error before "GDALDataTypeUnion" /usr/local/include/gdal.h:205: error: parse error before '*' token /usr/local/include/gdal.h:217: error: parse error before '*' token /usr/local/include/gdal.h:241: error: parse error before "GDALDummyProgress" /usr/local/include/gdal.h:242: error: parse error before "GDALTermProgress" /usr/local/include/gdal.h:243: error: parse error before "GDALScaledProgress" /usr/local/include/gdal.h:244: error: parse error before '*' token /usr/local/include/gdal.h:246: error: parse error before "GDALDestroyScaledProgress" /usr/local/include/gdal.h:270: error: parse error before "GDALAllRegister" /usr/local/include/gdal.h:272: error: parse error before "GDALCreate" /usr/local/include/gdal.h:275: error: parse error before "GDALCreateCopy" /usr/local/include/gdal.h:278: error: parse error before "GDALOpen" /usr/local/include/gdal.h:279: error: parse error before "GDALOpenShared" /usr/local/include/gdal.h:280: error: parse error before "GDALDumpOpenDatasets" /usr/local/include/gdal.h:282: error: parse error before "GDALGetDriverByName" /usr/local/include/gdal.h:283: error: parse error before "GDALGetDriverCount" /usr/local/include/gdal.h:284: error: parse error before "GDALGetDriver" /usr/local/include/gdal.h:285: error: parse error before "GDALRegisterDriver" /usr/local/include/gdal.h:286: error: parse error before "GDALDeregisterDriver" /usr/local/include/gdal.h:287: error: parse error before "GDALDestroyDriverManager" /usr/local/include/gdal.h:288: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:291: error: parse error before '*' token /usr/local/include/gdal.h:292: error: parse error before '*' token /usr/local/include/gdal.h:293: error: parse error before '*' token /usr/local/include/gdal.h:323: error: parse error before "GDALInitGCPs" /usr/local/include/gdal.h:324: error: parse error before "GDALDeinitGCPs" /usr/local/include/gdal.h:325: error: parse error before '*' token /usr/local/include/gdal.h:327: error: parse error before "GDALGCPsToGeoTransform" /usr/local/include/gdal.h:329: error: parse error before "GDALInvGeoTransform" /usr/local/include/gdal.h:336: error: parse error before '*' token /usr/local/include/gdal.h:337: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:339: error: parse error before '*' token /usr/local/include/gdal.h:341: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:344: error: parse error before '*' token /usr/local/include/gdal.h:345: error: parse error before "GDALSetDescription" /usr/local/include/gdal.h:351: error: parse error before "GDALGetDatasetDriver" /usr/local/include/gdal.h:352: error: parse error before "GDALClose" /usr/local/include/gdal.h:353: error: parse error before "GDALGetRasterXSize" /usr/local/include/gdal.h:354: error: parse error before "GDALGetRasterYSize" /usr/local/include/gdal.h:355: error: parse error before "GDALGetRasterCount" /usr/local/include/gdal.h:356: error: parse error before "GDALGetRasterBand" /usr/local/include/gdal.h:358: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:361: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:368: error: parse error before '*' token /usr/local/include/gdal.h:369: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:370: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:371: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:373: error: parse error before "GDALGetGCPCount" /usr/local/include/gdal.h:374: error: parse error before '*' token /usr/local/include/gdal.h:375: error: parse error before '*' token /usr/local/include/gdal.h:376: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:379: error: parse error before '*' token /usr/local/include/gdal.h:380: error: parse error before "GDALReferenceDataset" /usr/local/include/gdal.h:381: error: parse error before "GDALDereferenceDataset" /usr/local/include/gdal.h:383: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:385: error: parse error before "GDALGetOpenDatasets" /usr/local/include/gdal.h:386: error: parse error before "GDALGetAccess" /usr/local/include/gdal.h:387: error: parse error before "GDALFlushCache" /usr/local/include/gdal.h:393: error: parse error before "GDALGetRasterDataType" /usr/local/include/gdal.h:394: error: parse error before "GDALGetBlockSize" /usr/local/include/gdal.h:397: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:403: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:404: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:405: error: parse error before "GDALGetRasterBandXSize" /usr/local/include/gdal.h:406: error: parse error before "GDALGetRasterBandYSize" /usr/local/include/gdal.h:407: error: parse error before '*' token /usr/local/include/gdal.h:408: error: parse error before "GDALGetRasterAccess" /usr/local/include/gdal.h:409: error: parse error before "GDALGetBandNumber" /usr/local/include/gdal.h:410: error: parse error before "GDALGetBandDataset" /usr/local/include/gdal.h:412: error: parse error before "GDALGetRasterColorInterpretation" /usr/local/include/gdal.h:413: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:415: error: parse error before "GDALGetRasterColorTable" /usr/local/include/gdal.h:416: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:417: error: parse error before "GDALHasArbitraryOverviews" /usr/local/include/gdal.h:418: error: parse error before "GDALGetOverviewCount" /usr/local/include/gdal.h:419: error: parse error before "GDALGetOverview" /usr/local/include/gdal.h:420: error: parse error before "GDALGetRasterNoDataValue" /usr/local/include/gdal.h:421: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:422: error: parse error before '*' token /usr/local/include/gdal.h:423: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:424: error: parse error before "GDALGetRasterMinimum" /usr/local/include/gdal.h:425: error: parse error before "GDALGetRasterMaximum" /usr/local/include/gdal.h:426: error: parse error before '*' token /usr/local/include/gdal.h:427: error: parse error before "GDALComputeRasterMinMax" /usr/local/include/gdal.h:429: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:430: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:436: error: parse error before "GDALGetRandomRasterSample" /usr/local/include/gdal.h:437: error: parse error before "GDALGetRasterSampleOverview" /usr/local/include/gdal.h:438: error: parse error before "CPL_DLL" /usr/local/include/gdal.h:440: error: parse error before "GDALComputeBandStats" /usr/local/include/gdal.h:444: error: parse error before "GDALOverviewMagnitudeCorrection" /usr/local/include/gdal.h:453: error: parse error before "GDALSwapWords" /usr/local/include/gdal.h:456: error: parse error before "GDALCopyWords" /usr/local/include/gdal.h:460: error: parse error before "GDALReadWorldFile" /usr/local/include/gdal.h:463: error: parse error before "GDALWriteWorldFile" /usr/local/include/gdal.h:466: error: parse error before "GDALReadTabFile" /usr/local/include/gdal.h:470: error: parse error before '*' token /usr/local/include/gdal.h:472: error: parse error before '*' token /usr/local/include/gdal.h:499: error: parse error before "GDALExtractRPCInfo" /usr/local/include/gdal.h:520: error: parse error before "GDALCreateColorTable" /usr/local/include/gdal.h:521: error: parse error before "GDALDestroyColorTable" /usr/local/include/gdal.h:522: error: parse error before "GDALCloneColorTable" /usr/local/include/gdal.h:523: error: parse error before "GDALGetPaletteInterpretation" /usr/local/include/gdal.h:524: error: parse error before "GDALGetColorEntryCount" /usr/local/include/gdal.h:525: error: parse error before '*' token /usr/local/include/gdal.h:526: error: parse error before "GDALGetColorEntryAsRGB" /usr/local/include/gdal.h:527: error: parse error before "GDALSetColorEntry" /usr/local/include/gdal.h:533: error: parse error before "GDALSetCacheMax" /usr/local/include/gdal.h:534: error: parse error before "GDALGetCacheMax" /usr/local/include/gdal.h:535: error: parse error before "GDALGetCacheUsed" /usr/local/include/gdal.h:536: error: parse error before "GDALFlushCacheBlock" main.c:21:27: ogr_srs_api.h: No such file or directory main.c:31: error: syntax error before "static" main.c: In function `main': main.c:166: warning: assignment makes pointer from integer without a cast main.c:169: warning: assignment makes pointer from integer without a cast main.c:170: warning: passing arg 1 of `strlen' from incompatible pointer type main.c:170: warning: passing arg 1 of `strlen' from incompatible pointer type main.c:170: warning: passing arg 1 of `strcmp' from incompatible pointer type main.c:180: warning: passing arg 1 of `wkt_to_grass' from incompatible pointer type main.c:189: error: `CE_None' undeclared (first use in this function) main.c:189: error: (Each undeclared identifier is reported only once main.c:189: error: for each function it appears in.) main.c:203: warning: passing arg 1 of `strlen' from incompatible pointer type main.c:203: warning: passing arg 1 of `strlen' from incompatible pointer type main.c:203: warning: passing arg 1 of `strcmp' from incompatible pointer type main.c:320: warning: assignment makes pointer from integer without a cast main.c:350: warning: assignment makes pointer from integer without a cast main.c:352: warning: passing arg 2 of `strcpy' from incompatible pointer type main.c:386: warning: initialization from incompatible pointer type main.c:401: warning: passing arg 1 of `strlen' from incompatible pointer type main.c:414: warning: passing arg 1 of `SetupReprojector' from incompatible pointer type main.c: In function `ImportBand': main.c:683: error: `GInt32' undeclared (first use in this function) main.c:683: error: parse error before ')' token main.c:684: error: parse error before ')' token main.c:685: error: parse error before ')' token main.c:686: error: parse error before ')' token main.c:710: error: parse error before ')' token main.c:710: error: parse error before "dfNoData" main.c: At top level: main.c:736: error: parse error before "else" main.c:746: error: parse error before "__uint8_t" main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before '}' token main.c:746: warning: initialization makes pointer from integer without a cast main.c:746: error: initializer element is not constant main.c:746: error: parse error before "switch" main.c:746: error: conflicting types for `__u' main.c:746: error: previous declaration of `__u' main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before "case" main.c:746: warning: initialization makes integer from pointer without a cast main.c:746: error: initializer element is not constant main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before "case" main.c:746: error: redefinition of `__u' main.c:746: error: `__u' previously defined here main.c:746: warning: initialization makes integer from pointer without a cast main.c:746: error: initializer element is not constant main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before "case" main.c:746: error: redefinition of `__u' main.c:746: error: `__u' previously defined here main.c:746: warning: initialization makes integer from pointer without a cast main.c:746: error: initializer element is not constant main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before '->' token main.c:746: error: redefinition of `__u' main.c:746: error: `__u' previously defined here main.c:746: warning: initialization makes integer from pointer without a cast main.c:746: error: initializer element is not constant main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before "case" main.c:746: error: redefinition of `__u' main.c:746: error: `__u' previously defined here main.c:746: warning: initialization makes integer from pointer without a cast main.c:746: error: initializer element is not constant main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before "case" main.c:746: error: redefinition of `__u' main.c:746: error: `__u' previously defined here main.c:746: warning: initialization makes integer from pointer without a cast main.c:746: error: initializer element is not constant main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before "case" main.c:746: error: redefinition of `__u' main.c:746: error: `__u' previously defined here main.c:746: warning: initialization makes integer from pointer without a cast main.c:746: error: initializer element is not constant main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before "case" main.c:746: error: redefinition of `__u' main.c:746: error: `__u' previously defined here main.c:746: warning: initialization makes integer from pointer without a cast main.c:746: error: initializer element is not constant main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before "case" main.c:746: error: redefinition of `__u' main.c:746: error: `__u' previously defined here main.c:746: warning: initialization makes integer from pointer without a cast main.c:746: error: initializer element is not constant main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before "case" main.c:746: error: redefinition of `__u' main.c:746: error: `__u' previously defined here main.c:746: warning: initialization makes integer from pointer without a cast main.c:746: error: initializer element is not constant main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before "case" main.c:746: error: redefinition of `__u' main.c:746: error: `__u' previously defined here main.c:746: warning: initialization makes integer from pointer without a cast main.c:746: error: initializer element is not constant main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before "case" main.c:746: error: redefinition of `__u' main.c:746: error: `__u' previously defined here main.c:746: warning: initialization makes integer from pointer without a cast main.c:746: error: initializer element is not constant main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before "case" main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before '}' token main.c:746: error: parse error before '\x0' main.c:746: warning: data definition has no type or storage class main.c:746: warning: data definition has no type or storage class main.c:746: error: parse error before '}' token main.c:769: warning: parameter names (without types) in function declaration main.c:769: warning: data definition has no type or storage class main.c:770: error: parse error before '}' token main.c:772: warning: parameter names (without types) in function declaration main.c:772: warning: data definition has no type or storage class main.c:773: error: parse error before '}' token main.c:775: error: parse error before numeric constant main.c:775: warning: data definition has no type or storage class main.c:783: warning: parameter names (without types) in function declaration main.c:783: warning: data definition has no type or storage class main.c:785: error: parse error before string constant main.c:785: warning: conflicting types for built-in function `fprintf' main.c:785: warning: data definition has no type or storage class main.c:786: warning: parameter names (without types) in function declaration main.c:786: warning: data definition has no type or storage class main.c:788: warning: parameter names (without types) in function declaration main.c:788: error: conflicting types for `G_free' /home/diego/src/grass-5.0.3/src/include/gisdefs.h:46: error: previous declaration of `G_free' main.c:788: warning: data definition has no type or storage class main.c:789: error: parse error before '}' token main.c:793: warning: parameter names (without types) in function declaration main.c:793: warning: data definition has no type or storage class main.c:794: error: parse error before '}' token main.c:808: error: parse error before string constant main.c:808: warning: data definition has no type or storage class main.c:810: error: `hBand' undeclared here (not in a function) main.c:810: error: initializer element is not constant main.c:810: warning: data definition has no type or storage class main.c:812: error: parse error before '&' token main.c:812: warning: data definition has no type or storage class main.c:817: error: parse error before '&' token main.c:817: warning: data definition has no type or storage class main.c:821: error: parse error before '.' token main.c:821: warning: data definition has no type or storage class main.c:824: error: parse error before '(' token main.c:824: error: conflicting types for `G_mapset' /home/diego/src/grass-5.0.3/src/include/gisdefs.h:703: error: previous declaration of `G_mapset' main.c:824: error: parse error before '&' token main.c:834: error: parse error before string constant main.c:834: warning: data definition has no type or storage class main.c:836: error: parse error before '&' token main.c:836: warning: data definition has no type or storage class main.c:837: error: parse error before '&' token main.c:837: warning: data definition has no type or storage class main.c:838: error: parse error before '(' token main.c:838: error: parse error before '&' token main.c:847: error: parse error before string constant main.c:847: warning: data definition has no type or storage class main.c:848: error: parse error before '(' token main.c:848: error: parse error before '&' token main.c:849: error: parse error before '&' token main.c:849: warning: data definition has no type or storage class main.c:851: error: parse error before '&' token main.c:851: warning: data definition has no type or storage class main.c:852: error: parse error before '&' token main.c:852: warning: data definition has no type or storage class main.c:853: error: parse error before '(' token main.c:853: error: parse error before '&' token main.c: In function `wkt_to_grass': main.c:869: error: `OGRSpatialReferenceH' undeclared (first use in this function) main.c:869: error: parse error before "hSRS" main.c:873: error: `hSRS' undeclared (first use in this function) main.c:875: error: `OGRERR_NONE' undeclared (first use in this function) main.c:985: warning: initialization makes pointer from integer without a cast main.c:986: warning: initialization makes pointer from integer without a cast make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1