On Saturday 13 October 2012 22:30:05 Armin K. wrote:
> On 10/14/2012 04:04 AM, lux-integ wrote:
> > ########
> > I have libdrm-2.4.39 installed and nouveau-drm from the git reposotiry
> > (19th September) also.  Both are installed in $XORG_PREFIX.  There is no
> > nouveau_device.h   in $XORG_PREFIX/include/....
> > 
> > advice will beappreciated.
> > 
> > lux-integ
> 
> Please fix up your headers before posting next time to this list. Your
> mail is few hours in the future.
have tried
 
> As for the problem, you can't use MesaLib 8.0 with libdrm 2.4.39 if you
> are building per BLFS instructions. Either use MesaLib 9.0 with libdrm
> 2.4.39, disable nouveau DRI and Gallium drivers  in MesaLib 8.0.4 or use
> libdrm 2.4.33 with MesaLib 8.0.4 and the problem will go away.

I had a go at compiling  Mesa9.0   after compiling libdrm-2.4.39 and 
the   nouveau_device.h  " no such file or directory"  build failure problem  
did go away only to be replaced by the one below:-

###################
make[3]: Entering directory `/home/luxinteg/Mesa-9.0/src/gallium/auxiliary'
gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary -
I../../../src/gallium/drivers  -I/usr/X11R7.7/include -I/usr/include  -
I/usr/local/include -I/opt/qt4/include -march=amdfam10 -O2 -pipe -m64 -fPIC -
Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes 
-fno-strict-aliasing -fno-builtin-memcmp -fPIC -D_GNU_SOURCE -
DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -
DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -
DGLX_USE_TLS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -
DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM= -fvisibility=hidden  
cso_cache/cso_cache.c -o cso_cache/cso_cache.o
gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary -
I../../../src/gallium/drivers  -I/usr/X11R7.7/include -I/usr/include  -
I/usr/local/include -I/opt/qt4/include -march=amdfam10 -O2 -pipe -m64 -fPIC -
Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes 
-fno-strict-aliasing -fno-builtin-memcmp -fPIC -D_GNU_SOURCE -
DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -
DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -
DGLX_USE_TLS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -
DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM= -fvisibility=hidden  
cso_cache/cso_context.c -o cso_cache/cso_context.o
gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary -
I../../../src/gallium/drivers  -I/usr/X11R7.7/include -I/usr/include  -
I/usr/local/include -I/opt/qt4/include -march=amdfam10 -O2 -pipe -m64 -fPIC -
Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes 
-fno-strict-aliasing -fno-builtin-memcmp -fPIC -D_GNU_SOURCE -
DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -
DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -
DGLX_USE_TLS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -
DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM= -fvisibility=hidden  
cso_cache/cso_hash.c -o cso_cache/cso_hash.o
gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary -
I../../../src/gallium/drivers  -I/usr/X11R7.7/include -I/usr/include  -
I/usr/local/include -I/opt/qt4/include -march=amdfam10 -O2 -pipe -m64 -fPIC -
Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes 
-fno-strict-aliasing -fno-builtin-memcmp -fPIC -D_GNU_SOURCE -
DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -
DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -
DGLX_USE_TLS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -
DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM= -fvisibility=hidden  
draw/draw_context.c -o draw/draw_context.o
In file included from draw/draw_context.c:40:0:
draw/draw_vs.h:170:14: error: #if with no expression
draw/draw_context.c:43:14: error: #if with no expression
draw/draw_context.c: In function 'draw_create_context':
draw/draw_context.c:79:14: error: #if with no expression
draw/draw_context.c: In function 'draw_destroy':
draw/draw_context.c:195:7: error: implicit declaration of function 
'draw_llvm_destroy' [-Werror=implicit-function-declaration]
draw/draw_context.c: In function 'draw_set_samplers':
draw/draw_context.c:794:7: error: implicit declaration of function 
'draw_llvm_set_sampler_state' [-Werror=implicit-function-declaration]
draw/draw_context.c: In function 'draw_set_mapped_texture':
draw/draw_context.c:811:10: error: implicit declaration of function 
'draw_llvm_set_mapped_texture' [-Werror=implicit-function-declaration]
draw/draw_context.c: In function 'draw_get_shader_param':
draw/draw_context.c:844:4: error: implicit declaration of function 
'draw_get_option_use_llvm' [-Werror=implicit-function-declaration]
draw/draw_context.c:848:10: error: implicit declaration of function 
'gallivm_get_shader_param' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [draw/draw_context.o] Error 1
make[3]: Leaving directory `/home/luxinteg/Mesa-9.0/src/gallium/auxiliary'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/luxinteg/Mesa-9.0/src/gallium'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/luxinteg/Mesa-9.0/src'
make: *** [all-recursive] Error 1
###################

advice would be appreciated

sincerely
luxInteg
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to