[bt-devel] Build problem - parse error

Martin Gruner bt-devel@crosswire.org
Fri, 22 Mar 2002 13:53:18 +0100


Given that you cvs is recent, it should work. Try

make distclean; usrinst.sh

Martin


Am Freitag, 22. März 2002 13:45 schrieben Sie:
> Sword build this morning CVS of 22 March AM ended with a problem when
> building /.
> Does this look like a problem on my end or a problem with the code.  I dont
> thing it would have gotten this far if the make command was wrong.
>
> Fred Saalbach
>
> make[2]: Leaving directory `/home/fks00/Develop/cvs_repository/sword/lib'
> Making all in .
> make[2]: Entering directory `/home/fks00/Develop/cvs_repository/sword'
> source='testlib.cpp' object='testlib.o' libtool=no \
> depfile='.deps/testlib.Po' tmpdepfile='.deps/testlib.TPo' \
> depmode=gcc3 /bin/sh ./depcomp \
> g++ -DHAVE_CONFIG_H -I. -I. -I. -I ./include    -g -O2 -c -o testlib.o
> `test -f testlib.cpp || echo './'`testlib.cpp
> /bin/sh ./libtool --mode=link g++  -g -O2   -o testlib  testlib.o -Llib
> -lsword -lstdc++ -lz
> g++ -g -O2 -o .libs/testlib testlib.o
> -L/home/fks00/Develop/cvs_repository/sword/lib
> /home/fks00/Develop/cvs_repository/sword/lib/.libs/libsword.so -lstdc++ -lz
> -Wl,--rpath -Wl,/usr/local/lib
> /home/fks00/Develop/cvs_repository/sword/lib/.libs/libsword.so: undefined
> reference to `SWCacher type_info node'
> /home/fks00/Develop/cvs_repository/sword/lib/.libs/libsword.so: undefined
> reference to `SWCacher::flush(void)'
> /home/fks00/Develop/cvs_repository/sword/lib/.libs/libsword.so: undefined
> reference to `SWCacher::lastAccess(void)'
> /home/fks00/Develop/cvs_repository/sword/lib/.libs/libsword.so: undefined
> reference to `SWCacher type_info function'
> /home/fks00/Develop/cvs_repository/sword/lib/.libs/libsword.so: undefined
> reference to `GreekLexAttribs::GreekLexAttribs(void)'
> /home/fks00/Develop/cvs_repository/sword/lib/.libs/libsword.so: undefined
> reference to `SWCacher::~SWCacher(void)'
> /home/fks00/Develop/cvs_repository/sword/lib/.libs/libsword.so: undefined
> reference to `SWCacher::SWCacher(void)'
> /home/fks00/Develop/cvs_repository/sword/lib/.libs/libsword.so: undefined
> reference to `SWCacher::resourceConsumption(void)'
> collect2: ld returned 1 exit status
> make[2]: *** [testlib] Error 1
> make[2]: Leaving directory `/home/fks00/Develop/cvs_repository/sword'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/fks00/Develop/cvs_repository/sword'
> make: *** [all] Error 2
> [fks00@localhost sword]$
>
> Brook Humphrey wrote:
> > On Thursday 21 March 2002 04:35 am, you wrote:
> > > Hi!
> > >
> > > > Bibletime still won't build, but not the same problem as last time -
> > > > Distribution is Mandrake 8.1.  CVS about 4PM EST.
> > >
> > > Please update your BibleTime and Sword CVS. I think it was a bug in
> > > BibleTime's code. Please test again. If it doesn't work please post
> > > again.
> > >
> > > Which GCC does Mandrake 8.1 use?
> > >
> > > Joachim
> >
> > It has 2.96 as the default but you can install 3 along with and select
> > which one to use at compile time. I'm not sure how to do this but I know
> > it can be done.
> > --
> > 
> > -~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`
> >'~- Brook Humphrey
> >         Mobile PC Medic, 420 1st, Cheney, WA 99004, 509-235-9107
> > http://www.webmedic.net, bah@webmedic.net, bah@linux-mandrake.com
> >                                  Holiness unto the Lord
> > 
> > -~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`
> >'~-