diff -Naur ibpp.orig/Makefile ibpp/Makefile --- ibpp.orig/Makefile 2004-09-27 14:08:44.000000000 +0200 +++ ibpp/Makefile 2004-10-25 22:53:52.000000000 +0200 @@ -164,7 +164,7 @@ # building on linux (any flavour, I suppose) ifeq ($(PLATFORM),linux) CXXOUTPUT = -o - CXXFLAGS =-DIBPP_LINUX + CXXFLAGS =-DIBPP_LINUX -fPIC CXXFLAGS+=-DIBPP_GCC CXXFLAGS+=-I./ -I./fbheaders # diff -Naur ibpp.orig/array.cpp ibpp/array.cpp --- ibpp.orig/array.cpp 2004-09-23 17:34:08.000000000 +0200 +++ ibpp/array.cpp 2004-10-25 22:51:01.000000000 +0200 @@ -289,7 +289,7 @@ throw ExceptionImpl("Array::ReadTo", "Wrong count of array elements"); IBS status; - long lenbuf = mBufferSize; + ISC_LONG lenbuf = mBufferSize; (*gds.Call()->m_array_get_slice)(status.Self(), mDatabase->GetHandlePtr(), mTransaction->GetHandlePtr(), &mId, &mDesc, mBuffer, &lenbuf); if (status.Errors()) @@ -1088,7 +1088,7 @@ } IBS status; - long lenbuf = mBufferSize; + ISC_LONG lenbuf = mBufferSize; (*gds.Call()->m_array_put_slice)(status.Self(), mDatabase->GetHandlePtr(), mTransaction->GetHandlePtr(), &mId, &mDesc, mBuffer, &lenbuf); if (status.Errors())