DaneM |
10-10-2004 05:03 AM |
Trouble compiling BB (aalib demo)
Hello, everybody.
I've recently downloaded a copy of BB from the aalib web site and have run into difficulties compiling it from source on Slackware 10, kernel 2.6.8. "./configure" works fine (or seems to), and I have all the required libraries installed. When I type "make" I get the following output:
Code:
gcc -O2 -fstrength-reduce -ffast-math -fforce-mem -fforce-addr -funroll-loops -I/usr/X11R6/include -c -o textform.o textform.c
textform.c:158:1: missing terminating " character
textform.c:160: error: parse error before numeric constant
textform.c:168: error: syntax error at '#' token
textform.c:168: error: syntax error at '#' token
textform.c:168: error: syntax error at '#' token
textform.c:168: error: syntax error at '#' token
textform.c:168: error: syntax error at '#' token
textform.c:168: error: syntax error at '#' token
textform.c:171:2: invalid preprocessing directive #c
textform.c:172:2: invalid preprocessing directive #c
textform.c:173: error: syntax error at '#' token
textform.c:188: error: syntax error at '@' token
textform.c:189: error: syntax error at '@' token
textform.c:190: error: syntax error at '@' token
textform.c:191: error: syntax error at '@' token
textform.c:192:2: invalid preprocessing directive #f
textform.c:192:3: missing terminating " character
textform.c:248:1: missing terminating " character
textform.c:249: error: syntax error at '#' token
textform.c:258:2: invalid preprocessing directive #l
textform.c:259:2: invalid preprocessing directive #c
textform.c:260:2: invalid preprocessing directive #f
textform.c:261:20: warning: character constant too long for its type
textform.c:266:23: warning: character constant too long for its type
textform.c:273:45: warning: character constant too long for its type
textform.c:271: error: stray '\' in program
make: *** [textform.o] Error 1
I've seen the program demo'd using a knoppix disk, so I doubt that all those errors are problems with the code itself. I suspect that I've got some environmental variable or somesuch set wrong, but I don't know what. Any ideas you can give me would be appreciated.
--Dane
|