Note (probably harmless): No library found for -ltdusr Note (probably harmless): No library found for -lcliv2 Note (probably harmless): No library found for -lsocket Checking if your kit is complete... Looks good Writing Makefile for Teradata::SQL cp SQL.pm blib/lib/Teradata/SQL.pm AutoSplitting blib/lib/Teradata/SQL.pm (blib/lib/auto/Teradata/SQL) /home/cpanrun/ia64/build/5.6.1/bin/perl -I/home/cpanrun/ia64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi -I/home/cpanrun/ia64/build/5.6.1/lib/5.6.1 /home/cpanrun/ia64/build/5.6.1/lib/5.6.1/ExtUtils/xsubpp -typemap /home/cpanrun/ia64/build/5.6.1/lib/5.6.1/ExtUtils/typemap SQL.xs > SQL.xsc && mv SQL.xsc SQL.c gcc -c -I. -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/hpux32 -DUINT32_MAX_BROKEN -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fPIC -I/home/cpanrun/ia64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi/CORE SQL.c In file included from SQL.xs:4: tdsql.h:6:57: coptypes.h: No such file or directory tdsql.h:7:20: coperr.h: No such file or directory tdsql.h:8:21: dbcarea.h: No such file or directory tdsql.h:9:20: 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_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: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 make: *** [SQL.o] Error 1