Issue Details (XML | Word | Printable)

Key: ODBC-123
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Alexander Potapchenko
Reporter: Martin J. Evans
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ODBC Driver

Fails to compile on Ubuntu 10.10

Created: 12/May/11 03:43 PM   Updated: 26/Jan/14 12:10 PM
Component/s: None
Affects Version/s: 2.0
Fix Version/s: 2.0.3

Environment:
Linux Ubuntu 10.10
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
OdbcFb-Source-2.0.0151.tar.gz


 Description  « Hide
g++ -m32 -DNDEBUG -c ../../Main.cpp -o Release_i686/obj/Main.o
../../Main.cpp: In function 'SQLRETURN SQLError(void*, void*, void*, SQLCHAR*, SQLINTEGER*, SQLCHAR*, SQLSMALLINT, SQLSMALLINT*)':
../../Main.cpp:300: error: invalid conversion from 'SQLINTEGER*' to 'int*'
../../Main.cpp:300: error: initializing argument 2 of 'virtual SQLRETURN OdbcJdbcLibrary::OdbcObject::sqlError(UCHAR*, int*, UCHAR*, int, SWORD*)'
../../Main.cpp:306: error: invalid conversion from 'SQLINTEGER*' to 'int*'
../../Main.cpp:306: error: initializing argument 2 of 'virtual SQLRETURN OdbcJdbcLibrary::OdbcObject::sqlError(UCHAR*, int*, UCHAR*, int, SWORD*)'
../../Main.cpp:310: error: invalid conversion from 'SQLINTEGER*' to 'int*'
../../Main.cpp:310: error: initializing argument 2 of 'virtual SQLRETURN OdbcJdbcLibrary::OdbcObject::sqlError(UCHAR*, int*, UCHAR*, int, SWORD*)'
make: *** [Release_i686/obj/Main.o] Error 1


 All   Comments   Change History   Subversion Commits      Sort Order: Descending order - Click to sort in ascending order
Popa Adrian Marius added a comment - 24/Jan/14 10:55 AM
This can be closed

Ubuntu 10.10 is unsuported

I have tested on my ubuntu 13.10 and all compiles

http://www.firebirdsql.org/en/odbc-driver/

export FIREBIRD=/usr

cd Downloads  odbcfb  Builds  Gcc.lin

make -f makefile.linux
../makefile.environ:12: ARCH is x86_64
../makefile.environ:27: ODBCMANAGER is unixODBC in /usr/lib64
../makefile.environ:56: FBINCDIR is /usr/include
../makefile.environ:62: FBLIBDIR is /usr/lib