Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Building MathLink Programs/SPARC' topicStudent Support Forum > General > Archives > "Building MathLink Programs/SPARC"

Next Comment >Help | Reply To Topic
Author Comment/Response
02/22/00 7:40pm

Compilation of MathLinkExamples (ex: make addtwo) using Sun WorkShop Compiler C SPARC produces errors (lots), what to do? Thanks.
Beginning of trace:
make addtwo
cc -c -I../CompilterAdditions addtwotm.c
''../CompilerAdditions/mathlink.h'', line 684: warning: const is a keyword in ANSI C
''..CompilerAdditions/mathlink.h'', line 684: undefined or not a type: const
''../CompilterAdditions/mathlink.h'', line 684: warning: typedef valid only for function declaration
''../CompilerAdditions/mathlink.h'', line 684: parameter not in identifier list: kushortpp_ct
''../CompilerAdditions/mathlink.h'', line 685: warning: only ''register'' valid as formal parameter storage class
''../CompilerAdditions/mathlink.h'', line 685: syntax error before or at: unsigned

URL: ,

Subject (listing for 'Building MathLink Programs/SPARC')
Author Date Posted
Building MathLink Programs/SPARC Bob 02/22/00 7:40pm
Re: Building MathLink Programs/SPARC P.J. Hinton 02/24/00 4:46pm
Re: Building MathLink Programs/SPARC Bob 02/25/00 5:38pm
Re: Building MathLink Programs/SPARC P.J. Hinton 02/29/00 04:20am
Next Comment >Help | Reply To Topic