1 |
On Thu, 8 Aug 2002 14:51:10 +1000 |
2 |
Jonathan Kelly <j0n@×××××××.au> wrote: |
3 |
|
4 |
> On Mon, 5 Aug 2002 08:32:50 -0700 |
5 |
> Ryan Phillips <rphillips@g.o> wrote: |
6 |
> |
7 |
> > * Jonathan Kelly <j0n@×××××××.au> [2002-08-05 08:22]: |
8 |
> > > On Sun, 4 Aug 2002 20:21:06 -0700 |
9 |
> > > Ryan Phillips <rphillips@g.o> wrote: |
10 |
> > > |
11 |
> > > > I have included a masked version of the new povray 3.5 ebuild into |
12 |
> > > > the portage tree. Povray's package has changed to an autoconf |
13 |
> > > > system, and the source needs to be patched for gcc 3.1 to get it to |
14 |
> > > > compile correctly (atleast on my machine). |
15 |
> > > > |
16 |
> > > I'm getting this error on compiling ... |
17 |
> > > <snip> |
18 |
> > > g++ -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\" |
19 |
> > > -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/etc\" -march=i686 -O3 |
20 |
> > > -pipe -finline-functions -ffast-math -ansi -c `if [ "Xgcc" = |
21 |
> > > "Xgcc" ]; then echo "-Wno-multichar"; fi ` -c file_pov.cpp |
22 |
> > > express.cpp: In function `void Parse_Num_Factor(double *, int *)': |
23 |
> > > express.cpp:724: implicit declaration of function `int acosh(...)' |
24 |
> > > express.cpp:727: implicit declaration of function `int asinh(...)' |
25 |
> > > express.cpp:730: implicit declaration of function `int atanh(...)' |
26 |
> > > express.cpp:1023: warning: assignment to `int' from `double' |
27 |
> > > g++ -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\" |
28 |
> > > -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/etc\" -march=i686 -O3 |
29 |
> > > -pipe -finline-functions -ffast-math -ansi -c `if [ "Xgcc" = |
30 |
> > > "Xgcc" ]; then echo "-Wno-multichar"; fi ` -c fncode.cpp |
31 |
> > > make: *** [express.o] Error 1 |
32 |
> > > make: *** Waiting for unfinished jobs.... |
33 |
> > > |
34 |
> > > !!! ERROR: The ebuild did not complete successfully. |
35 |
> > > !!! Function src_compile, Line 90, Exitcode 2 |
36 |
> > > !!! (no error message) |
37 |
> > > |
38 |
> > > !!! emerge aborting on |
39 |
> > > /usr/portage/media-gfx/povray/povray-3.50a.ebuild. |
40 |
> > > |
41 |
> > |
42 |
> > Hi Jonathan, |
43 |
> > |
44 |
> > which version of gcc and USE flags? |
45 |
> > |
46 |
> > -ryan |
47 |
> > |
48 |
> |
49 |
> I'm using 2.95.3-r7 |
50 |
> |
51 |
> I found the problem ... I removed the -ansi from CPPFLAGS in the ebuild |
52 |
> script and it compiled. |
53 |
> |
54 |
> Could I also suggest you remove the -static from LDFLAGS? |
55 |
|
56 |
This fix has been committed to CVS. |
57 |
|
58 |
-ryan |