[sword-devel] mcount error on compile

Greg Hellings greg.hellings at gmail.com
Sat Jan 13 18:24:27 MST 2007


I would imagine that is the case.  From everything I've seen and
experienced they work without Lucene.

--Greg

On 1/13/07, kevin creason <ckevinj at gmail.com> wrote:
> Thanks, Greg.
>
> I was under the impression that lucene assisted with searches by making
> indexes.
> Do searches work without lucene, just have no indexes for speeding it up?
>
>
> On 1/13/07, Greg Hellings <greg.hellings at gmail.com> wrote:
> > Welcome, Kevin!
> >
> > I'm not a Lucene user, advocate or expert, neither do I pretend to
> > know what lucene is and does.  However, judging from the error
> > message, this appears that there is a problem with lucene itself and
> > not with sword.  Unless someone else on here disagrees, you might want
> > to try tracking down the problem with the Lucene people.  Cheers!
> >
> > --Greg
> >
> > On 1/13/07, kevin creason < ckevinj at gmail.com> wrote:
> > > Hi guys-
> > > I'm new to sword-- but glad to be on board.
> > >
> > > I have a wonderful Sun blade that I'm trying to compile sword on and
> have
> > > been having a few issues.
> > >
> > > I actually was able to compile without lucene and icu, but the lucene
> sounds
> > > very useful so I'm trying to recompile now that I've compiled clucene.
> > >
> > > I assume I've gone about this the right way...
> > >
> > > the error is:
> > > Undefined                       first referenced
> > >  symbol                             in file
> > > _mcount
> > > /opt/csw//lib/libclucene.so
> > >
> > > And it happens here:
> > > creating libsword.la
> > > (cd .libs && rm -f libsword.la && ln -s ../libsword.la libsword.la)
> > > gmake[1]: Leaving directory
> > > `/home/kevin/temp/biblesw/sword-1.5.9/lib'
> > > Making all in .
> > > gmake[1]: Entering directory
> > > `/home/kevin/temp/biblesw/sword-1.5.9'
> > > g++ -DHAVE_CONFIG_H -I. -I. -I./include  -I ./include
> > > -I/home/kevin/temp/biblesw/clucene- core-0.9.16a/src
> > > -I/opt/csw/lib -L/opt/csw/lib -g3 -O0 -DCURLAVAILABLE -DUSELUCENE  -c -o
> > > buildtest.o buildtest.cpp
> > > /bin/bash ./libtool --mode=link g++ -g3 -O0 -DCURLAVAILABLE -DUSELUCENE
> > > -I/home/kevin/temp/biblesw/clucene- core-0.9.16a/src
> > > -I/opt/csw/lib -L/opt/csw/lib -o buildtest  buildtest.o
> ./lib/libsword.la
> > > -lz  -lclucene
> > > mkdir .libs
> > > g++ -g3 -O0 -DCURLAVAILABLE -DUSELUCENE
> > > -I/home/kevin/temp/biblesw/clucene-core-0.9.16a/src
> > > -I/opt/csw/lib -o .libs/buildtest buildtest.o  -L/opt/csw/lib
> > > ./lib/.libs/libsword.so -lcurl /opt/csw/lib/libidn.so
> > > /opt/csw/lib/libiconv.so -lssl -lcrypto -ldl -lsocket -lnsl
> > > -L/opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/../.. -lz
> > > /opt/csw//lib/libclucene.so -lrt /opt/csw/gcc3/lib/libstdc++.so
> > > -L/usr/ccs/bin -Wl,-R -Wl,/opt/csw/lib -Wl,-R -Wl,/opt/csw//lib -Wl,-R
> > > -Wl,/opt/csw/gcc3/lib
> > > ld: warning: file /opt/csw/lib/libstdc++.so: linked to
> > > /opt/csw/gcc3/lib/libstdc++.so: attempted multiple inclusion of file
> > > Undefined                       first referenced
> > >  symbol                             in file
> > > _mcount
> > > /opt/csw//lib/libclucene.so
> > > ld: fatal: Symbol referencing errors. No output written to
> .libs/buildtest
> > > collect2: ld returned 1 exit status
> > > gmake[1]: *** [buildtest] Error 1
> > > gmake[1]: Leaving directory
> > > `/home/kevin/temp/biblesw/sword-1.5.9'
> > > gmake: *** [all-recursive] Error 1
> > >
> > >
> > > Here is my sword configuration options:
> > > ./configure \
> > > CC=/opt/csw/gcc3/bin/gcc
> > > CFLAGS="-I/home/kevin/temp/biblesw/clucene-
> > > core-0.9.16a/src -I/opt/csw/lib -L/opt/csw/lib" \
> > >
> LDFLAGS="-I/home/kevin/temp/biblesw/clucene-core-0.9.16a/src
> > > -I/opt/csw/lib -L/opt/csw/lib" \
> > >
> CPPFLAGS="-I/home/kevin/temp/biblesw/clucene-core-0.9.16a
> > > /src -I/opt/csw/lib -L/opt/csw/lib" \
> > >   --prefix=/opt/csw \
> > >   --disable-dependency-tracking \
> > >   --enable-shared \
> > >   --enable-static \
> > >   --disable-libtool-lock \
> > >   --enable-debug \
> > >   --enable-utilities \
> > >   --with-gnu-ld \
> > >   --with-zlib \
> > >   --with-lucene \
> > >   --with-conf
> > >
> > >
> > > And my lucene config options:
> > > ./configure CC=/opt/csw/gcc3/bin/gcc \
> > >   --prefix=/opt/csw/ \
> > >   --enable-debug \
> > >   --enable-gprof \
> > >   --with-gnu-ld
> > >
> > >
> > > Any ideas?
> > >
> > > Thanks!
> > >
> > > -Kevin
> > >
> > >
> > > _______________________________________________
> > > sword-devel mailing list: sword-devel at crosswire.org
> > > http://www.crosswire.org/mailman/listinfo/sword-devel
> > > Instructions to unsubscribe/change your settings at above page
> > >
> > >
> >
> > _______________________________________________
> > sword-devel mailing list: sword-devel at crosswire.org
> > http://www.crosswire.org/mailman/listinfo/sword-devel
> > Instructions to unsubscribe/change your settings at above page
> >
>
>
>
> --
> -Kevin
> Find me in Google Earth: 29.517567 -95.059033
> Admit your errors before someone else exaggerates them. - Andrew V. Mason
> DMC # 00110000 00110100 00110110 00111000 00110111
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
>



More information about the sword-devel mailing list