Mac OS X and sn
rafal polonski <[email protected]>
| Newsgroups | gmane.network.sn |
|---|---|
| Message-ID | <[email protected]> |
Hello,
Is there anyone who managed to compile sn on Mac Os X?
I was using sn for a year on linux machine (worked great) and wanted to
compile on OSX.
I uncommented a line from Makefile concerning FreeBSD as Os X is BSD
based.
So I have:
## For FreeBSD:
INSTALL =ginstall
LIBS =-L/sw/lib -lstuff
Unfortunatelly I have problems with compilation:
[~/sn-0.3.6] root# make
gcc -c `cat cc-flags` art.c -o art.o
config.h:97: invalid enumerator, found `0'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from /usr/include/machine/types.h:30,
from /usr/include/sys/types.h:72,
from /usr/include/unistd.h:71,
from art.c:13:
/usr/include/ppc/types.h:75: warning: ANSI C does not support `long
long'
/usr/include/ppc/types.h:76: warning: ANSI C does not support `long
long'
In file included from /usr/include/machine/ansi.h:33,
from /usr/include/sys/types.h:74,
from /usr/include/unistd.h:71,
from art.c:13:
/usr/include/ppc/ansi.h:94: warning: ANSI C does not support `long long'
In file included from art.c:21:
config.h:97: parse error before `0'
config.h:97: warning: comma at end of enumerator list
make: *** [art.o] Error 1
Thank you.
--
Celui qui ne sait pas se contenter de peu ne sera jamais content de rien.