Re: [Ekiga-list] ptlib failing to build



I am getting the same error but I have libiodbc installed so it must
have the same header.

CuZnDragon
Robin Cook

On Sun, 2008-11-30 at 16:31 -0600, George Sherwood wrote: 
> Recently ptlib 2.4.2 started to fail to build with this error:
> 
> make[1]: Entering directory `/usr/src/ptlib-2.4.2'
> make[1]: Leaving directory `/usr/src/ptlib-2.4.2'
> set -e; if test -e src ; then /usr/bin/make -C src optshared; fi;  if test -e plugins ; then /usr/bin/make -C plugins optshared; fi; 
> make[1]: Entering directory `/usr/src/ptlib-2.4.2/src'
> /usr/bin/make DEBUG= P_SHAREDLIB=1 default_target
> make[2]: Entering directory `/usr/src/ptlib-2.4.2/src'
> g++ -DPTRACING=1 -D_REENTRANT      -fno-exceptions  -Wall  -fPIC -DPIC -DNDEBUG -I/usr/src/ptlib-2.4.2/include -Os  -march=pentium4 -pipe -Os -felide-constructors -Wreorder  -c ptclib/pssl.cxx -o /usr/src/ptlib-2.4.2/lib_linux_x86/obj/pssl.o
> g++ -DPTRACING=1 -D_REENTRANT      -fno-exceptions  -Wall  -fPIC -DPIC -DNDEBUG -I/usr/src/ptlib-2.4.2/include -Os  -march=pentium4 -pipe -Os -felide-constructors -Wreorder  -c ptclib/podbc.cxx -o /usr/src/ptlib-2.4.2/lib_linux_x86/obj/podbc.o
> make[2]: Leaving directory `/usr/src/ptlib-2.4.2/src'
> make[1]: Leaving directory `/usr/src/ptlib-2.4.2/src'
> In file included from /usr/src/ptlib-2.4.2/include/ptclib/podbc.h:105,
>                  from ptclib/podbc.cxx:40:
> /usr/include/sqlext.h:2111: error: 'BOOL' does not name a type
> ptclib/podbc.cxx: In member function 'PBoolean PODBCRecord::IsColumnUpdatable(PINDEX)':
> ptclib/podbc.cxx:1534: error: cannot convert 'SWORD*' to 'SQLINTEGER*' for argument '7' to 'SQLRETURN SQLColAttribute(void*, SQLUSMALLINT, SQLUSMALLINT, void*, SQLSMALLINT, SQLSMALLINT*, SQLINTEGER*)'
> ptclib/podbc.cxx: In member function 'PBoolean PODBCRecord::IsColumnAutoIndex(PINDEX)':
> ptclib/podbc.cxx:1548: error: cannot convert 'SWORD*' to 'SQLINTEGER*' for argument '7' to 'SQLRETURN SQLColAttribute(void*, SQLUSMALLINT, SQLUSMALLINT, void*, SQLSMALLINT, SQLSMALLINT*, SQLINTEGER*)'
> ptclib/podbc.cxx: In member function 'unsigned int PODBCRecord::ColumnPrecision(PINDEX)':
> ptclib/podbc.cxx:1561: error: cannot convert 'SWORD*' to 'SQLINTEGER*' for argument '7' to 'SQLRETURN SQLColAttribute(void*, SQLUSMALLINT, SQLUSMALLINT, void*, SQLSMALLINT, SQLSMALLINT*, SQLINTEGER*)'
> make[2]: *** [/usr/src/ptlib-2.4.2/lib_linux_x86/obj/podbc.o] Error 1
> make[1]: *** [optshared] Error 2
> make: *** [optshared] Error 2
> 
> 
> The include /usr/include/sqlext.h:2111 is from unixodbc 2.2.13.  I am
> fairly sure that I had unixodbc installed before when ptlib was
> building fine.  It might have been updated since that time.  I
> removed unixodbc and ptlib built fine.
> 
> Any way to make these co-exist?
> 
> George
> 
> _______________________________________________
> ekiga-list mailing list
> ekiga-list gnome org
> http://mail.gnome.org/mailman/listinfo/ekiga-list

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]