Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

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.



  • Prev by Date: Re: How do i call a function written in mathematica from python
  • Next by Date: Re: Is it doable in Mathematica? How?
  • Previous by thread: Re: Functional differentiation on lattice
  • Next by thread: Re: Mathlink problem with binary.tm in Linux