From: Simon Su (simonmssu++at++gmail.com)
Date: 08/13/2005 13:03:20
Hi Jan,
Thank you so much for the suggestion. Unfortunately, the compiler
still doesn't like me too much. Sorry to trouble you with this.
Thank you very much
Simon
====Start Error Message
monet > make
Making DSO version of framework
make[1]: Entering directory
`/home/ssu/usr/share/Performer/src/sample/C/rotorwash/OPT.'
cc -O3 -ffast-math -m32 -fPIC -D -DLinux -I..
-I/home/ssu/usr/share/Performer/usr/include -I/usr/X11R6/include -O
-I../../../../include -I/home/ssu/usr/share/Performer/usr/include -I..
-I../../../../sample/C/rotorwash -c -o framework.o ../framework.c
<command line>:1:1: macro names must be identifiers
In file included from
/home/ssu/usr/share/Performer/usr/include/Performer/pr.h:98,
from
/home/ssu/usr/share/Performer/usr/include/Performer/pf.h:56,
from ../framework.c:74:
/home/ssu/usr/share/Performer/usr/include/ulocks.h:193:42: macro
"barrier" passed 2 arguments, but takes just 0
../framework.c: In function `main':
../framework.c:509: warning: passing arg 1 of `pfSetVec4' from
incompatible pointer type
make[1]: *** [framework.o] Error 1
make[1]: Leaving directory
`/home/ssu/usr/share/Performer/src/sample/C/rotorwash/OPT.'
make: *** [framework.dso] Error 2
==== end error message=====
On 8/13/05, jan p. springer <jsd++at++igroup.org> wrote:
> Simon Su wrote:
> [ snip ]
> > =====Start Error Message====
> > cc -O3 -ffast-math -m32 -MD -fPIC -D -DLinux -I..
> ^^
> that's where the compiler chokes. you supply a command line define
> w/o any value. just remove it from your makefile.
>
> > -I/home/ssu/usr/share/Performer/usr/include -I/usr/X11R6/include -O
> > -I../../../../include -I/home/ssu/usr/share/Performer/usr/include -I..
> > -I../../../../sample/C/rotorwash -c -o framework.o ../framework.c
> > <command line>:1:1: macro names must be identifiers
> > In file included from
> > /home/ssu/usr/share/Performer/usr/include/Performer/pr.h:98,
> > from
> > /home/ssu/usr/share/Performer/usr/include/Performer/pf.h:56,
> > from ../framework.c:74:
> > ======End Error Message=====
> [ snip ]
>
> j.
>
> --
> +------------------------------------+--------------------------------------+
> | jan p. springer | jsd++at++igroup.org |
> | computer science, buw.media.vrsys | jan.springer++at++medien.uni-weimar.de |
> +------------------------------------+--------------------------------------+
>
>
>
This archive was generated by hypermail 2b29 : Sat Aug 13 2005 - 13:03:23 PDT