Checking if your kit is complete... Looks good Note (probably harmless): No library found for -ltdusr Note (probably harmless): No library found for -lcliv2 Note (probably harmless): No library found for -lnsl Note (probably harmless): No library found for -lsocket Writing Makefile for Teradata::SQL cp SQL.pm blib/lib/Teradata/SQL.pm AutoSplitting blib/lib/Teradata/SQL.pm (blib/lib/auto/Teradata/SQL) /Users/cpanrun/build/5.8.8/bin/perl /Users/cpanrun/build/5.8.8/lib/5.8.8/ExtUtils/xsubpp -typemap /Users/cpanrun/build/5.8.8/lib/5.8.8/ExtUtils/typemap SQL.xs > SQL.xsc && mv SQL.xsc SQL.c gcc -c -I. -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -Wdeclaration-after-statement -O3 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "-I/Users/cpanrun/build/5.8.8/lib/5.8.8/darwin-thread-multi-2level/CORE" SQL.c In file included from SQL.xs:4: tdsql.h:6:57: error: coptypes.h: No such file or directory tdsql.h:7:20: error: coperr.h: No such file or directory tdsql.h:8:21: error: dbcarea.h: No such file or directory tdsql.h:9:20: error: parcel.h: No such file or directory In file included from SQL.xs:4: tdsql.h:72: error: parse error before 'PclWord' tdsql.h:72: warning: no semicolon at end of struct or union tdsql.h:74: error: parse error before 'PclWord' tdsql.h:74: warning: no semicolon at end of struct or union tdsql.h:75: warning: data definition has no type or storage class tdsql.h:76: warning: data definition has no type or storage class tdsql.h:77: error: parse error before '}' token tdsql.h:82: error: field 'dbc' has incomplete type tdsql.h:100: error: field 'irqx_header' has incomplete type tdsql.h:101: error: field 'irqx_DataInfo_elem' has incomplete type tdsql.h:102: error: field 'irqx_DataInfo_body' has incomplete type tdsql.h:103: error: field 'irqx_IndicData_elem' has incomplete type tdsql.h:104: error: field 'irqx_IndicData_body' has incomplete type tdsql.h:112: error: parse error before '*' token tdsql.h:113: error: parse error before 'Byte' tdsql.h:123: error: parse error before 'Byte' tdsql.h:126: error: parse error before 'Byte' In file included from SQL.xs:4: tdsql.h:6:57: error: coptypes.h: No such file or directory tdsql.h:7:20: error: coperr.h: No such file or directory tdsql.h:8:21: error: dbcarea.h: No such file or directory tdsql.h:9:20: error: parcel.h: No such file or directory In file included from SQL.xs:4: tdsql.h:72: error: parse error before 'PclWord' tdsql.h:72: warning: no semicolon at end of struct or union tdsql.h:74: error: parse error before 'PclWord' tdsql.h:74: warning: no semicolon at end of struct or union tdsql.h:75: warning: data definition has no type or storage class tdsql.h:76: warning: data definition has no type or storage class tdsql.h:77: error: parse error before '}' token tdsql.h:82: error: field 'dbc' has incomplete type tdsql.h:100: error: field 'irqx_header' has incomplete type tdsql.h:101: error: field 'irqx_DataInfo_elem' has incomplete type tdsql.h:102: error: field 'irqx_DataInfo_body' has incomplete type tdsql.h:103: error: field 'irqx_IndicData_elem' has incomplete type tdsql.h:104: error: field 'irqx_IndicData_body' has incomplete type tdsql.h:112: error: parse error before '*' token tdsql.h:113: error: parse error before 'Byte' tdsql.h:123: error: parse error before 'Byte' tdsql.h:126: error: parse error before 'Byte' SQL.xs: In function 'XS_Teradata__SQL_Xexecutep': SQL.xs:158: error: 'Byte' undeclared (first use in this function) SQL.xs:158: error: (Each undeclared identifier is reported only once SQL.xs:158: error: for each function it appears in.) SQL.xs:158: error: parse error before 'hv_data' SQL.xs:159: error: 'hvdata_ptr' undeclared (first use in this function) SQL.xs:160: error: 'hvindic_ptr' undeclared (first use in this function) SQL.xs:161: error: parse error before 'indic_mask' SQL.xs:162: error: storage size of 'hv_datainfo' isn't known SQL.xs:174: error: 'hv_data' undeclared (first use in this function) SQL.xs:176: error: 'indic_mask' undeclared (first use in this function) SQL.xs:180: error: 'PclWord' undeclared (first use in this function) SQL.xs:180: error: parse error before 'nargs' SQL.xs:185: error: dereferencing pointer to incomplete type SQL.xs:186: error: dereferencing pointer to incomplete type SQL.xs:192: error: dereferencing pointer to incomplete type SQL.xs:193: error: dereferencing pointer to incomplete type SQL.xs:200: error: dereferencing pointer to incomplete type SQL.xs:201: error: dereferencing pointer to incomplete type SQL.xs:206: error: dereferencing pointer to incomplete type SQL.xs:207: error: dereferencing pointer to incomplete type SQL.xs:215: error: increment of pointer to unknown structure SQL.xs:215: error: arithmetic on pointer to an incomplete type SQL.xs: In function 'XS_Teradata__SQL_Xopenp': SQL.xs:248: error: 'Byte' undeclared (first use in this function) SQL.xs:248: error: parse error before 'hv_data' SQL.xs:249: error: 'hvdata_ptr' undeclared (first use in this function) SQL.xs:250: error: 'hvindic_ptr' undeclared (first use in this function) SQL.xs:251: error: parse error before 'indic_mask' SQL.xs:252: error: storage size of 'hv_datainfo' isn't known SQL.xs:274: error: 'hv_data' undeclared (first use in this function) SQL.xs:276: error: 'indic_mask' undeclared (first use in this function) SQL.xs:280: error: 'PclWord' undeclared (first use in this function) SQL.xs:280: error: parse error before 'nargs' SQL.xs:285: error: dereferencing pointer to incomplete type SQL.xs:286: error: dereferencing pointer to incomplete type SQL.xs:292: error: dereferencing pointer to incomplete type SQL.xs:293: error: dereferencing pointer to incomplete type SQL.xs:300: error: dereferencing pointer to incomplete type SQL.xs:301: error: dereferencing pointer to incomplete type SQL.xs:306: error: dereferencing pointer to incomplete type SQL.xs:307: error: dereferencing pointer to incomplete type SQL.xs:315: error: increment of pointer to unknown structure SQL.xs:315: error: arithmetic on pointer to an incomplete type SQL.xs: In function 'XS_Teradata__SQL_Xexecutep': SQL.xs:158: error: 'Byte' undeclared (first use in this function) SQL.xs:158: error: (Each undeclared identifier is reported only once SQL.xs:158: error: for each function it appears in.) SQL.xs:158: error: parse error before 'hv_data' SQL.xs:159: error: 'hvdata_ptr' undeclared (first use in this function) SQL.xs:160: error: 'hvindic_ptr' undeclared (first use in this function) SQL.xs:161: error: parse error before 'indic_mask' SQL.xs:162: error: storage size of 'hv_datainfo' isn't known SQL.xs:174: error: 'hv_data' undeclared (first use in this function) SQL.xs:176: error: 'indic_mask' undeclared (first use in this function) SQL.xs:180: error: 'PclWord' undeclared (first use in this function) SQL.xs:180: error: parse error before 'nargs' SQL.xs:185: error: dereferencing pointer to incomplete type SQL.xs:186: error: dereferencing pointer to incomplete type SQL.xs:192: error: dereferencing pointer to incomplete type SQL.xs:193: error: dereferencing pointer to incomplete type SQL.xs: In function 'XS_Teradata__SQL_Xfetch': SQL.xs:358: error: 'Byte' undeclared (first use in this function) SQL.xs:358: error: 'indic_ptr' undeclared (first use in this function) SQL.xs:359: error: 'data_ptr' undeclared (first use in this function) SQL.xs:360: warning: ISO C90 forbids mixed declarations and code SQL.xs:364: error: parse error before 'indic_mask' SQL.xs:372: error: parse error before ')' tokenSQL.xs:200: error: dereferencing pointer to incomplete type SQL.xs:373: error: 'indic_mask' undeclared (first use in this function) SQL.xs:201: error: dereferencing pointer to incomplete type SQL.xs:374: error: parse error before ')' token SQL.xs:206: error: dereferencing pointer to incomplete type SQL.xs:207: error: dereferencing pointer to incomplete type SQL.xs:215: error: increment of pointer to unknown structure SQL.xs:215: error: arithmetic on pointer to an incomplete type SQL.xs: In function 'XS_Teradata__SQL_Xopenp': SQL.xs:248: error: 'Byte' undeclared (first use in this function) SQL.xs:248: error: parse error before 'hv_data' SQL.xs:249: error: 'hvdata_ptr' undeclared (first use in this function) SQL.xs:250: error: 'hvindic_ptr' undeclared (first use in this function) SQL.xs:251: error: parse error before 'indic_mask' SQL.xs:252: error: storage size of 'hv_datainfo' isn't known SQL.xs:274: error: 'hv_data' undeclared (first use in this function) SQL.xs:276: error: 'indic_mask' undeclared (first use in this function) SQL.xs:280: error: 'PclWord' undeclared (first use in this function) SQL.xs:280: error: parse error before 'nargs' SQL.xs:285: error: dereferencing pointer to incomplete type SQL.xs:286: error: dereferencing pointer to incomplete type SQL.xs:292: error: dereferencing pointer to incomplete type SQL.xs:293: error: dereferencing pointer to incomplete type SQL.xs:300: error: dereferencing pointer to incomplete type SQL.xs:301: error: dereferencing pointer to incomplete type SQL.xs:306: error: dereferencing pointer to incomplete type SQL.xs:307: error: dereferencing pointer to incomplete type SQL.xs:315: error: increment of pointer to unknown structure SQL.xs:315: error: arithmetic on pointer to an incomplete type SQL.xs: In function 'XS_Teradata__SQL_Xfetch': SQL.xs:358: error: 'Byte' undeclared (first use in this function) SQL.xs:358: error: 'indic_ptr' undeclared (first use in this function) SQL.xs:359: error: 'data_ptr' undeclared (first use in this function) SQL.xs:360: warning: ISO C90 forbids mixed declarations and code SQL.xs:364: error: parse error before 'indic_mask' SQL.xs:372: error: parse error before ')' token SQL.xs:373: error: 'indic_mask' undeclared (first use in this function) SQL.xs:374: error: parse error before ')' token lipo: can't open input file: /var/tmp//cc9hSkWs.out (No such file or directory) make: *** [SQL.o] Error 1