FAQ
I am trying to install the DBD-ODBC version 1.13. We are getting a ton of errors at make. Does anyone have an suggestions? We are running Perl-5.8.6 on an HPUX box version 11.11. We are trying access an Informix database. I read we could use ODBC for this. Thanks for any help you can provide. Here are the details:

Makefile Output - Note we did configure the ENV variables but it thinks they are not:

Useless use of private variable in void context at Makefile.PL line 431.

Configuring DBD::ODBC ...
Remember to actually *READ* the README file!
And re-read it if you have any problems.

Using DBI 1.48 (for perl 5.008006 on PA-RISC2.0) installed in /opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/
Using ODBC in /home/harbinger/tle/6_0/odbcHPUX

Umm, this looks like a unixodbc type of driver manager.
We expect to find the sql.h, sqlext.h and (which were
supplied with unixODBC) in $ODBCHOME/include directory alongside
the /home/harbinger/tle/6_0/odbcHPUX/lib/libodbc.sl library. in $ODBCHOME/lib

Use of uninitialized value in pattern match (m//) at Makefile.PL line 272.
Warning: LD_LIBRARY_PATH doesn't include /home/harbinger/tle/6_0/odbcHPUX

Injecting selected odbc driver into cc command
Injecting selected odbc driver into cc command
Using DBI 1.48 (for perl 5.008006 on PA-RISC2.0) installed in /opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/
Writing Makefile for DBD::ODBC

The DBD::ODBC tests will use these values for the database connection:
DBI_DSN= e.g. dbi:ODBC:demo
DBI_USER=
DBI_PASS=
Warning: not all required environment variables are set.

Make Output

gcc -c -I/home/harbinger/tle/6_0/odbcHPUX/include -I. -I/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/ -D_HPUX_SOURCE -mpa-risc-2-0 -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.13\" -DXS_VERSION=\"1.13\" -fPIC "-I/opt/perl5/lib/5.8.6/PA-RISC2.0/CORE" -I/home/harbinger/tle/6_0/odbcHPUX/include ODBC.c
In file included from dbdodbc.h:6,
from ODBC.h:9,
from ODBC.xs:1:
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:19:22: sqltypes.h: No such file or directory
In file included from dbdodbc.h:6,
from ODBC.h:9,
from ODBC.xs:1:
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:569: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:569: error: parse error before "EnvironmentHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:570: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:572: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:572: error: parse error before '*' token
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:572: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:575: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:575: error: parse error before "HandleType"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:576: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:579: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:579: error: parse error before "ConnectionHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:580: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:582: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:582: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:585: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:588: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:588: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:592: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:595: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:595: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:595: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:598: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:598: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:598: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:600: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:600: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:603: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:607: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:607: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:611: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:614: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:614: error: parse error before "ConnectionHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:617: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:620: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:620: error: parse error before "SourceDescHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:621: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:624: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:624: error: parse error before "EnvironmentHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:628: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:630: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:630: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:634: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:636: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:636: error: parse error before "ConnectionHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:636: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:639: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:639: error: parse error before "HandleType"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:640: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:643: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:643: error: parse error before "EnvironmentHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:647: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:649: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:649: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:650: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:652: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:652: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:652: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:654: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:654: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:654: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:657: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:657: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:658: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:661: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:661: error: parse error before "ConnectionHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:661: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:663: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:663: error: parse error before "EnvironmentHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:663: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:666: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:666: error: parse error before "HandleType"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:666: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:669: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:669: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:670: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:673: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:673: error: parse error before "ConnectionHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:675: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:678: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:678: error: parse error before "ConnectionHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:679: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:681: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:681: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:683: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:685: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:685: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:688: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:691: error: parse error before "SQLGetDescField"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:691: error: parse error before "DescriptorHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:694: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:696: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:696: error: parse error before "DescriptorHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:701: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:703: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:703: error: parse error before "HandleType"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:706: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:708: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:708: error: parse error before "HandleType"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:711: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:713: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:713: error: parse error before "EnvironmentHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:715: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:718: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:718: error: parse error before "ConnectionHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:719: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:721: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:721: error: parse error before "ConnectionHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:723: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:726: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:726: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:728: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:731: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:731: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:732: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:734: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:734: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:735: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:737: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:737: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:738: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:740: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:740: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:741: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:743: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:743: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:744: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:746: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:746: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:747: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:749: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:749: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:750: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:753: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:753: error: parse error before "ConnectionHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:755: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:758: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:758: error: parse error before "ConnectionHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:759: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:761: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:761: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:762: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:765: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:765: error: parse error before "DescriptorHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:767: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:769: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:769: error: parse error before "DescriptorHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:774: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:776: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:776: error: parse error before "EnvironmentHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:778: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:781: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:781: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:785: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:788: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:788: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:790: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:793: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:793: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:794: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:796: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:796: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:801: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:803: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:803: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:807: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:809: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:809: error: parse error before "StatementHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:813: warning: data definition has no type or storage class
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:815: error: parse error before "SQL_API"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:815: error: parse error before "EnvironmentHandle"
/home/harbinger/tle/6_0/odbcHPUX/include/sql.h:816: warning: data definition has no type or storage class
In file included from ODBC.h:9,
from ODBC.xs:1:
dbdodbc.h:7:22: sqlucode.h: No such file or directory
dbdodbc.h:8:22: sqltypes.h: No such file or directory
In file included from dbdodbc.h:9,
from ODBC.h:9,
from ODBC.xs:1:

Make Install

gcc -c -I/home/harbinger/tle/6_0/odbcHPUX/include -I. -I/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/ -D_HPUX_SOURCE -mpa-risc-2-0 -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.13\" -DXS_VERSION=\"1.13\" -fPIC "-I/opt/perl5/lib/5.8.6/PA-RISC2.0/CORE" -I/home/harbinger/tle/6_0/odbcHPUX/include ODBC.c
In file included from ODBC.h:9,
from ODBC.xs:1:
dbdodbc.h:6:17: /home/harbinger/tle/6_0/odbcHPUX/include/sql.h: Permission denied
dbdodbc.h:7:22: sqlucode.h: No such file or directory
dbdodbc.h:8:22: sqltypes.h: No such file or directory
dbdodbc.h:9:20: /home/harbinger/tle/6_0/odbcHPUX/include/sqlext.h: Permission denied
In file included from ODBC.h:17,
from ODBC.xs:1:
dbdimp.h:21: error: parse error before "HENV"
dbdimp.h:21: warning: no semicolon at end of struct or union
dbdimp.h:23: error: parse error before '}' token
dbdimp.h:30: error: parse error before "HENV"
dbdimp.h:30: warning: no semicolon at end of struct or union
dbdimp.h:31: warning: data definition has no type or storage class
dbdimp.h:46: error: parse error before "odbc_async_type"
dbdimp.h:46: warning: data definition has no type or storage class
dbdimp.h:50: error: parse error before '}' token
dbdimp.h:56: error: parse error before "HENV"
dbdimp.h:56: warning: no semicolon at end of struct or union
dbdimp.h:57: warning: data definition has no type or storage class
dbdimp.h:58: error: parse error before "hstmt"
dbdimp.h:58: warning: data definition has no type or storage class
dbdimp.h:69: error: parse error before '*' token
dbdimp.h:69: warning: data definition has no type or storage class
dbdimp.h:72: error: parse error before '*' token
dbdimp.h:72: warning: data definition has no type or storage class
dbdimp.h:75: error: parse error before "RowCount"
dbdimp.h:75: warning: data definition has no type or storage class
dbdimp.h:81: error: parse error before '*' token
dbdimp.h:81: warning: data definition has no type or storage class
dbdimp.h:83: error: parse error before "rows_fetched"
dbdimp.h:83: warning: data definition has no type or storage class
dbdimp.h:84: error: parse error before "max_rows"
dbdimp.h:84: warning: data definition has no type or storage class
dbdimp.h:85: error: parse error before '*' token
dbdimp.h:85: warning: data definition has no type or storage class
dbdimp.h:93: error: parse error before '}' token
dbdimp.h:101: error: parse error before "UCHAR"
dbdimp.h:101: warning: no semicolon at end of struct or union
dbdimp.h:102: warning: data definition has no type or storage class
dbdimp.h:103: error: parse error before "ColDef"
dbdimp.h:103: warning: data definition has no type or storage class
dbdimp.h:104: error: parse error before "ColScale"
dbdimp.h:104: warning: data definition has no type or storage class
dbdimp.h:105: error: parse error before "ColSqlType"
dbdimp.h:105: warning: data definition has no type or storage class
dbdimp.h:106: error: parse error before "ColNullable"
dbdimp.h:106: warning: data definition has no type or storage class
dbdimp.h:107: error: parse error before "ColLength"
dbdimp.h:107: warning: data definition has no type or storage class
dbdimp.h:108: error: parse error before "ColDisplaySize"
dbdimp.h:108: warning: data definition has no type or storage class
dbdimp.h:111: error: parse error before "ftype"
dbdimp.h:111: warning: data definition has no type or storage class
dbdimp.h:114: error: parse error before '*' token
dbdimp.h:114: warning: data definition has no type or storage class
dbdimp.h:115: error: parse error before "datalen"
dbdimp.h:115: warning: data definition has no type or storage class
dbdimp.h:116: error: parse error before "maxcnt"
dbdimp.h:116: warning: data definition has no type or storage class
dbdimp.h:118: error: parse error before '*' token
dbdimp.h:118: warning: data definition has no type or storage class
dbdimp.h:120: error: parse error before '}' token
dbdimp.h:137: error: parse error before "SWORD"
dbdimp.h:137: warning: no semicolon at end of struct or union
dbdimp.h:138: warning: data definition has no type or storage class
dbdimp.h:139: error: parse error before "tgt_sql_type"
dbdimp.h:139: warning: data definition has no type or storage class
dbdimp.h:140: error: parse error before "tgt_len"
dbdimp.h:140: warning: data definition has no type or storage class
dbdimp.h:141: error: parse error before "cbValue"
dbdimp.h:141: warning: data definition has no type or storage class
dbdimp.h:142: error: parse error before '*' token
dbdimp.h:142: warning: data definition has no type or storage class
dbdimp.h:146: error: parse error before '}' token
In file included from ODBC.xs:1:
ODBC.h:37: error: parse error before "RETCODE"
ODBC.h:38: error: parse error before "RETCODE"
In file included from ODBC.c:18:
/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/Driver_xst.h: In function `dbdxst_bind_params':
/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/Driver_xst.h:51: error: dereferencing pointer to incomplete type
/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/Driver_xst.h:52: error: dereferencing pointer to incomplete type
/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/Driver_xst.h:56: error: dereferencing pointer to incomplete type
/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/Driver_xst.h:57: error: dereferencing pointer to incomplete type
/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/Driver_xst.h:58: error: dereferencing pointer to incomplete type
/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/Driver_xst.h: In function `dbdxst_fetchall_arrayref':
/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/Driver_xst.h:83: error: dereferencing pointer to incomplete type
/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/Driver_xst.h:84: error: dereferencing pointer to incomplete type
/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/Driver_xst.h:91: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `XS_DBD__ODBC__db_selectall_arrayref':
ODBC.xsi:135: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `XS_DBD__ODBC__db_selectrow_arrayref':
ODBC.xsi:170: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `XS_DBD__ODBC__db_commit':
ODBC.xsi:249: error: dereferencing pointer to incomplete type
ODBC.xsi:249: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `XS_DBD__ODBC__db_rollback':
ODBC.xsi:259: error: dereferencing pointer to incomplete type
ODBC.xsi:259: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `XS_DBD__ODBC__db_disconnect':
ODBC.xsi:269: error: dereferencing pointer to incomplete type
ODBC.xsi:273: error: dereferencing pointer to incomplete type
ODBC.xsi:274: error: dereferencing pointer to incomplete type
ODBC.xsi:275: error: dereferencing pointer to incomplete type
ODBC.xsi:279: error: dereferencing pointer to incomplete type
ODBC.xsi:279: error: dereferencing pointer to incomplete type
ODBC.xsi:281: error: dereferencing pointer to incomplete type
ODBC.xsi:283: error: dereferencing pointer to incomplete type
ODBC.xsi:287: error: dereferencing pointer to incomplete type
ODBC.xsi:287: error: dereferencing pointer to incomplete type
ODBC.xsi:287: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `XS_DBD__ODBC__db_STORE':
ODBC.xsi:301: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `XS_DBD__ODBC__db_FETCH':
ODBC.xsi:313: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `XS_DBD__ODBC__db_DESTROY':
ODBC.xsi:323: error: dereferencing pointer to incomplete type
ODBC.xsi:325: error: dereferencing pointer to incomplete type
ODBC.xsi:325: error: dereferencing pointer to incomplete type
ODBC.xsi:326: error: dereferencing pointer to incomplete type
ODBC.xsi:332: error: dereferencing pointer to incomplete type
ODBC.xsi:333: error: dereferencing pointer to incomplete type
ODBC.xsi:334: error: dereferencing pointer to incomplete type
ODBC.xsi:336: error: dereferencing pointer to incomplete type
ODBC.xsi:337: error: dereferencing pointer to incomplete type
ODBC.xsi:337: error: dereferencing pointer to incomplete type
ODBC.xsi:337: error: dereferencing pointer to incomplete type
ODBC.xsi:339: error: dereferencing pointer to incomplete type
ODBC.xsi:347: error: dereferencing pointer to incomplete type
ODBC.xsi:348: error: dereferencing pointer to incomplete type
ODBC.xsi:349: error: dereferencing pointer to incomplete type
ODBC.xsi:350: error: dereferencing pointer to incomplete type
ODBC.xsi:356: error: dereferencing pointer to incomplete type
ODBC.xsi:356: error: dereferencing pointer to incomplete type
ODBC.xsi:356: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `XS_DBD__ODBC__st_execute':
ODBC.xsi:546: error: dereferencing pointer to incomplete type
ODBC.xsi:547: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `XS_DBD__ODBC__st_finish':
ODBC.xsi:627: error: dereferencing pointer to incomplete type
ODBC.xsi:628: error: dereferencing pointer to incomplete type
ODBC.xsi:632: error: dereferencing pointer to incomplete type
ODBC.xsi:635: error: dereferencing pointer to incomplete type
ODBC.xsi:635: error: dereferencing pointer to incomplete type
ODBC.xsi:635: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `XS_DBD__ODBC__st_STORE':
ODBC.xsi:675: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `XS_DBD__ODBC__st_FETCH_attrib':
ODBC.xsi:692: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `XS_DBD__ODBC__st_DESTROY':
ODBC.xsi:702: error: dereferencing pointer to incomplete type
ODBC.xsi:704: error: dereferencing pointer to incomplete type
ODBC.xsi:704: error: dereferencing pointer to incomplete type
ODBC.xsi:705: error: dereferencing pointer to incomplete type
ODBC.xsi:710: error: dereferencing pointer to incomplete type
ODBC.xsi:711: error: dereferencing pointer to incomplete type
ODBC.xsi:711: error: dereferencing pointer to incomplete type
ODBC.xsi:711: error: dereferencing pointer to incomplete type
ODBC.xsi:713: error: dereferencing pointer to incomplete type
ODBC.xsi:714: error: dereferencing pointer to incomplete type
ODBC.xsi:715: error: dereferencing pointer to incomplete type
ODBC.xsi:723: error: dereferencing pointer to incomplete type
ODBC.xsi:723: error: dereferencing pointer to incomplete type
ODBC.xsi:723: error: dereferencing pointer to incomplete type
ODBC.xs: In function `XS_DBD__ODBC__st_DescribeCol':
ODBC.xs:56: error: `SQL_MAX_COLUMN_NAME_LEN' undeclared (first use in this function)
ODBC.xs:56: error: (Each undeclared identifier is reported only once
ODBC.xs:56: error: for each function it appears in.)
ODBC.xs: In function `XS_DBD__ODBC__db_GetFunctions':
ODBC.xs:172: error: `UWORD' undeclared (first use in this function)
ODBC.xs:172: error: parse error before "pfExists"
ODBC.xs:173: error: `RETCODE' undeclared (first use in this function)
ODBC.xs:177: error: `rc' undeclared (first use in this function)
ODBC.xs:177: error: dereferencing pointer to incomplete type
ODBC.xs:177: error: `pfExists' undeclared (first use in this function)
ODBC.xs:185: error: `SQL_API_ODBC3_ALL_FUNCTIONS' undeclared (first use in this function)
ODBC.xs:186: error: `SQL_API_ODBC3_ALL_FUNCTIONS_SIZE' undeclared (first use in this function)
ODBC.xs: In function `XS_DBD__ODBC__dr_data_sources':
ODBC.xs:215: error: `UWORD' undeclared (first use in this function)
ODBC.xs:215: error: parse error before "fDirection"
ODBC.xs:216: error: `RETCODE' undeclared (first use in this function)
ODBC.xs:217: error: `UCHAR' undeclared (first use in this function)
ODBC.xs:218: error: `SWORD' undeclared (first use in this function)
ODBC.xs:223: error: dereferencing pointer to incomplete type
ODBC.xs:224: error: `rc' undeclared (first use in this function)
ODBC.xs:224: error: dereferencing pointer to incomplete type
ODBC.xs:226: error: dereferencing pointer to incomplete type
ODBC.xs:226: error: `SQL_NULL_HENV' undeclared (first use in this function)
ODBC.xs:231: error: `dsn' undeclared (first use in this function)
ODBC.xs:233: error: dereferencing pointer to incomplete type
ODBC.xs:233: error: `fDirection' undeclared (first use in this function)
ODBC.xs:235: error: `SQL_MAX_DSN_LENGTH' undeclared (first use in this function)
ODBC.xs:236: error: `dsn_length' undeclared (first use in this function)
ODBC.xs:237: error: `description' undeclared (first use in this function)
ODBC.xs:238: error: `description_length' undeclared (first use in this function)
ODBC.xs:245: error: dereferencing pointer to incomplete type
ODBC.xs:247: error: dereferencing pointer to incomplete type
ODBC.xs:252: error: `SQL_FETCH_NEXT' undeclared (first use in this function)
ODBC.xs:254: error: dereferencing pointer to incomplete type
ODBC.xs:255: error: dereferencing pointer to incomplete type
ODBC.xs:256: error: dereferencing pointer to incomplete type
ODBC.xsi: In function `boot_DBD__ODBC':
ODBC.xsi:21: error: invalid application of `sizeof' to incomplete type `/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/DBIXS.h'
ODBC.xsi:22: error: invalid application of `sizeof' to incomplete type `/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/DBIXS.h'
ODBC.xsi:23: error: invalid application of `sizeof' to incomplete type `/opt/perl5/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI/DBIXS.h'
*** Error exit code 1

Cory Cox
Analysis and Information Systems
1-800-228-2240 ext 2695

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupdbi-users @
categoriesperl
postedApr 7, '05 at 5:58p
activeApr 8, '05 at 7:51a
posts2
users2
websitedbi.perl.org

2 users in discussion

Martin J. Evans: 1 post Cory Cox: 1 post

People

Translate

site design / logo © 2022 Grokbase