Greetings
I am trying to build ptlib-2.10.10 as per the blfs instructuons
( http://www.linuxfromscratch.org/blfs/view/svn/general/ptlib.html )
on a machine with these:-
---cpu -amd64
---os-blfs linux-3.10.17, gcc-4.8.1
make ends like so:-
#-----------------------------------------------
In file included from /usr/include/sql.h:89:0,
from /usr/include/odbcinst.h:88,
from /home/linteg/ptlib-2.10.10/include/ptclib/podbc.h:100,
from ptclib/podbc.cxx:39:
/usr/include/sqltypes.h:214:19: error: conflicting declaration 'typedef long
int SDWORD'
typedef long int SDWORD;
^
In file included from /home/linteg/ptlib-2.10.10/include/ptlib/object.h:44:0,
from /home/linteg/ptlib-2.10.10/include/ptlib/psync.h:43,
from /home/linteg/ptlib-2.10.10/include/ptlib/critsec.h:34,
from /home/linteg/ptlib-2.10.10/include/ptlib/contain.h:42,
from /home/linteg/ptlib-2.10.10/include/ptlib.h:56,
from ptclib/podbc.cxx:35:
/home/linteg/ptlib-2.10.10/include/ptlib/unix/ptlib/contain.h:108:33: error:
'SDWORD' has a previous declaration as 'typedef int32_t SDWORD'
typedef int32_t SDWORD;
^
In file included from /usr/include/sql.h:89:0,
from /usr/include/odbcinst.h:88,
from /home/linteg/ptlib-2.10.10/include/ptclib/podbc.h:100,
from ptclib/podbc.cxx:39:
/usr/include/sqltypes.h:215:27: error: conflicting declaration 'typedef long
unsigned int UDWORD'
typedef unsigned long int UDWORD;
^
In file included from /home/linteg/ptlib-2.10.10/include/ptlib/object.h:44:0,
from /home/linteg/ptlib-2.10.10/include/ptlib/psync.h:43,
from /home/linteg/ptlib-2.10.10/include/ptlib/critsec.h:34,
from /home/linteg/ptlib-2.10.10/include/ptlib/contain.h:42,
from /home/linteg/ptlib-2.10.10/include/ptlib.h:56,
from ptclib/podbc.cxx:35:
/home/linteg/ptlib-2.10.10/include/ptlib/unix/ptlib/contain.h:109:33: error:
'UDWORD' has a previous declaration as 'typedef uint32_t UDWORD'
typedef uint32_t UDWORD;
^
ptclib/podbc.cxx: In member function 'void PODBCRecord::Data(PINDEX,
PODBC::Field&)':
ptclib/podbc.cxx:1331:72: warning: cast to pointer from integer of different
size [-Wint-to-pointer-cast]
SQLBindCol(m_hStmt, Column, SQL_LONGVARCHAR,
(SQLPOINTER)Column, 0, &b.dataLen);
^
make[2]: *** [/home/linteg/ptlib-2.10.10/lib_linux_x86_64/obj/podbc.o] Error 1
make[2]: Leaving directory `/home/linteg/ptlib-2.10.10/src'
make[1]: *** [optshared] Error 2
make[1]: Leaving directory `/home/linteg/ptlib-2.10.10/src'
make: *** [optshared] Error 2
#----------------------------------------------
help/advice would be appreciated
sincerely
luxInteg
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page