pkgsrc-Bugs archive

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

pkg/48548: MesaLib #error Unknown Endianness (sparc)

>Number:         48548
>Category:       pkg
>Synopsis:       MesaLib #error Unknown Endianness (sparc)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 24 10:30:00 +0000 2014
>Originator:     Dmitry Kalichkin
>Release:        NetBSD 6.1.2
NetBSD  6.1.2 NetBSD 6.1.2 (GENERIC) sparc

While building graphics/MesaLib (7.11.2) on NetBSD/sparc, I've got:

gcc -c -o state_tracker/st_atom.o state_tracker/st_atom.c -DFEATURE_GL=1 
-DHAVE_POSIX_MEMALIGN -DUSE_XSHM -I../../include -I../../src/glsl 
-I../../src/mesa -I../../src/mapi -I../../src/gallium/include 
-I../../src/gallium/auxiliary  -I/usr/pkg/include -I/usr/X11R7/include 
-DUSE_NATIVE_LIBM_FUNCS -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include 
-Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -O2 
-I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -fPIC -fvisibility=hidden
In file included from ../../src/gallium/include/pipe/p_compiler.h:32:0,
                 from ../../src/gallium/include/pipe/p_defines.h:31,
                 from state_tracker/st_atom.c:32:
../../src/gallium/include/pipe/p_config.h:152:2: error: #error Unknown 
make[2]: *** [state_tracker/st_atom.o] Error 1
make[2]: Leaving directory 
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/graphics/MesaLib/work/Mesa-7.11.2/src'
gmake: *** [default] Error 1
*** Error code 2

make: stopped in /usr/pkgsrc/graphics/MesaLib

Have NetBSD/sparc
cd /usr/pkgsrc/graphics/MesaLib (or any package depends of it, i.e. 
make package
I've found solution of similar problem: , but I 
can't apply it by myself.

Home | Main Index | Thread Index | Old Index