libbats-2.0 compilation failure Ubuntu 9.04

Asked by Saminda Abeyruwan

I compiled the latest libbats with the required the libraries. I get the following error in Ubuntu 9.04. How can I fix the build.

~/projects/lgb/2.0/libbats-2.0$ make
Making all in docs
make[1]: Entering directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs'
Making all in manual
make[2]: Entering directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs/manual'
make libbatsmanual.pdf
make[3]: Entering directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs/manual'
make[3]: Nothing to be done for `libbatsmanual.pdf'.
make[3]: Leaving directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs/manual'
make[2]: Leaving directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs/manual'
make[2]: Entering directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs'
make[1]: Leaving directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs'
Making all in .
make[1]: Entering directory `/home/sam/projects/lgb/2.0/libbats-2.0'
depbase=`echo AST/find.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
 /bin/bash ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libbats\" -DPACKAGE_TARNAME=\"libbats\" -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"libbats\ 2.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libbats\" -DVERSION=\"2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SYS_SELECT_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_EIGEN2_EIGEN_CORE=1 -I. -Wall -O2 -DDATADIR="/usr/local/share/libbats" -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/eigen2 -g -O2 -MT AST/find.lo -MD -MP -MF $depbase.Tpo -c -o AST/find.lo AST/find.cc &&\
 mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DPACKAGE_NAME=\"libbats\" -DPACKAGE_TARNAME=\"libbats\" -DPACKAGE_VERSION=\"2.0\" "-DPACKAGE_STRING=\"libbats 2.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libbats\" -DVERSION=\"2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SYS_SELECT_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_EIGEN2_EIGEN_CORE=1 -I. -Wall -O2 -DDATADIR=/usr/local/share/libbats -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/eigen2 -g -O2 -MT AST/find.lo -MD -MP -MF AST/.deps/find.Tpo -c AST/find.cc -fPIC -DPIC -o AST/.libs/find.o
AST/find.cc:1:18: error: ast.ih: No such file or directory
AST/find.cc:3: error: expected constructor, destructor, or type conversion before ‘<’ token
make[1]: *** [AST/find.lo] Error 1
make[1]: Leaving directory `/home/sam/projects/lgb/2.0/libbats-2.0'
make: *** [all-recursive] Error 1

Question information

Language:
English Edit question
Status:
Answered
For:
littlegreenbats Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ali Ahmadi (aliahmadi67) said :
#1

I have the same problem!
how to solve it?

Revision history for this message
Ali Ahmadi (aliahmadi67) said :
#2

downloading the new libbats file solves my problem!

Can you help with this problem?

Provide an answer of your own, or ask Saminda Abeyruwan for more information if necessary.

To post a message you must log in.