Re: Mathlink probs under Unix
- To: mathgroup at smc.vnet.net
 - Subject: [mg26268] Re: Mathlink probs under Unix
 - From: nhbckach at rrzn-user.uni-hannover.de
 - Date: Sun, 10 Dec 2000 00:19:41 -0500 (EST)
 - Organization: Universitaet Hannover
 - References: <90kreu$r4l@smc.vnet.net>
 - Sender: owner-wri-mathgroup at wolfram.com
 
number9 <number9 at cox-internet.com> writes: > $ mprep binary.tm -o binary..c > $ gcc -o binary > -l/usr/local/mathematica/AddOns/MathLink/DevelopersKits/Solaris/CompilerAdditions/ > binary.c -lnsl -lsocket > binary.tm:468: unterminated character constant Hello, I think you have to tell the C-compiler where to look for the `mathlink.h' header file. Mathematica comes with a directory containing sample files (in ../DevelopersKits/Solaris/MathLinkExamples) including a Makefile which demonstrates how to compile your project. Hope this helps, Karsten