[ts-gen] Installation Issues

Dave McDaniel mcdanieldave at hotmail.com
Fri Apr 24 10:22:13 EDT 2009


Hello, I am having a problem getting the shim to compile on my system.  I run openSuse 11.0 and  have g++ as shown below, perhaps this has to do with the -O3 bug i read about in archives but can't find that option in the Makefile.

/shim-090327> g++ --version
g++ (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]
Copyright (C) 2008 Free Software Foundation, Inc.

Many thanks for your work and any advice on getting this thing cranking,
Dave

Here are the some of the error messages I am getting:
src/../lib/wrap.h:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MinimalModeMultiParadigm’
In file included from src/rule.h:11,
                 from src/dictionary.h:28,
                 from src/glossary.h:47,
                 from src/main-h.h:11,
                 from src/main.c:8:
src/envs.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TShimInterpreter’
In file included from src/dictionary.h:28,
                 from src/glossary.h:47,
                 from src/main-h.h:11,
                 from src/main.c:8:
src/rule.h:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TShimInterpreter’
In file included from src/dictionary.h:29,
                 from src/glossary.h:47,
                 from src/main-h.h:11,
                 from src/main.c:8:
src/meta.h:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TShimInterpreter’
In file included from src/glossary.h:47,
                 from src/main-h.h:11,
                 from src/main.c:8:
src/dictionary.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TShimInterpreter’
In file included from src/glossary.h:48,
                 from src/main-h.h:11,
                 from src/main.c:8:
src/class_uses.h:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TShimInterpreter’
In file included from src/main-h.h:13,
                 from src/main.c:8:
src/shim.h:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TShimInterpreter’
src/main.c: In function ‘main’:
src/main.c:12: error: ‘one’ undeclared (first use in this function)
src/main.c:12: error: (Each undeclared identifier is reported only once
src/main.c:12: error: for each function it appears in.)
src/main.c:12: error: expected ‘;’ before ‘:’ token
src/main.c:13: warning: control reaches end of non-void function
make: *** [main.o] Error 1


_________________________________________________________________
Rediscover Hotmail®: Get quick friend updates right in your inbox. 
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Updates2_042009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.trading-shim.org/pipermail/ts-general/attachments/20090424/bff580df/attachment-0001.html 


More information about the ts-general mailing list