pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

graphics/MesaLib build failure with gcc 4.9.2 on Solaris 10 sparc



Hi,

I'm trying to build pkgsrc MesaLib with external gcc 4.9.2 on Solaris
10 and am stopping with the following error:

Making all in .
gmake[4]: Entering directory
`/usr/pkgsrc/graphics/MesaLib/work/mesa-10.5.3/src/mesa'
  CC       main/accum.lo
  ...
  CC       state_tracker/st_atom_array.lo
In file included from state_tracker/st_atom_array.c:46:0:
../../src/gallium/auxiliary/util/u_math.h: In function 'u_bit_scan64':
../../src/gallium/auxiliary/util/u_math.h:594:4: error: implicit
declaration of function 'ffsll'
[-Werror=implicit-function-declaration]
    int i = ffsll(*mask) - 1;
    ^
cc1: some warnings being treated as errors
gmake[4]: *** [state_tracker/st_atom_array.lo] Error 1
gmake[4]: Leaving directory
`/usr/pkgsrc/graphics/MesaLib/work/mesa-10.5.3/src/mesa'
gmake[3]: *** [all-recursive] Error 1

Anyone know how to get past this?

Thanks!


Home | Main Index | Thread Index | Old Index