[jugglemaster] notes on building aajm
chunky at icculus.org
Sun Jun 27 22:06:07 EDT 2004
On Sun, Jun 27, 2004 at 06:20:43PM -0400, Barton Chittenden wrote:
> I built aajm on an old slackware box [100 mhz pentium, kernel 2.2.14, 24
> meg ram].
> The first time that I tried to build it, I downloaded and compiled
> aalib-1.2, which does not include aalib-configure, which is called by the
> make file for aajm.
> aalib-1.4rc5 works. I don't know off hand when aalib-configure was added.
Eesh. Well, not sure what I can do, really - just recommend using the
most recent aalib or something :-/
> I did run into the following warning when I ran make:
> c++ -Wall -pedantic -Werror -fsigned-char `aalib-config --cflags` -c
> aajm.cpp -o aajm.o
> cc1plus: warnings being treated as errors
> In file included from /usr/include/sys/socket.h:34,
> from aajm.h:26,
> from aajm.cpp:16:
> /usr/include/bits/socket.h:226: warning: ANSI C++ forbids zero-size array
> make: *** [aajm.o] Error 1
> Changing CFLAGS so that c++ does not use -pedantic allowed me to compile
> the executable. It seems to run fine.
Hmmm. What compiler are you using? Work on slack 8.1 [my box]. Are you
using includs that match up with your c libraries and compiler?
More information about the Jugglemaster