From: Jens V. <js...@gm...> - 2001-12-07 15:23:49
|
I tried to compile The Starsky OdbcJdbc Driver with SuSE Linux 7.3 (Kernel 2.4.10) but it failed with the Errors included below. Subdirectory IscDbc compiled without any errors. -Anyone has successfully build this Driver on Linux ? -What libraries are required to compile successfully ? I have unixODBC installed - What files should i get when compiling is successfully completed Documentation is so bad Can anyone help me ? ----------------- g++ -g -Wall -IIscDbc -I/opt/odbc/include -D_REENTRANT -D_PTHREADS -DEXTERN AL -c -o Test/SimpleTest.o Test/SimpleTest.cpp In file included from Test/SimpleTest.cpp:2: Test/Odbc.h:23: ANSI C++ forbids declaration `OdbcCheckCode' with no type Test/SimpleTest.cpp:22: warning: ANSI C++ forbids declaration `main' with no type Test/SimpleTest.cpp: In function `HDBC testConnect(const char *)': Test/SimpleTest.cpp:67: warning: converting NULL to non-pointer type Test/SimpleTest.cpp:70: warning: converting NULL to non-pointer type Test/SimpleTest.cpp:75: warning: converting NULL to non-pointer type Test/SimpleTest.cpp:80: warning: converting NULL to non-pointer type Test/SimpleTest.cpp:90: warning: converting NULL to non-pointer type Test/SimpleTest.cpp:94: warning: converting NULL to non-pointer type Test/SimpleTest.cpp:98: warning: converting NULL to non-pointer type Test/SimpleTest.cpp: In function `void test1(long int)': Test/SimpleTest.cpp:147: passing `const char *' as argument 8 of `SQLBindParameter(long int, short unsigned int, short int, short int, short int, long unsigned int, short int, void *, long int, SQLINTEGER *)' discards qualifiers Test/SimpleTest.cpp: In function `void test6(long int)': Test/SimpleTest.cpp:419: warning: int format, long int arg (arg 2) Test/SimpleTest.cpp: At top level: Test/SimpleTest.cpp:196: warning: `void test2(long int)' defined but not used Test/SimpleTest.cpp:214: warning: `void test3(long int)' defined but not used Test/SimpleTest.cpp:269: warning: `void test4(long int)' defined but not used Test/SimpleTest.cpp:351: warning: `void test5(long int)' defined but not used Test/SimpleTest.cpp:390: warning: `void test6(long int)' defined but not used Test/SimpleTest.cpp:520: warning: `void test8(long int)' defined but not used make: *** [Test/SimpleTest.o] Error 1 ------ |