notes on building aajm

Barton Chittenden tiger at iglou.com
Sun Jun 27 18:20:43 EDT 2004


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.

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 
`__cmsg_data'
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.

--Barton



More information about the Jugglemaster mailing list