Alexey Sokolov wrote:
> Hello! My name is Sokolov Alexey.
> 
> <[EMAIL PROTECTED]:~>% uname -sr
> FreeBSD 7.0-PRERELEASE
> 
> <[EMAIL PROTECTED]:~>% git-clone git://anongit.freedesktop.org/git/mesa/mesa
> ...
> <[EMAIL PROTECTED]:~/mesa>% make
> ...
> cc -c -I../../include -O  -O2 -fPIC -D_POSIX_SOURCE
> -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DUSE_XSHM -DHZ=100
> -I/usr/local/include -ffast-math -pedantic -fno-strict-aliasing
> engine.c
> engine.c: In function 'PistonStrokePosition':
> engine.c:252: error: 'M_PI' undeclared (first use in this function)
> engine.c:252: error: (Each undeclared identifier is reported only once
> engine.c:252: error: for each function it appears in.)
> engine.c: In function 'ComputeConnectingRodPosition':
> engine.c:302: error: 'M_PI' undeclared (first use in this function)
> engine.c: In function 'DrawConnector':
> engine.c:406: error: 'M_PI' undeclared (first use in this function)
> engine.c: In function 'DrawPositionedConnectingRod':
> engine.c:527: error: 'M_PI' undeclared (first use in this function)
> engine.c: In function 'SquareWithHole':
> engine.c:551: error: 'M_PI' undeclared (first use in this function)
> gmake: *** [engine.o] Error 1
> *** Error code 1
> 
> Stop in /usr/home/tuser/mesa/progs.
> 
> Error in file 'math.h', at this moment, there are two such FreeBSD
> file: '/usr/include/math.h' and '/usr/include/c + +/4.2/tr1/math.h'
> connects the second, a directive M_PI it not, therefore, have to
> manually specify. Of course the best option would have been to include
> this policy in the assembly script 'configure', or 'configs/freebsd*',
> but now I have another busy little =)
> Good luck!

Fixed in git. Thanks.

-Brian


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to