[ wxwindows-Bugs-1592325 ] odbc does not compile on linux (2.7.2)

SourceForge.net noreply at sourceforge.net
Tue Nov 7 15:29:30 PST 2006


Bugs item #1592325, was opened at 2006-11-08 01:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1592325&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build -- unix
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Laumingis Skripkauskas (laumingis)
Assigned to: Nobody/Anonymous (nobody)
Summary: odbc does not compile on linux (2.7.2)

Initial Comment:
../configure --with-odbc
make

fails there:
./bk-deps g++ -c -o coredll_displayx11.o
-I.pch/wxprec_coredll -D__WXGTK__           
-DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -fPIC
-DPIC -DWX_PRECOMP -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_IODBC_
-I/Duomenys/Programos/wx/2.7.2/wxWidgets-2.7.2/build_test/lib/wx/include/gtk2-ansi-release-2.7
-I../include -pthread -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12
-pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2
-fno-strict-aliasing -m32 ../src/unix/displayx11.cpp
/usr/include/X11/Xmd.h:162: error: conflicting
declaration ‘typedef CARD8 BOOL’
/usr/include/iodbcunix.h:136: error: ‘BOOL’ has a
previous declaration as ‘typedef int BOOL’
make: *** [coredll_displayx11.o] Error 1



wxWidgets 2.7.2 (the same problem is with 2.7.1)
OS: debian linux testing, i386
libiodbc2-dev  3.52.4-3
x11proto-core-dev (7.0.7-2): usr/include/X11/Xmd.h

gcc (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)


If i use unixodbc-dev 2.2.11-13, 2.7.1 used to fail
with some other error (but I used more configuration
parameters). Without any *odbc-dev I am unable to
compile either.

I have no time for more testing right now, but could
take a deeper look on weekend if it is needed

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1592325&group_id=9863




More information about the wx-dev mailing list