Re: latest aspell stable build fails

Kevin Atkinson <[email protected]>
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <[email protected]>
On Mon, 19 Jun 2006, Olivier Kaloudoff wrote:

> 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)

This is due to an incompatable version of curses.  See
   http://aspell.sourceforge.net/man-html/Curses-Notes.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.