Skip to main content.
home | support | download

Back to List Archive

[swish-e] Compiling swish-e on a synology DS210j

From: <d_engel(at)not-real.gmx.de>
Date: Wed Sep 29 2010 - 18:33:26 GMT
Hello,

I am trying to compile swish-e on a synology DS210j directly.
libxml2 and expat are installed.

However, I end up with the following error messages during make:
==================================================================
....
gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O
2 -o .libs/swish-e swish.o keychar_out.o dump.o result_output.o  ./.libs/libswis
hindex.a ./.libs/libswish-e.so -lz -lm -Wl,--rpath -Wl,/opt/lib
./.libs/libswishindex.a(xml.o): In function `countwords_XML':
/volume1/Main/swish-e/swish-e-2.4.7/src/xml.c:123: undefined reference to `XML_ParserCreate'
/volume1/Main/swish-e/swish-e-2.4.7/src/xml.c:159: undefined reference to `XML_SetUserData'
/volume1/Main/swish-e/swish-e-2.4.7/src/xml.c:160: undefined reference to `XML_SetElementHandler'
/volume1/Main/swish-e/swish-e-2.4.7/src/xml.c:161: undefined reference to `XML_SetCharacterDataHandler'
/volume1/Main/swish-e/swish-e-2.4.7/src/xml.c:168: undefined reference to `XML_Parse'
/volume1/Main/swish-e/swish-e-2.4.7/src/xml.c:174: undefined reference to `XML_ParserFree'
/volume1/Main/swish-e/swish-e-2.4.7/src/xml.c:164: undefined reference to `XML_SetCommentHandler'
/volume1/Main/swish-e/swish-e-2.4.7/src/xml.c:168: undefined reference to `XML_Parse'
/volume1/Main/swish-e/swish-e-2.4.7/src/xml.c:169: undefined reference to `XML_GetCurrentLineNumber'
/volume1/Main/swish-e/swish-e-2.4.7/src/xml.c:169: undefined reference to `XML_GetErrorCode'
/volume1/Main/swish-e/swish-e-2.4.7/src/xml.c:169: undefined reference to `XML_ErrorString'
collect2: ld returned 1 exit status
make[3]: *** [swish-e] Error 1
make[3]: Leaving directory `/volume1/Main/swish-e/swish-e-2.4.7/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/volume1/Main/swish-e/swish-e-2.4.7/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/volume1/Main/swish-e/swish-e-2.4.7/src'
make: *** [all-recursive] Error 1
======================================================================

I read the similar problem on compilation on DSL within this mailing list, however, I was not able to figure out the solution in this thread.
I have compiled other software successfully on this NAS-server, so the tool chain cannot be completely broken.
I have used 
./configue --prefix=/opt

Has anybody please an idea, what is going wrong?

Regards,
      Dieter


-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed Sep 29 14:33:28 2010