So, did you ever get this thing figured out?<br><br>-DJ<br><br><br><div><span class="gmail_quote">On 1/13/07, <b class="gmail_sendername">kevin creason</b> <<a href="mailto:ckevinj@gmail.com">ckevinj@gmail.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi guys-<br>I'm new to sword-- but glad to be on board.<br><br>I have a wonderful Sun blade that I'm trying to compile sword on and have been having a few issues.
<br><br>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.
<br><br>I assume I've gone about this the right way...<br><br>the error is:<br>Undefined first referenced<br> symbol in file<br>_mcount /opt/csw//lib/libclucene.so
<br><br>And it happens here:<br>creating <a href="http://libsword.la" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">libsword.la</a><br>(cd .libs && rm -f <a href="http://libsword.la" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
libsword.la</a> && ln -s ../libsword.la <a href="http://libsword.la" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
libsword.la</a>)<br>gmake[1]: Leaving directory `/home/kevin/temp/biblesw/sword-1.5.9/lib'<br>Making all in .<br>gmake[1]: Entering directory `/home/kevin/temp/biblesw/sword-1.5.9'<br>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<br>/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<br>mkdir .libs<br>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
<br>ld: warning: file /opt/csw/lib/libstdc++.so: linked to /opt/csw/gcc3/lib/libstdc++.so: attempted multiple inclusion of file<br>Undefined first referenced<br> symbol in file
<br>_mcount /opt/csw//lib/libclucene.so<br>ld: fatal: Symbol referencing errors. No output written to .libs/buildtest<br>collect2: ld returned 1 exit status<br>gmake[1]: *** [buildtest] Error 1
<br>gmake[1]: Leaving directory `/home/kevin/temp/biblesw/sword-1.5.9'<br>gmake: *** [all-recursive] Error 1<br><br><br>Here is my sword configuration options:<br>./configure \<br>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" \<br>LDFLAGS="-I/home/kevin/temp/biblesw/clucene-core-0.9.16a/src -I/opt/csw/lib -L/opt/csw/lib" \<br>CPPFLAGS="-I/home/kevin/temp/biblesw/clucene-core-0.9.16a
/src -I/opt/csw/lib -L/opt/csw/lib" \<br> --prefix=/opt/csw \<br> --disable-dependency-tracking \<br> --enable-shared \<br> --enable-static \<br> --disable-libtool-lock \<br> --enable-debug \<br> --enable-utilities \
<br> --with-gnu-ld \<br> --with-zlib \<br> --with-lucene \<br> --with-conf<br><br><br>And my lucene config options:<br>./configure CC=/opt/csw/gcc3/bin/gcc \<br> --prefix=/opt/csw/ \<br> --enable-debug \<br> --enable-gprof \
<br> --with-gnu-ld<br><br><br>Any ideas?<br><br>Thanks!<br><span class="sg"><br>-Kevin<br><br>
</span><br>_______________________________________________<br>sword-devel mailing list: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">
http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>Instructions to unsubscribe/change your settings at above page<br><br></blockquote></div><br>