Menu

#12 Error: Line 8: Illegal Character: '#'

open
nobody
None
5
2009-01-13
2009-01-13
Anonymous
No

hi

I'm trying to compile brook_v0.5_beta1_svnrev1887 on my linux box:
gcc (GCC) 3.4.6
GNU ld version 2.16.1
/lib/libc-2.3.6.so

I get these errors:
...
...
Building ../../bin/libgpu.a
Rebuilding dependencies for brt.cpp
Rebuilding dependencies for profiler.cpp
Rebuilding dependencies for logger.cpp
Rebuilding dependencies for writequery.cpp
Rebuilding dependencies for writemask.cpp
brt.cpp
profiler.cpp
logger.cpp
writequery.cpp
writemask.cpp
Building ../bin/libbrook.a
Rebuilding dependencies for accumulate.br
accumulate.br
Error: Line 8: Illegal Character: '#'
Error: Line 8: Illegal Character: 'i'
Error: Line 8: Illegal Character: 'n'
Error: Line 8: Illegal Character: 'c'
Error: Line 8: Illegal Character: 'l'
Error: Line 8: Illegal Character: 'u'
Error: Line 8: Illegal Character: 'd'
Error: Line 8: Illegal Character: 'e'
Error: Line 8: Illegal Character: ' '
accumulate.br:8: Error (syntax error) before 'Invalid Token'
#include <stdio.h>
^
Errors - Aborting parse.
***Unable to parse accumulate.br
make[4]: *** [built/accumulate.cpp] Error 1
make[3]: *** [dep] Error 2
make[2]: *** [accumulate] Error 2
make[1]: *** [tests] Error 2
make: *** [prog] Error 2

Discussion


Log in to post a comment.