Re: [info-performer] Compiling Performer on x86_64 Opteron with -m32 flag

Date view Thread view Subject view Author view

From: Simon Su (simonmssu++at++gmail.com)
Date: 08/15/2005 12:51:12


Hi Jan,

Thank you so much. I will try it out and hopefully I won' t be bugging
you again.

Cheers

Simon

On 8/14/05, jan p. springer <jsd++at++igroup.org> wrote:
> Simon Su wrote:
> > 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.
> [ snip ]
>
> hi simon,
>
> i see the same wrong command line option as before. "-D" doesn't work.
> the correct thing is "-D<Identifier>" or "-D<Identifier>=" or
> "-D<Identifier>=<Value>".
>
> > ====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
>
> this is an error (unfortunately, gcc does not emit an "error" string
> to detect them). it refers to the "-D" above. remove the empty
> command line define and the compile will succeed.
>
> > 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
>
> that's (just) a warning. while i would be concerned about it, it's
> nothing that will abort your compilation.
>
> > 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=====
> [ snip ]
>
> regards,
>
> j.
>
> --
> +------------------------------------+--------------------------------------+
> | jan p. springer | jsd++at++igroup.org |
> | computer science, buw.media.vrsys | jan.springer++at++medien.uni-weimar.de |
> +------------------------------------+--------------------------------------+
>
>
>


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Aug 15 2005 - 12:51:15 PDT