I was attempting to compile some gnome files which all require aspell. When I 
attempt to build aspell I get numerous errors:

> g++ -DHAVE_CONFIG_H -I. -I./gen  -I./gen -I./common -I./interfaces/cc/ 
> -I./modules/speller/default/ -DLOCALEDIR="\"/sw/share/locale\"" -I/sw/include 
>  -g -O2 -fno-exceptions -c -o prog/aspell.o prog/aspell.cpp
> g++ -DHAVE_CONFIG_H -I. -I./gen  -I./gen -I./common -I./interfaces/cc/ 
> -I./modules/speller/default/ -DLOCALEDIR="\"/sw/share/locale\"" -I/sw/include 
>  -g -O2 -fno-exceptions -c -o prog/check_funs.o prog/check_funs.cpp
> g++ -DHAVE_CONFIG_H -I. -I./gen  -I./gen -I./common -I./interfaces/cc/ 
> -I./modules/speller/default/ -DLOCALEDIR="\"/sw/share/locale\"" -I/sw/include 
>  -g -O2 -fno-exceptions -c -o prog/checker_string.o prog/checker_string.cpp
> In file included from prog/aspell.cpp:38:
> In file included from prog/check_funs.hpp:10:
> In file included from prog/checker_string.hpp:14:
> In file included from ./common/document_checker.hpp:10:
> In file included from ./common/filter.hpp:13:
> In file included from ./common/posib_err.hpp:13:
> ./common/errors.hpp:17:36: error: redefinition of 'aerror_other' with a 
> different type: 'const acommon::ErrorInfo *const' vs
>       'const struct AspellErrorInfo *const'
> extern "C" const ErrorInfo * const aerror_other;
>                                    ^
> ./interfaces/cc/aspell.h:240:45: note: previous definition is here
> extern const struct AspellErrorInfo * const aerror_other;
>                                             ^
> In file included from prog/aspell.cpp:38:
> In file included from prog/check_funs.hpp:10:
> In file included from prog/checker_string.hpp:14:
> In file included from ./common/document_checker.hpp:10:
> In file included from ./common/filter.hpp:13:
> In file included from ./common/posib_err.hpp:13:
> ./common/errors.hpp:18:36: error: redefinition of 
> 'aerror_operation_not_supported' with a different type:
>       'const acommon::ErrorInfo *const' vs 'const struct AspellErrorInfo 
> *const'
> extern "C" const ErrorInfo * const aerror_operation_not_supported;
>                                    ^
> ./interfaces/cc/aspell.h:241:45: note: previous definition is here
> extern const struct AspellErrorInfo * const aerror_operation_not_supported;
>                                             ^
> In file included from prog/aspell.cpp:38:
> In file included from prog/check_funs.hpp:10:
> In file included from prog/checker_string.hpp:14:
> In file included from ./common/document_checker.hpp:10:
> In file included from ./common/filter.hpp:13:
> In file included from ./common/posib_err.hpp:13:
> ./common/errors.hpp:19:38: error: redefinition of 'aerror_cant_copy' with a 
> different type: 'const acommon::ErrorInfo *const' vs
>       'const struct AspellErrorInfo *const'
> extern "C" const ErrorInfo * const   aerror_cant_copy;
>                                      ^
> ./interfaces/cc/aspell.h:242:47: note: previous definition is here
> extern const struct AspellErrorInfo * const   aerror_cant_copy;
> 
>                                       <snip>
> 
> In file included from prog/checker_string.cpp:9:
> In file included from prog/checker_string.hpp:14:
> In file included from ./common/document_checker.hpp:10:
> In file included from ./common/filter.hpp:13:
> In file included from ./common/posib_err.hpp:13:
> ./common/errors.hpp:35:38: error: redefinition of 'aerror_key_not_string' 
> with a different type: 'const acommon::ErrorInfo *const'
>       vs 'const struct AspellErrorInfo *const'
> extern "C" const ErrorInfo * const   aerror_key_not_string;
>                                      ^
> ./interfaces/cc/aspell.h:258:47: note: previous definition is here
> extern const struct AspellErrorInfo * const   aerror_key_not_string;
>                                               ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> 20 errors generated.
> make[1]: *** [prog/check_funs.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> 20 errors generated.
> make[1]: *** [prog/checker_string.o] Error 1
> 20 errors generated.
> make[1]: *** [prog/aspell.o] Error 1
> make[1]: Leaving directory 
> `/sw/src/fink.build/aspell-0.60.6.1-2/aspell-0.60.6.1'
> make: *** [all-recursive] Error 1
> ### execution of make failed, exit code 2
> ### execution of /tmp/fink.LD0sa failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-aspell-0.60.6.1-2
> (Reading database ... 150829 files and directories currently installed.)
> Removing fink-buildlock-aspell-0.60.6.1-2 ...
> Failed: phase compiling: aspell-0.60.6.1-2 failed


Looks like some kind of type error. Any help would be appreciated! I am copying 
maintainer

My kit is:
Package manager version: 0.36.3.1
Distribution version: selfupdate-rsync Mon Mar 17 19:08:31 2014, 10.9, x86_64
Trees: local/main stable/main
Xcode.app: 5.1
Xcode command-line tools: 5.1.0.0.1.1393561416
Max. Fink build jobs:  4
OSX 10.0.2
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0

Gary K Olson

                                              ^

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to