Re: linking C-program with Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg9494] Re: linking C-program with Mathematica
- From: Eckhard Hennig <hennig at itwm.uni-kl.de>
- Date: Sat, 8 Nov 1997 23:04:27 -0500
- Organization: ITWM
- Sender: owner-wri-mathgroup at wolfram.com
Dominique Schreurs wrote: > When I execute the Makefile, a lot of errors are returned. The first > ones are: > > (Bundled) cc: "/imec/asp/schreurs/CompilerAdditions/mathlink.h", line > 448: warning 5: "const" will become a keyword. (Bundled) cc: > "/imec/asp/schreurs/CompilerAdditions/mathlink.h", line 448: error > 1000: Unexpected symbol: "unsigned". (Bundled) cc: > "/imec/asp/schreurs/CompilerAdditions/mathlink.h", line 449: warning 5: > "const" will become a keyword. (Bundled) cc: > "/imec/asp/schreurs/CompilerAdditions/mathlink.h", line 449: error > 1000: Unexpected symbol: "unsigned". > > So I assume that I'm using the wrong C-compiler ? Any suggestions are > welcome ! Dear Dominique, the warnings you get suggest that you are either using an extremely old compiler (maybe early 1980's !?) or a minimal C subset compiler designed for bootstrapping purposes etc. In either case you would have to use a different compiler (e.g. gcc on workstations). Best regards, Eckhard ---------------------------------------------------------------------------- Dipl.-Ing. Eckhard Hennig mailto:hennig at itwm.uni-kl.de Institut fuer Techno- und Wirtschaftsmathematik e.V. (ITWM) Erwin-Schroedinger-Strasse, 67663 Kaiserslautern, Germany Voice: +49-(0)631-205-3126 Fax: +49-(0)631-205-4139 http://www.e-technik.uni-kl.de/organizations/itwm/people/Hennig/Eckhard.html ----------------------------------------------------------------------------