> From: [EMAIL PROTECTED] (Shirin Mohseni) > Subject: Error in compilation > Date: 14 Jan 2003 22:47:01 -0800 > > Hi > i am trying to compile Ptolemy classic for redhat 7.3, using gcc2.96. > I get the following error in a file called acs_vhdl_lang.h line#201 - 210. > It tries to define functions with names and, or, not and xor. > But in compilation it says: parse error before and,... > The program is written by Ken Smith. > Does anyone knows the reason? > I guess it is because and, or,... are keywords or reserved words, but I am not > sure.
Seems likely. However, the compiler that was shipped with Ptolemy Classic should be able to compile these files. You could try skipping the compilation of ACS by editing ptolemy/src/domains/makefile and removing acs from the DOMAINS line You may also need to edit $PTOLEMY/mk/ptbin.mk or $PTOLEMY/mk/stars.mk -Christopher > Please send me email, if anyone had such problem before. > Thanks > Shirin ---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]