Please upgrade to DBI 1.30. Thanks,
Jeff > -----Original Message----- > From: Janarthanan, Prasanna [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 25, 2002 9:58 AM > To: Janarthanan, Prasanna; '[EMAIL PROTECTED]'; > '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' > Subject: RE: Problem installing DBD:ODBC(UnixODBC). > > > I tried to make out the exact error. This is using iODBC in > mycase, But the > same applies for unixODBC also. I have both. > To make out the error, i tried to compile dbdimp.c alone with > erroff option > to suppress the warnings. > > Here is the error. > > janarthp@sys1:/u/janarthp/DBD> cc -c -erroff > -I/u/janarthp/ODBC/iODBC/include -I. > -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI > -I/usr/local/include -I/usr/include -I/usr/local/gnu/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.45_17\" > -DXS_VERSION=\"0.45_17\" -KPIC > -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE > -I/u/janarthp/ODBC/iODBC/include dbdimp.c > "dbdimp.c", line 2021: left operand of "->" must be pointer to > struct/union > cc: acomp failed for dbdimp.c > janarthp@sys1:/u/janarthp/DBD> > > > the 2021 line is " av = DBIc_DBISTATE(imp_sth)->get_fbav(imp_sth); " > The left operand is something called 'DBIc_DBISTATE(imp_sth)' . I was able > to go till this extent. > > my DBI version is 1.13 > > Help! > > thanks > Prassana > > > > > -----Original Message----- > From: Janarthanan, Prasanna > Sent: Wednesday, September 25, 2002 11:43 AM > To: Janarthanan, Prasanna; '[EMAIL PROTECTED]'; > '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' > Subject: RE: Problem installing DBD:ODBC(UnixODBC). > > > I couldn't make out the reason for this error at 'make' . > > Please help me out in installing this. > > thanks > Prassana > > > -----Original Message----- > From: Janarthanan, Prasanna > Sent: Tuesday, September 24, 2002 11:49 AM > To: 'Jeff Urlwin' > Cc: [EMAIL PROTECTED] > Subject: RE: Problem installing DBD:ODBC(UnixODBC). > > > Its fine.. > > i tried it ... errors are at dbdimp.c. > > ERROR > --------- > > janarthp@sys1:/u/janarthp/DBD> make > /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris > -I/usr/local/lib/perl5/5.6.1 -MExtUtils::Command -e mkpath > blib/lib/DBD/ODBC > rm -f blib/lib/DBD/ODBC/Changes.pm > cp Changes blib/lib/DBD/ODBC/Changes.pm > cp ODBC.pm blib/lib/DBD/ODBC.pm > /usr/local/bin/perl -p -e "s/~DRIVER~/ODBC/g" < > /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI/Driver.xst > > ODBC.xsi > /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris > -I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp > -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap ODBC.xs > ODBC.xsc && > mv ODBC.xsc ODBC.c > cc -c -I/u/janarthp/ODBC/unixODBC/include -I. > -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI > -I/usr/local/include -I/usr/include -I/usr/local/gnu/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.45_17\" > -DXS_VERSION=\"0.45_17\" -KPIC > -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE > -I/u/janarthp/ODBC/unixODBC/include ODBC.c > "ODBC.xs", line 232: warning: argument #1 is incompatible with prototype: > prototype: pointer to char : "/usr/include/iso/string_iso.h", line > 66 > argument : pointer to unsigned char > "ODBC.xs", line 252: warning: argument #1 is incompatible with prototype: > prototype: pointer to const char : > "/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/proto.h", line 550 > argument : pointer to unsigned char > cc -c -I/u/janarthp/ODBC/unixODBC/include -I. > -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI > -I/usr/local/include -I/usr/include -I/usr/local/gnu/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.45_17\" > -DXS_VERSION=\"0.45_17\" -KPIC > -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE > -I/u/janarthp/ODBC/unixODBC/include dbdimp.c > "dbdimp.c", line 131: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 138: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 171: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 181: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 193: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 209: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 282: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 329: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 330: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 419: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 433: warning: argument #3 is incompatible with prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sqlext.h", line 1711 > argument : pointer to char > "dbdimp.c", line 433: warning: argument #5 is incompatible with prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sqlext.h", line 1711 > argument : pointer to char > "dbdimp.c", line 451: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 487: warning: improper pointer/integer > combination: arg #5 > "dbdimp.c", line 491: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 496: warning: argument #2 is incompatible with prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sql.h", line 610 > > "dbdimp.c", line 2268: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2269: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2309: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2310: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2434: warning: assignment type mismatch: > pointer to unsigned char "=" pointer to char > "dbdimp.c", line 2444: warning: assignment type mismatch: > pointer to unsigned char "=" pointer to char > "dbdimp.c", line 2454: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2477: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2479: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2552: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2553: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2657: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2683: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2839: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2858: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2867: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 2970: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 3057: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 3178: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 3187: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 3190: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 3191: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 3193: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 3198: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 3199: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 3201: warning: argument #1 is incompatible with > prototype: > prototype: pointer to const char : > "/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/proto.h", line 550 > argument : pointer to unsigned char > "dbdimp.c", line 3244: warning: argument #2 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sql.h", line 677 > argument : pointer to char > "dbdimp.c", line 3386: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 3420: warning: argument #2 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sql.h", line 799 > argument : pointer to char > "dbdimp.c", line 3420: warning: argument #4 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sql.h", line 799 > argument : pointer to char > "dbdimp.c", line 3420: warning: argument #6 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sql.h", line 799 > argument : pointer to char > "dbdimp.c", line 3454: warning: argument #2 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sqlext.h", line 1903 > argument : pointer to char > "dbdimp.c", line 3454: warning: argument #4 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sqlext.h", line 1903 > argument : pointer to char > "dbdimp.c", line 3454: warning: argument #6 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sqlext.h", line 1903 > argument : pointer to char > "dbdimp.c", line 3456: warning: improper pointer/integer > combination: arg #1 > > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sql.h", line 792 > argument : pointer to char > "dbdimp.c", line 3494: warning: argument #5 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sql.h", line 792 > argument : pointer to char > "dbdimp.c", line 3494: warning: argument #7 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sql.h", line 792 > argument : pointer to char > "dbdimp.c", line 3534: warning: argument #2 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sqlext.h", line 1868 > argument : pointer to char > "dbdimp.c", line 3534: warning: argument #4 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sqlext.h", line 1868 > argument : pointer to char > "dbdimp.c", line 3534: warning: argument #6 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sqlext.h", line 1868 > argument : pointer to char > "dbdimp.c", line 3534: warning: argument #8 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sqlext.h", line 1868 > argument : pointer to char > "dbdimp.c", line 3534: warning: argument #10 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sqlext.h", line 1868 > argument : pointer to char > "dbdimp.c", line 3534: warning: argument #12 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sqlext.h", line 1868 > argument : pointer to char > "dbdimp.c", line 3545: warning: identifier redeclared: odbc_describe_col > current : function() returning int > previous: function(pointer to struct sv {pointer to void sv_any, > unsigned long sv_refcnt, unsigned long sv_flags}, int, pointer to char, > short, pointer to short, pointer to short, pointer to unsigned > long, pointer > to short, pointer to short) returning int : "./ODBC.h", line 23 > "dbdimp.c", line 3554: warning: Prototype mismatch in arg 4 for function > odbc_describe_col: > function : old style declaration short promoted to int > prototype: short > "dbdimp.c", line 3559: warning: argument #3 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sql.h", line 626 > argument : pointer to char > "dbdimp.c", line 3679: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 3685: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 3686: warning: improper pointer/integer > combination: arg #1 > "dbdimp.c", line 3752: warning: argument #2 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sql.h", line 603 > argument : pointer to char > "dbdimp.c", line 3752: warning: argument #4 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sql.h", line 603 > argument : pointer to char > "dbdimp.c", line 3752: warning: argument #6 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sql.h", line 603 > argument : pointer to char > "dbdimp.c", line 3752: warning: argument #8 is incompatible with > prototype: > prototype: pointer to unsigned char : > "/u/janarthp/ODBC/unixODBC/include/sql.h", line 603 > argument : pointer to char > "dbdimp.c", line 3756: warning: improper pointer/integer > combination: arg #1 > cc: acomp failed for dbdimp.c > *** Error code 2 > make: Fatal error: Command failed for target `dbdimp.o' > ---------- > > i guess this error is due to some imcompatibility. > > help! > > thanks > Prassana > > > > -----Original Message----- > From: Jeff Urlwin [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 12:27 AM > To: Janarthanan, Prasanna; 'Jeff Urlwin' > Cc: [EMAIL PROTECTED] > Subject: RE: Problem installing DBD:ODBC(UnixODBC). > > > Prasanna, > > 1) please always copy dbi-users. > 2) in Makefile, (not Makefile.PL) change: > # --- MakeMaker const_cccmd section: > CCCMD = $(CC) -c $(INC) $(CCFLAGS) $(OPTIMIZE) \ > $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \ > $(XS_DEFINE_VERSION) > > to: > # --- MakeMaker const_cccmd section: > CCCMD = $(CC) -c $(DEFINE) $(INC) $(CCFLAGS) $(OPTIMIZE) \ > $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \ > $(XS_DEFINE_VERSION) > > > This will make sure unixODBC comes first. Every time you run Makefile.PL, > you will have to perform this edit. I do not believe that changing > Makefile.PL in any way will help this. > > Regards, > > Jeff > > > -----Original Message----- > > From: Janarthanan, Prasanna [mailto:[EMAIL PROTECTED]] > > Sent: Monday, September 23, 2002 12:30 PM > > To: 'Jeff Urlwin' > > Subject: RE: Problem installing DBD:ODBC(UnixODBC). > > > > > > > > >You can edit the makefile directly to add a > -I/your/path/to/unixODBC (in > > >fact, that may be a good candidate to patch Makefile.PL > directly, to add > > >that "automatically", but it's certainly easier to patch that first. > > > > Which file i should add this. In MakeFile.PL ?? The 'MakeFile' > > generated after MakeFile.PL Has the location correctly as > > -I/u/janarthp/ODBC/unixODBC ( correct path to the unixODBC) > > Can u please have a look at my files? > > > > > > > You > > >will probably have to add your path to unixODBC libraries to your > > >LD_LIBRARY_PATH and to the linker path, too... > > > > This is already done. > > > > Jeff > > > > > -----Original Message----- > > > From: Janarthanan, Prasanna [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, September 23, 2002 11:20 AM > > > To: 'Jeff Urlwin' > > > Subject: RE: Problem installing DBD:ODBC(UnixODBC). > > > > > > > > > I understood. Is there anyother way to get rid of installing in > > > /usr/local/ > > > as iam not having permission over there. > > > Yes, there is a sqlext.h at my /usr/local/include. Can't i make > > it to get > > > the sqlext.h at $UNIXODBC/include? > > > > > > thanks > > > Prassana > > > > > > > > > -----Original Message----- > > > From: Jeff Urlwin [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, September 23, 2002 7:58 PM > > > To: Janarthanan, Prasanna; 'Jeff Urlwin'; [EMAIL PROTECTED] > > > Subject: RE: Problem installing DBD:ODBC(UnixODBC). > > > > > > > > > Prasanna, > > > > > > I'm not sure what's really happening other than there must be > > > some sqlext.h > > > in your /usr/include or /usr/local/include *before* it gets > to sqlext.h > > > that's defined by unixODBC. It looks as if it's not looking in > > > ODBCHOME...I > > > think, if you haven't, try *installing* unixODBC into > > > /usr/local/include and > > > that should do it. > > > > > > I clearly have the definition of > SQL_API_ODBC3_ALL_FUNCTIONS_SIZE in my > > > sqlext.h and I can make and test this under Linux with no > > problems, but I > > > have installed unixODBC into /usr/local... > > > > > > Regards, > > > > > > Jeff > > > > > > > > > > > Here is the complete perl MakeFile and make. > > > > > > > > Iam able to connect to the database using isql. > > > > ------- > > > > > > > > janarthp@sys1:/u/janarthp/DBD> perl Makefile.PL -o > > > > /u/janarthp/ODBC/unixODBC > > > > > > > > Configuring DBD::ODBC ... > > > > > > > > >>> Remember to actually *READ* the README file! > > > > And re-read it if you have any problems. > > > > > > > > Using DBI 1.21 installed in > > > > /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI > > > > Using ODBC in /u/janarthp/ODBC/unixODBC > > > > janarthp@sys1:/u/janarthp/DBD> perl Makefile.PL -o > > > > /u/janarthp/ODBC/unixODBC > > > > > > > > Configuring DBD::ODBC ... > > > > > > > > >>> Remember to actually *READ* the README file! > > > > And re-read it if you have any problems. > > > > > > > > Using DBI 1.21 installed in > > > > /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI > > > > Using ODBC in /u/janarthp/ODBC/unixODBC > > > > > > > > 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 /u/janarthp/ODBC/unixODBC/lib/libodbc.so library. in > $ODBCHOME/lib > > > > > > > > > > > > Using DBI 1.21 installed in > > > > /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI > > > > Writing Makefile for DBD::ODBC > > > > > > > > The DBD::ODBC tests will use these values for the database > connection: > > > > DBI_DSN=dbi:ODBC:sql_lite e.g. dbi:ODBC:demo > > > > DBI_USER=sa > > > > DBI_PASS= > > > > Warning: not all required environment variables are set. > > > > > > > > janarthp@sys1:/u/janarthp/DBD> make > > > > cc -c -I. > -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI > > > > -I/usr/local/include -I/usr/include -I/usr/local/gnu/include > > > > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O > -DVERSION=\"0.45_17\" > > > > -DXS_VERSION=\"0.45_17\" -KPIC > > > > -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE > > > > -I/u/janarthp/ODBC/unixODBC/include ODBC.c > > > > "ODBC.xs", line 172: undefined symbol: > > SQL_API_ODBC3_ALL_FUNCTIONS_SIZE > > > > "ODBC.xs", line 185: undefined symbol: SQL_API_ODBC3_ALL_FUNCTIONS > > > > "ODBC.xs", line 185: integral constant expression expected > > > > "ODBC.xs", line 232: warning: argument #1 is incompatible with > > > prototype: > > > > prototype: pointer to char : > > > "/usr/include/iso/string_iso.h", line > > > > 66 > > > > argument : pointer to unsigned char > > > > "ODBC.xs", line 252: warning: argument #1 is incompatible with > > > prototype: > > > > prototype: pointer to const char : > > > > "/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/proto.h", line 550 > > > > argument : pointer to unsigned char > > > > cc: acomp failed for ODBC.c > > > > *** Error code 2 > > > > make: Fatal error: Command failed for target `ODBC.o' > > > > janarthp@sys1:/u/janarthp/DBD> > > > > ------ > > > > > > > > Also i have all setenv correctly. > > > > ODBCINI, LD_LIBRARY_PATH > > > > > > > > > > > > help! > > > > > > > > thanks > > > > Prassana > > > > > > > > > > > > -----Original Message----- > > > > From: Jeff Urlwin [mailto:[EMAIL PROTECTED]] > > > > Sent: Monday, September 23, 2002 6:55 PM > > > > To: Janarthanan, Prasanna; [EMAIL PROTECTED]; > > [EMAIL PROTECTED] > > > > Subject: RE: Problem installing DBD:ODBC(UnixODBC). > > > > > > > > > > > > Please post the output of makeifle.pl and all of make. I > > > believe it's not > > > > properly picking up the unixODBC headers. > > > > > > > > regards, > > > > > > > > Jeff > > > > > > > > > -----Original Message----- > > > > > From: Janarthanan, Prasanna > [mailto:[EMAIL PROTECTED]] > > > > > Sent: Saturday, September 21, 2002 5:09 AM > > > > > To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' > > > > > Subject: Problem installing DBD:ODBC(UnixODBC). > > > > > > > > > > > > > > > hi, > > > > > > > > > > I now installed the unixODBC Driver manager and tested with > > isql. Its > > > > > working fine. Still get problem when running 'make' after > > > makeFile.PL of > > > > > DBD:ODBC. > > > > > > > > > > A piece of that error: > > > > > > > > > > "dbdimp.c", line 1232: warning: improper pointer/integer > > > > > combination: arg #1 > > > > > "dbdimp.c", line 1244: warning: improper pointer/integer > > > > > combination: arg #1 > > > > > "dbdimp.c", line 1259: undefined symbol: SQL_AM_STATEMENT > > > > > "dbdimp.c", line 1261: undefined symbol: SQL_ATTR_ASYNC_ENABLE > > > > > "dbdimp.c", line 1264: undefined symbol: SQL_IS_UINTEGER > > > > > "dbdimp.c", line 1310: undefined symbol: SQL_TYPE_DATE > > > > > "dbdimp.c", line 1310: integral constant expression expected > > > > > "dbdimp.c", line 1310: duplicate case in switch: 1 > > > > > "dbdimp.c", line 1312: undefined symbol: SQL_TYPE_TIME > > > > > "dbdimp.c", line 1312: integral constant expression expected > > > > > "dbdimp.c", line 1312: duplicate case in switch: 1 > > > > > "dbdimp.c", line 1314: undefined symbol: SQL_TYPE_TIMESTAMP > > > > > "dbdimp.c", line 1314: integral constant expression expected > > > > > "dbdimp.c", line 1314: duplicate case in switch: 1 > > > > > "dbdimp.c", line 1345: undefined symbol: SQL_C_TYPE_DATE > > > > > "dbdimp.c", line 1345: integral constant expression expected > > > > > "dbdimp.c", line 1345: duplicate case in switch: 1 > > > > > "dbdimp.c", line 1346: undefined symbol: SQL_C_TYPE_TIME > > > > > "dbdimp.c", line 1346: integral constant expression expected > > > > > "dbdimp.c", line 1346: duplicate case in switch: 1 > > > > > "dbdimp.c", line 1347: undefined symbol: SQL_C_TYPE_TIMESTAMP > > > > > "dbdimp.c", line 1347: integral constant expression expected > > > > > "dbdimp.c", line 1347: duplicate case in switch: 1 > > > > > > > > > > i installed > > > > > janarthp@sys1:/u/janarthp/ODBC/unixODBC/bin> odbcinst --version > > > > > unixODBC 2.2.3 > > > > > > > > > > > > > > > support! > > > > > > > > > > thanks > > > > > Prassana > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
