Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » SuperMongo on OSX ?

UBBFriend: Email this page to someone!    
Author Topic: SuperMongo on OSX ?
Amalthea
Junior Member
Member # 577

posted December 25, 2002 02:09 AM      Profile for Amalthea   Email Amalthea   Send New Private Message      Edit/Delete Post  Reply With Quote 
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 ?


Posts: 1 | Registered: Dec 2002  |  IP: Logged
<trevorsm>
unregistered

posted December 29, 2002 03:25 PM           Edit/Delete Post  Reply With Quote 
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.


IP: Logged
<Robert Lupton>
unregistered

posted September 30, 2003 06:32 AM           Edit/Delete Post  Reply With Quote 
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).


IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2