pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Error when compiling aspell



        Hi,

I get the following error when compiling aspell:

> mkdir .libs
> c++ -shared  common/.libs/cache.o common/.libs/string.o 
> common/.libs/getdata.o c
> ommon/.libs/itemize.o common/.libs/file_util.o common/.libs/string_map.o 
> common/
> .libs/string_list.o common/.libs/config.o common/.libs/posib_err.o 
> common/.libs/
> errors.o common/.libs/error.o common/.libs/fstream.o common/.libs/iostream.o 
> com
> mon/.libs/info.o common/.libs/can_have_error.o common/.libs/convert.o 
> common/.li
> bs/tokenizer.o common/.libs/speller.o common/.libs/document_checker.o 
> common/.li
> bs/filter.o common/.libs/objstack.o common/.libs/strtonum.o 
> common/.libs/gettext
> _init.o common/.libs/file_data_util.o 
> modules/speller/default/.libs/readonly_ws.o 
> modules/speller/default/.libs/suggest.o modules/speller/default/.libs/data.o 
> modules/speller/default/.libs/multi_ws.o 
> modules/speller/default/.libs/phonetic.o 
> modules/speller/default/.libs/writable.o 
> modules/speller/default/.libs/speller_impl.o 
> modules/speller/default/.libs/phonet.o 
> modules/speller/default/.libs/typo_editdist.o 
> modules/speller/default/.libs/editdist.o 
> modules/speller/default/.libs/primes.o 
> modules/speller/default/.libs/language.o 
> modules/speller/default/.libs/leditdist.o 
> modules/speller/default/.libs/affix.o modules/tokenizer/.libs/basic.o 
> lib/.libs/filter-c.o lib/.libs/word_list-c.o lib/.libs/info-c.o 
> lib/.libs/mutable_container-c.o lib/.libs/error-c.o 
> lib/.libs/document_checker-c.o lib/.libs/string_map-c.o 
> lib/.libs/new_config.o lib/.libs/config-c.o lib/.libs/string_enumeration-c.o 
> lib/.libs/can_have_error-c.o lib/.libs/dummy.o lib/.libs/new_filter.o 
> lib/.libs/new_fmode.o li
b/.libs/string_list-c.o lib/.libs/find_speller.o lib/.libs/speller-c.o 
lib/.libs/string_pair_enumeration-c.o lib/.libs/new_checker.o 
modules/filter/.libs/url.o modules/filter/.libs/email.o 
modules/filter/.libs/tex.o modules/filter/.libs/sgml.o 
modules/filter/.libs/context.o modules/filter/.libs/nroff.o 
modules/filter/.libs/texinfo.o  -lintl 
-L/home/netbsd/pkgsrc/work/textproc/aspell/work/.buildlink/lib  
-Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libaspell.so.15 -o .libs/libaspell.so.15.1.4
> `.L4311' referenced in section `.rodata' of 
> modules/speller/default/.libs/speller_impl.o: defined in discarded section 
> `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of 
> modules/speller/default/.libs/speller_impl.o
> `.L4324' referenced in section `.rodata' of 
> modules/speller/default/.libs/speller_impl.o: defined in discarded section 
> `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of 
> modules/speller/default/.libs/speller_impl.o
> `.L4338' referenced in section `.rodata' of 
> modules/speller/default/.libs/speller_impl.o: defined in discarded section 
> `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of 
> modules/speller/default/.libs/speller_impl.o
> `.L4305' referenced in section `.rodata' of 
> modules/speller/default/.libs/speller_impl.o: defined in discarded section 
> `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of 
> modules/speller/default/.libs/speller_impl.o
> `.L2817' referenced in section `.rodata' of 
> modules/speller/default/.libs/affix.o: defined in discarded section 
> `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of 
> modules/speller/default/.libs/affix.o
> `.L2830' referenced in section `.rodata' of 
> modules/speller/default/.libs/affix.o: defined in discarded section 
> `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of 
> modules/speller/default/.libs/affix.o
> `.L2844' referenced in section `.rodata' of 
> modules/speller/default/.libs/affix.o: defined in discarded section 
> `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of 
> modules/speller/default/.libs/affix.o
> `.L2811' referenced in section `.rodata' of 
> modules/speller/default/.libs/affix.o: defined in discarded section 
> `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of 
> modules/speller/default/.libs/affix.o
> gmake[1]: *** [libaspell.la] Error 1
> gmake[1]: Leaving directory 
> `/home/netbsd/pkgsrc/work/textproc/aspell/work/aspell-0.60.5'
> gmake: *** [all-recursive] Error 1
> *** Error code 2
>   
> Stop.
> make: stopped in /usr/pkgsrc/textproc/aspell
> *** Error code 1

Any idea? I suspect an "extern C" directive missing somewhere...

Cheers,
-- 
khorben




Home | Main Index | Thread Index | Old Index