Post Reply 
bfilter 1.1 does not compile
Aug. 14, 2007, 12:14 PM
Post: #1
bfilter 1.1 does not compile
hi.

i got this error when i try to compile bfilter 1.1 (on linux)
[...]
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DNDEBUG -march=i686 -mtune=native -O2 -pipe -pthread -MT SynchFactory.lo -MD -MP -MF .deps/SynchFactory.Tpo -c SynchFactory.cpp -o SynchFactory.o
In file included from /usr/include/ace/OS_NS_sys_time.h:66,
from /usr/include/ace/OS_NS_Thread.inl:10,
from /usr/include/ace/OS_NS_Thread.h:2167,
from /usr/include/ace/Event.h:26,
from /usr/include/ace/Auto_Event.h:26,
from /usr/include/ace/Synch.h:31,
from SynchFactory.cpp:28:
/usr/include/ace/os_include/sys/os_time.h: In function 'ACE_Time_Value ACE_OS::gettimeofday()':
/usr/include/ace/os_include/sys/os_time.h:50: error: too few arguments to function 'int gettimeofday(timeval*, timezone*)'
/usr/include/ace/OS_NS_sys_time.inl:81: error: at this point in file
make[2]: *** [SynchFactory.lo] Error 1
make[2]: Leaving directory `/home/solstice/abs/bfilter/src/bfilter-1.1/foundation'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/solstice/abs/bfilter/src/bfilter-1.1'
make: *** [all] Error 2

i use ACE 5.5
g++ 4.2.1
Quote this message in a reply
Aug. 14, 2007, 02:20 PM
Post: #2
RE: bfilter 1.1 does not compile
Looks like a bug in ACE, although I can't be sure. Can you try a newer version of ACE? The latest is 5.5.10, which they call beta, but in fact it should be more stable than 5.5
Add Thank You Quote this message in a reply
Aug. 14, 2007, 02:52 PM
Post: #3
RE: bfilter 1.1 does not compile
yes i thought of that. a bug in ACE or more specifically a bug in their headers.

i am compiling ACE 5.5.10. it will take some time. i will report after compilation is finished
Quote this message in a reply
Aug. 14, 2007, 09:03 PM
Post: #4
RE: bfilter 1.1 does not compile
ok. so it compiles fine now.

bfilter is running fine.
Quote this message in a reply
Post Reply 


Forum Jump: