dynamobi/dynamobi — Issue #156: [LDB-166] Building LucidDB
Author: dynamobi-build
Created: 2011-12-30 02:17:22+00:00
State: open
Labels: Build, LDB

[reporter="srinivasan", created="Fri, 31 Aug 2007 02:03:21 -0500 (GMT-05:00)"]
I am trying to build LucidDB from its source and is having the following problem.

g++ version used is 4.1.2

//last few lines

ar cru .libs/libsynch.a .libs/SynchMonitoredObject.o .libs/GroupLock.o .libs/StatsTimer.o .libs/SynchObj.o .libs/SXMutex.o .libs/Thread.o .libs/ThreadPool.o .li

bs/TimerThread.o

ranlib .libs/libsynch.a

creating libsynch.la

(cd .libs && rm -f libsynch.la && ln -s ../libsynch.la libsynch.la)

make[2]: Leaving directory `/home/test/evaluate/luciddb-0.7.0/src/eigenbase-src-0.7.0/fennel/synch'

Making all in device

make[2]: Entering directory `/home/test/evaluate/luciddb-0.7.0/src/eigenbase-src-0.7.0/fennel/device'

if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/test/evaluate/luciddb-0.7.0/src/eigenbase-src-0.7.0/fennel/../thirdparty/stlport/s

tlport -I/home/test/evaluate/luciddb-0.7.0/src/eigenbase-src-0.7.0/fennel/../thirdparty/boost -I.. -I../.. -pipe -ftemplate-depth-64 -Wall -Wno-unused-parameter -Wno-sign-compare -Werror -D_REENTRANT -D_STLP_USE_DYNAMIC_LIB=1 -D_STLP_NO_ANACHRONISMS=1 -DBOOST_NO_HASH=1 -DLITTLEENDIAN -D_STLP_DEBUG=1 -D_STLP_DEBUG_UNINITIALIZED=1 -DDEBUG -g -MT AioPollingScheduler.lo -MD -MP -MF ".deps/AioPollingScheduler.Tpo" -c -o AioPollingScheduler.lo AioPollingScheduler.cpp; \

then mv -f ".deps/AioPollingScheduler.Tpo" ".deps/AioPollingScheduler.Plo"; else

rm -f ".deps/AioPollingScheduler.Tpo"; exit 1; fi

mkdir .libs

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/test/evaluate/luciddb-0.7.0/src/eigenbase-src-0.7.0/fennel/../thirdparty/stlport/stlport -I/home/test/evaluate/luciddb

-0.7.0/src/eigenbase-src-0.7.0/fennel/../thirdparty/boost -I.. -I../.. -pipe -ftemplate-depth-64 -Wall -Wno-unused-parameter -Wno-sign-compare -Werror -D_REENTRANT -D_STLP_USE_DYNAMIC_LIB=1 -D_STLP_NO_ANACHRONISMS=1 -DBOOST_NO_HASH=1 -DLITTLEENDIAN -D_STLP_DEBUG=1 -D_STLP_DEBUG_UNINITIALIZED=1 -DDEBUG -g -MT AioPollingScheduler.lo -MD -MP -MF .deps/AioPollingScheduler.Tpo -c AioPollingScheduler.cp

p -fPIC -DPIC -o .libs/AioPollingScheduler.o 1003,199%

/usr/include/libaio.h: In function 'void io_set_callback(iocb*, void (*)(io_context*, iocb*, long int, long int))':

/usr/include/libaio.h:138: error: invalid conversion from 'void (*)(io_context*, iocb*, long int, long int)' to 'void*' 1006,199%

make[2]: *** [AioPollingScheduler.lo] Error 1

make[2]: Leaving directory `/home/test/evaluate/luciddb-0.7.0/src/eigenbase-src-0.7.0/fennel/device'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/test/evaluate/luciddb-0.7.0/src/eigenbase-src-0.7.0/fennel'

make: *** [all] Error 2

- Srini.