Bug 13362 - Error with i915tex in file dri_bufmgr.c
Summary: Error with i915tex in file dri_bufmgr.c
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-22 17:40 UTC by Mangamaniac
Modified: 2007-12-03 16:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Mangamaniac 2007-11-22 17:40:24 UTC
I try to compile the latest Mesa on my Fujitsu Simens notebook with a GMA 950 and Gentoo and get following compile error: 

make[6]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.2/work/Mesa-7.0.2/src/mesa/drivers/dri/i915tex'
make[6]: Entering directory `/var/tmp/portage/media-libs/mesa-7.0.2/work/Mesa-7.0.2/src/mesa/drivers/dri/i915tex'
i686-pc-linux-gnu-gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../include/GL/internal -I../../../../../src/mesa -I../../../../../src/mesa/main -I../../../../../src/mesa/glapi -I../../../../../src/mesa/math -I../../../../../src/mesa/transform -I../../../../../src/mesa/shader -I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri `pkg-config --cflags libdrm`  -O2 -march=i686 -pipe -fno-strict-aliasing -fPIC -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -I../intel  ../common/dri_bufmgr.c -o ../common/dri_bufmgr.o
In file included from ../common/dri_bufmgr.c:37:
../common/dri_bufmgr.h:83: Fehler: expected declaration specifiers or »...« before »drmBOList«
../common/dri_bufmgr.h:84: Fehler: expected »)« before »*« token
../common/dri_bufmgr.h:85: Fehler: expected »)« before »*« token
../common/dri_bufmgr.h:87: Fehler: expected declaration specifiers or »...« before »drmBOList«
../common/dri_bufmgr.c: In Funktion »driFenceBuffers«:
../common/dri_bufmgr.c:102: Warnung: Übergabe des Arguments 3 von »drmFenceBuffers«  erzeugt Ganzzahl von Zeiger ohne Typkonvertierung
../common/dri_bufmgr.c:102: Fehler: Zu wenige Argumente für Funktion »drmFenceBuffers«
../common/dri_bufmgr.c: Auf höchster Ebene:
../common/dri_bufmgr.c:437: Fehler: expected declaration specifiers or »...« before »drmBOList«
../common/dri_bufmgr.c: In Funktion »driBOCreateList«:
../common/dri_bufmgr.c:440: Fehler: »list« nicht deklariert (erste Benutzung in dieser Funktion)
../common/dri_bufmgr.c:440: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
../common/dri_bufmgr.c:440: Fehler: für jede Funktion in der er auftritt.)
../common/dri_bufmgr.c: Auf höchster Ebene:
../common/dri_bufmgr.c:445: Fehler: expected »)« before »*« token
../common/dri_bufmgr.c:453: Fehler: expected »)« before »*« token
../common/dri_bufmgr.c:487: Fehler: expected declaration specifiers or »...« before »drmBOList«
../common/dri_bufmgr.c: In Funktion »driBOValidateList«:
../common/dri_bufmgr.c:490: Fehler: »list« nicht deklariert (erste Benutzung in dieser Funktion)
make[6]: *** [../common/dri_bufmgr.o] Fehler 1
make[6]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.2/work/Mesa-7.0.2/src/mesa/drivers/dri/i915tex'
make[5]: *** [subdirs] Fehler 1
make[5]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.2/work/Mesa-7.0.2/src/mesa/drivers/dri'
make[4]: *** [linux-solo] Fehler 2
make[4]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.2/work/Mesa-7.0.2/src/mesa'
make[3]: *** [default] Fehler 2
make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.2/work/Mesa-7.0.2/src/mesa'
make[2]: *** [subdirs] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.2/work/Mesa-7.0.2/src'
make[1]: *** [default] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.2/work/Mesa-7.0.2'
make: *** [linux-dri-x86] Fehler 2
 ?[31;01m*?[0m 
 ?[31;01m*?[0m ERROR: media-libs/mesa-7.0.2 failed.
 ?[31;01m*?[0m Call stack:
 ?[31;01m*?[0m           ebuild.sh, line 1701:  Called dyn_compile
 ?[31;01m*?[0m           ebuild.sh, line 1039:  Called qa_call 'src_compile'
 ?[31;01m*?[0m           ebuild.sh, line   44:  Called src_compile
 ?[31;01m*?[0m   mesa-7.0.2.ebuild, line  213:  Called die
 ?[31;01m*?[0m The specific snippet of code:
 ?[31;01m*?[0m   	emake -j1 ${CONFIG} || die "Build failed"
 ?[31;01m*?[0m  The die message:
 ?[31;01m*?[0m   Build failed
Comment 1 Sérgio M. Basto 2007-11-22 17:56:57 UTC
this maybe is because libdrm is not 2.3.0 ,
anyway you could delete i915tex dir safely 
Comment 2 Mangamaniac 2007-11-24 05:11:25 UTC
(In reply to comment #1)
> this maybe is because libdrm is not 2.3.0 ,
> anyway you could delete i915tex dir safely 
> 

hmm I allready use libdrm 2.3.0 but still no success. 
When I remove the i810 flag I'm able to compile mesa without problems, but then i get no 3D acceleration for my card :-/
Comment 3 Michael Fu 2007-12-03 16:59:35 UTC
should be fixed in git tip. please verify...


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.