Mathlink problem with binary.tm in Linux
- To: mathgroup at smc.vnet.net
- Subject: [mg39758] Mathlink problem with binary.tm in Linux
- From: "Venkat Krishnaswamy" <venky_here at hotmail.com>
- Date: Thu, 6 Mar 2003 02:35:27 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi All, I am trying to compile binary.tm to use it with Mathematica 4.2 that is running in Redhat Linux 8.0. I 'prepared' the binary.tm using mprep to get binary.tm.c and when I try to compile binary.tm.c the compiler comes up with a thousand and odd parsing errors that goes like the following... gcc -ansi -c -I /usr/local/Wolfram/Mathematica/4.2/AddOns/MathLink/DeveloperKit/Linux/CompilerAdditions/ binary.tm.c ...... /binary.tm:192: parse error before "ByteConversion" ./binary.tm:310: stray '$' in program ./binary.tm:310: `True' undeclared here (not in a function) ./binary.tm:310: warning: data definition has no type or storage class ./binary.tm:311: stray '$' in program ./binary.tm:311: `True' undeclared here (not in a function) ./binary.tm:311: warning: data definition has no type or storage class ./binary.tm:311: parse error before "for" ./binary.tm:314: stray '$' in program ./binary.tm:318: stray '$' in program ./binary.tm:324: stray '$' in prog and so on........... I am using the latest MDLK from wolfram website (libc6 version - any specifics here?) I am using the binary.tm that I got from http://library.wolfram.com/database/MathSource/354/ I am using the gcc version 3.2 I would appreciate if anyone can help me with this. Thanks in advance. The Experimental.m package with Mathematica 4.2 has a fast binary read but that appears to be slower than the function in the binary package (when i was running it in windows). -Venkat.