Hi, I made the sigil build on Ubuntu 12.10 as the Running from source instructions (
https://code.google.com/p/sigil/wiki/RunningFromSource)
But when I execute "make" the following error mensagem are showed:
Code:
Linking CXX executable ../../bin/sigil
../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTranscoder::~IconvGNUTranscoder()':
IconvGNUTransService.cpp:(.text+0xcb): referência indefinida para `libiconv_close'
IconvGNUTransService.cpp:(.text+0xe2): referência indefinida para `libiconv_close'
../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTransService::~IconvGNUTransService()':
IconvGNUTransService.cpp:(.text+0x17b): referência indefinida para `libiconv_close'
IconvGNUTransService.cpp:(.text+0x192): referência indefinida para `libiconv_close'
../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTranscoder::~IconvGNUTranscoder()':
IconvGNUTransService.cpp:(.text+0x3b3): referência indefinida para `libiconv_close'
../../lib/libXerces.a(IconvGNUTransService.cpp.o):IconvGNUTransService.cpp:(.text+0x3ca): mais referências indefinidas para seguir `libiconv_close'
../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNULCPTranscoder::calcRequiredSize(char const*, xercesc_3_1::MemoryManager*)':
IconvGNUTransService.cpp:(.text+0x5b7): referência indefinida para `libiconv'
../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUWrapper::toUpper(unsigned short)':
IconvGNUTransService.cpp:(.text+0x8c8): referência indefinida para `libiconv'
IconvGNUTransService.cpp:(.text+0x922): referência indefinida para `libiconv'
../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUWrapper::toLower(unsigned short)':
IconvGNUTransService.cpp:(.text+0xcb8): referência indefinida para `libiconv'
IconvGNUTransService.cpp:(.text+0xd12): referência indefinida para `libiconv'
../../lib/libXerces.a(IconvGNUTransService.cpp.o):IconvGNUTransService.cpp:(.text+0x1224): mais referências indefinidas para seguir `libiconv'
../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTransService::IconvGNUTransService(xercesc_3_1::MemoryManager*)':
IconvGNUTransService.cpp:(.text+0x13e4): referência indefinida para `libiconv_open'
IconvGNUTransService.cpp:(.text+0x13f8): referência indefinida para `libiconv_open'
IconvGNUTransService.cpp:(.text+0x14f3): referência indefinida para `libiconv_open'
IconvGNUTransService.cpp:(.text+0x1507): referência indefinida para `libiconv_open'
IconvGNUTransService.cpp:(.text+0x154d): referência indefinida para `libiconv_close'
IconvGNUTransService.cpp:(.text+0x159c): referência indefinida para `libiconv_close'
../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTranscoder::transcodeTo(unsigned short const*, unsigned long, unsigned char*, unsigned long, unsigned long&, xercesc_3_1::XMLTranscoder::UnRepOpts)':
IconvGNUTransService.cpp:(.text+0x1846): referência indefinida para `libiconv'
../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTranscoder::transcodeFrom(unsigned char const*, unsigned long, unsigned short*, unsigned long, unsigned long&, unsigned char*)':
IconvGNUTransService.cpp:(.text+0x1b2f): referência indefinida para `libiconv'
../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNULCPTranscoder::transcode(char const*, unsigned short*, unsigned long, xercesc_3_1::MemoryManager*)':
IconvGNUTransService.cpp:(.text+0x1e4d): referência indefinida para `libiconv'
../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNULCPTranscoder::transcode(char const*, xercesc_3_1::MemoryManager*)':
IconvGNUTransService.cpp:(.text+0x206d): referência indefinida para `libiconv'
../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNULCPTranscoder::transcode(unsigned short const*, char*, unsigned long, xercesc_3_1::MemoryManager*)':
IconvGNUTransService.cpp:(.text+0x2319): referência indefinida para `libiconv'
../../lib/libXerces.a(IconvGNUTransService.cpp.o):IconvGNUTransService.cpp:(.text+0x258f): mais referências indefinidas para seguir `libiconv'
../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTransService::makeNewXMLTranscoder(unsigned short const*, xercesc_3_1::XMLTransService::Codes&, unsigned long, xercesc_3_1::MemoryManager*)':
IconvGNUTransService.cpp:(.text+0x2a09): referência indefinida para `libiconv_open'
IconvGNUTransService.cpp:(.text+0x2a22): referência indefinida para `libiconv_open'
IconvGNUTransService.cpp:(.text+0x2b2c): referência indefinida para `libiconv_close'
collect2: error: ld returned 1 exit status
make[2]: ** [bin/sigil] Erro 1
make[1]: ** [src/Sigil/CMakeFiles/sigil.dir/all] Erro 2
make: ** [all] Erro 2