915gm - intel driver - debian

berek kr992 at interia.pl
Fri Oct 27 00:25:53 PDT 2006


(sorry for my bad english)

Hello

 Im continuing fight with intel drivers from thread
http://lists.freedesktop.org/archives/xorg/2006-October/018971.html
http://lists.freedesktop.org/archives/xorg/2006-October/018896.html
this reffer also to:
http://lists.freedesktop.org/archives/xorg/2006-September/018418.html
http://lists.freedesktop.org/archives/xorg/2006-September/018444.html

At start i want tell that im not any developer and i do not know how to 
programing , Im only a simple linux user , so i do not know many thing and 
that is why i have hard time

but
with error in IEGD_Patches in intel_interfaces.c about struct_sem i had 
compare drmP.h from kernel (2.6.18) and from i915-20060403-linux.i386 from 
intel site , but without libGL.so compiled , so in new kernel this struct was 
in other name -> struct_mutex
when i rename struct in intel_interfaces.c problem was gone

but i have next problem in intel_interfaces_2611.c:

rm -f intel*.o intel*.ko intel*.mod.c
rm -fr .intel* .tmp*
make -C /lib/modules/2.6.18/build M=/usr/src/IEGD_Patches/Drm modules
make[1]: Wejście do katalogu `/usr/src/linux-2.6.18'
  CC [M]  /usr/src/IEGD_Patches/Drm/intel_drv.o
In file included from include/linux/pci.h:24,
                 from /lib/modules/2.6.18/build/drivers/char/drm/drmP.h:54,
                 from /usr/src/IEGD_Patches/Drm/intel_drv.c:42:
include/linux/pci_ids.h:2202:1: warning: "PCI_DEVICE_ID_INTEL_82945GM_HB" 
redefined
include/linux/pci_ids.h:2163:1: warning: this is the location of the previous 
definition
include/linux/pci_ids.h:2203:1: warning: "PCI_DEVICE_ID_INTEL_82945GM_IG" 
redefined
include/linux/pci_ids.h:2164:1: warning: this is the location of the previous 
definition
  CC [M]  /usr/src/IEGD_Patches/Drm/intel_interface.o
In file included from include/linux/pci.h:24,
                 from /lib/modules/2.6.18/build/drivers/char/drm/drmP.h:54,
                 from /usr/src/IEGD_Patches/Drm/intel_interface.c:41:
include/linux/pci_ids.h:2202:1: warning: "PCI_DEVICE_ID_INTEL_82945GM_HB" 
redefined
include/linux/pci_ids.h:2163:1: warning: this is the location of the previous 
definition
include/linux/pci_ids.h:2203:1: warning: "PCI_DEVICE_ID_INTEL_82945GM_IG" 
redefined
include/linux/pci_ids.h:2164:1: warning: this is the location of the previous 
definition
/usr/src/IEGD_Patches/Drm/intel_interface.c: In function 'intel_getpages':
/usr/src/IEGD_Patches/Drm/intel_interface.c:144: warning: assignment discards 
qualifiers from pointer target type
/usr/src/IEGD_Patches/Drm/intel_interface.c:188: warning: passing argument 1 
of'down' from incompatible pointer type
/usr/src/IEGD_Patches/Drm/intel_interface.c:190: warning: passing argument 1 
of'up' from incompatible pointer type
/usr/src/IEGD_Patches/Drm/intel_interface.c: In function 'intel_freepages':
/usr/src/IEGD_Patches/Drm/intel_interface.c:237: warning: passing argument 1 
of'down' from incompatible pointer type
/usr/src/IEGD_Patches/Drm/intel_interface.c:256: warning: passing argument 1 
of'up' from incompatible pointer type
/usr/src/IEGD_Patches/Drm/intel_interface.c:275: warning: passing argument 1 
of'up' from incompatible pointer type
/usr/src/IEGD_Patches/Drm/intel_interface.c: In function 'intel_prerelease':
/usr/src/IEGD_Patches/Drm/intel_interface.c:408: warning: passing argument 1 
of'down' from incompatible pointer type
/usr/src/IEGD_Patches/Drm/intel_interface.c:453: warning: passing argument 1 
of'up' from incompatible pointer type
  CC [M]  /usr/src/IEGD_Patches/Drm/intel_interface_265.o
In file included from include/linux/pci.h:24,
                 from /lib/modules/2.6.18/build/drivers/char/drm/drmP.h:54,
                 from /usr/src/IEGD_Patches/Drm/intel_interface_265.c:42:
include/linux/pci_ids.h:2202:1: warning: "PCI_DEVICE_ID_INTEL_82945GM_HB" 
redefined
include/linux/pci_ids.h:2163:1: warning: this is the location of the previous 
definition
include/linux/pci_ids.h:2203:1: warning: "PCI_DEVICE_ID_INTEL_82945GM_IG" 
redefined
include/linux/pci_ids.h:2164:1: warning: this is the location of the previous 
definition
  CC [M]  /usr/src/IEGD_Patches/Drm/intel_interface_2611.o
In file included from include/linux/pci.h:24,
                 from /lib/modules/2.6.18/build/drivers/char/drm/drmP.h:54,
                 from /usr/src/IEGD_Patches/Drm/intel_interface_2611.c:42:
include/linux/pci_ids.h:2202:1: warning: "PCI_DEVICE_ID_INTEL_82945GM_HB" 
redefined
include/linux/pci_ids.h:2163:1: warning: this is the location of the previous 
definition
include/linux/pci_ids.h:2203:1: warning: "PCI_DEVICE_ID_INTEL_82945GM_IG" 
redefined
include/linux/pci_ids.h:2164:1: warning: this is the location of the previous 
definition
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:169: warning: excess elements 
in struct initializer
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:169: warning: (near 
initialization for 'intel_ioctls[1]')
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:170: warning: excess elements 
in struct initializer
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:170: warning: (near 
initialization for 'intel_ioctls[2]')
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:171: warning: excess elements 
in struct initializer
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:171: warning: (near 
initialization for 'intel_ioctls[3]')
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:172: warning: excess elements 
in struct initializer
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:172: warning: (near 
initialization for 'intel_ioctls[4]')
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:197: error: unknown field 
'prerelease' specified in initializer
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:197: warning: initialization 
makes integer from pointer without a cast
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:198: error: unknown field 
'postinit' specified in initializer
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:198: warning: initialization 
from incompatible pointer type
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:202: error: unknown field 
'version' specified in initializer
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:202: warning: initialization 
from incompatible pointer type
/usr/src/IEGD_Patches/Drm/intel_interface_2611.c:239: error: 'drm_flush' 
undeclared here (not in a function)
make[2]: *** [/usr/src/IEGD_Patches/Drm/intel_interface_2611.o] Błąd 1
make[1]: *** [_module_/usr/src/IEGD_Patches/Drm] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.18'
make: *** [modules] Błąd 2

Could someone look at code and do any patch to IEGD_Patches from intel ?
or tell me a clue ? cause i do not know how to programing in C 
(when i try with 2.6.11 kernel were errors too)

Mike

----------------------------------------------------------------------
Kliknij i zacznij dobrze zarabiac. Zyskaj 7% na lokacie! 
A moze jeszcze wiecej na najlepszych funduszach! 
Oferta dostepna tylko w Open Finance: http://link.interia.pl/f19ae






More information about the xorg mailing list