Re: Mac OS X and sn
Rafal Polonski <[email protected]>
| Newsgroups | gmane.network.sn |
|---|---|
| Message-ID | <[email protected]> |
> > ## For FreeBSD:
> > INSTALL =ginstall
> > LIBS =-L/sw/lib -lstuff
>
> Hm, where'd the "/sw/" come from? It's "./" in the original Makefile.
Sorry just my experiments with Makefile. Normally /sw is a directory on
Mac os X for opensource fink project (prepackaged free unix software).
http://fink.sourceforge.net
> > config.h:97: warning: comma at end of enumerator list
>
> Just remove line 97 which it is complaining about. Does it compile then?
I commented the line and I get then:
[:~/sn-0.3.6] rafi$ make
gcc -c `cat cc-flags` commands.c -o commands.o
In file included from /usr/include/machine/types.h:30,
from /usr/include/sys/types.h:72,
from /usr/include/unistd.h:71,
from commands.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 commands.c:13:
/usr/include/ppc/ansi.h:94: warning: ANSI C does not support `long long'
commands.c: In function `readspec':
commands.c:95: `FALSE' undeclared (first use in this function)
commands.c:95: (Each undeclared identifier is reported only once
commands.c:95: for each function it appears in.)
make: *** [commands.o] Error 1
On Linux it compiles flawlessly.
Any ideas?
--
Celui qui ne sait pas se contenter de peu ne sera jamais content de rien.