latest aspell stable build fails
Olivier Kaloudoff <[email protected]>
| Newsgroups | gmane.comp.gnu.aspell.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello List, I'm trying to compile aspell-0.60.4 on Solaris using GNU tools, but it fails with the following error; seems that some code is used inside prog/check_funs.cpp but not declared anywhere else. Is there a way to compile aspell anyway ? gcc -g -O2 -o word-list-compress prog/compress.o -ldl depbase=`echo prog/aspell.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \ if g++ -DHAVE_CONFIG_H -I. -I. -I./gen -I./gen -I./common -I./interfaces/cc/ -I./modules/speller/default/ -DLOCALEDIR=\"/apps/free/aspell/0.60.4/share/locale\" -g -O2 -fno-exceptions -MT prog/aspell.o -MD -MP -MF "$depbase.Tpo" -c -o prog/aspell.o prog/aspell.cpp; \ then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi depbase=`echo prog/check_funs.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \ if g++ -DHAVE_CONFIG_H -I. -I. -I./gen -I./gen -I./common -I./interfaces/cc/ -I./modules/speller/default/ -DLOCALEDIR=\"/apps/free/aspell/0.60.4/share/locale\" -g -O2 -fno-exceptions -MT prog/check_funs.o -MD -MP -MF "$depbase.Tpo" -c -o prog/check_funs.o prog/check_funs.cpp; \ then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi prog/check_funs.cpp: In function `void get_line(acommon::String&)': prog/check_funs.cpp:340: error: `wget_wch' undeclared (first use this function) prog/check_funs.cpp:340: error: (Each undeclared identifier is reported only once for each function it appears in.) prog/check_funs.cpp:354: error: `KEY_CODE_YES' undeclared (first use this function) prog/check_funs.cpp:376: error: `wins_nwstr' undeclared (first use this function) prog/check_funs.cpp:388: error: `cchar_t' undeclared (first use this function) prog/check_funs.cpp:388: error: expected `;' before "cc" prog/check_funs.cpp:389: error: `attr_t' undeclared (first use this function) prog/check_funs.cpp:389: error: expected `;' before "att" prog/check_funs.cpp:391: error: `cc' undeclared (first use this function) prog/check_funs.cpp:391: error: `mvwin_wch' undeclared (first use this function) prog/check_funs.cpp:392: error: `att' undeclared (first use this function) prog/check_funs.cpp:392: error: `getcchar' undeclared (first use this function) gmake[1]: *** [prog/check_funs.o] Error 1 gmake[1]: Leaving directory `/home/localmgr/tmp/aspell-0.60.4' gmake: *** [all-recursive] Error 1 bash-2.03$ pwd /home/localmgr/tmp/aspell-0.60.4 bash-2.03$ /apps/unsupported/bin/grep -r wget_wch * ld.so.1: /apps/unsupported/bin/grep: fatal: libpcre.so.0: open failed: No such file or directory Killed bash-2.03$ LD_LIBRARY_PATH=/apps/unsupported/lib /apps/unsupported/bin/grep -r wget_wch * prog/check_funs.cpp: int res = wget_wch(choice_w, &wi); bash-2.03$ gcc --version gcc (GCC) 3.4.3 Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Olivier Kaloudoff Linux / Solaris Support / IT Design Nice Texas Instruments France 821 av Jack Kilby 06270 VILLENEUVE LOUBET