SuperMongo on OSX ?

Find out how to get that @*&^$&@ thing to compile!

SuperMongo on OSX ?

Postby Amalthea » Wed Dec 25, 2002 10:09 am

Has anyone heard of SuperMongo ?
It's a quite powerful plotting package.
I read that it should work well "with any variant
of BSD". Not wanting to depend on outdated SUNs, I
tried to compile version 2.4.2 on OSX.
It returned this :

In file included from main.c:8:
sm_declare.h:51: conflicting types for `fread'
/usr/include/stdio.h:254: previous declaration of `fread'
sm_declare.h:55: conflicting types for `fwrite'
/usr/include/stdio.h:260: previous declaration of `fwrite'
sm_declare.h:81: warning: conflicting types for built-in function `strncat'
sm_declare.h:83: warning: conflicting types for built-in function `strncpy'
sm_declare.h:85: warning: conflicting types for built-in function `strncmp'
sm_declare.h:169: conflicting types for `fd_set'
/usr/include/sys/types.h:155: previous declaration of `fd_set'
sm_declare.h:191: warning: conflicting types for built-in function `bzero'
make[1]: *** [main.o] Error 1
make: *** [sm] Error 2

My "programming" skills are limited to numerical
simulations, so I'm a little lost when I have
to compile software. Can anyone help ?
Amalthea
 
Posts: 1
Joined: Wed Dec 25, 2002 8:00 pm

Re: SuperMongo on OSX ?

Postby <trevorsm> » Sun Dec 29, 2002 11:25 pm

It seems your problem is in the file "sm_declare.h"--it's redeclaring standard ANSII C functions. Could you prehaps post the meat of the "sm_declare.h" file here so I can take a look at it?

From there I can decide if it would be best to modify the file or remove it altogether. Whatever the problem is, it seems like it should be fairly simple to solve, so you shouldn't need to worry too much about it. [img]images/icons/smile.gif"%20border="0[/img]
<trevorsm>
 

Re: SuperMongo on OSX ?

Postby <Robert Lupton> » Tue Sep 30, 2003 1:32 pm

I wrote SM, and am writing this on a G4 powerbook.

SM builds just fine under mac os/x; as usual you should upgrade to the latest version (there were
some workarounds needed for mac os/x bugs, and
the lack of case-sensitivity broke the makefiles).
<Robert Lupton>
 


Return to Compile Problems

Who is online

Users browsing this forum: Google [Bot] and 6 guests

cron