Build question
Rick
rc at ece.pdx.edu
Fri Nov 30 17:19:54 PST 2007
Hello to anyone who may be here -
In trying to build Nopareil on Linux (Fedora Core 6/gcc 4.1.1/scons v0.97)
I get the following error:
gcc -o build/posix/csim.o -c -Wall -g -pthread -D_GNU_SOURCE=1
-D_REENTRANT "-D{'DEFAULT_PATH': '/usr/local/lib/nonpareil'}"
-Ibuild/posix -Isrc -Ibuild/common -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/SDL
src/csim.c
<command line>:1:1: error: macro names must be identifiers
scons: *** [build/posix/csim.o] Error 1
scons: building terminated because of errors.
The offending parameter seems to be:
"-D{'DEFAULT_PATH': '/usr/local/lib/nonpareil'}"
gcc isn't my usual compiler and I've never used sconstruct so I'm a bit
in the dark on this one.
I've managed to get it to compile by kludging around this parameter but
for other reasons (like debugging) it would be better to get it to work
right.
Thanks,
Rick
More information about the Nonpareil-users
mailing list