Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to compile on Ubuntu 10.10 [ODBC123] #120

Closed
firebird-issue-importer opened this issue May 12, 2011 · 3 comments
Closed

Fails to compile on Ubuntu 10.10 [ODBC123] #120

firebird-issue-importer opened this issue May 12, 2011 · 3 comments

Comments

@firebird-issue-importer

Submitted by: Martin J. Evans (bohica)

Votes: 1

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 12, 2011

Modified by: @alexpotapchenko

assignee: Alexander Potapchenko [ lightfore ] =>

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 24, 2014

Commented by: @mariuz

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 26, 2014

Modified by: @alexpotapchenko

status: Open [ 1 ] => Closed [ 6 ]

resolution: Won't Fix [ 2 ]

Fix Version: 2.0.3 [ 10581 ]

assignee: Alexander Potapchenko [ lightfore ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants