"structure has no member named `count'" message during RPM install

This issue affects the following system configurations:

  • ATI Proprietary Linux Driver 3.9.0 or earlier
  • Linux kernel version 2.6.6 and later

Current Fedora Core and Mandrake Linux distributions use 2.6.6 and later kernels. Other distributions may also be affected.

During an rpm installation, and again whenever running make.sh to compile the fglrx kernel module, the following message will appear:
/lib/modules/fglrx-3.7.6/build_mod/2.6.x/agpgart_be.c: In function `agp_generic_alloc_page':
/lib/modules/fglrx-3.7.6/build_mod/2.6.x/agpgart_be.c:1405: structure has no member named `count'
/lib/modules/fglrx-3.7.6/build_mod/2.6.x/agpgart_be.c: In function `ali_alloc_page':
/lib/modules/fglrx-3.7.6/build_mod/2.6.x/agpgart_be.c:4416: structure has no member named `count'
make[2]: *** [/lib/modules/fglrx-3.7.6/build_mod/2.6.x/agpgart_be.o] Error 1
make[1]: *** [/lib/modules/fglrx-3.7.6/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.6-mm2'
make: *** [kmod_build] Error 2
build succeeded with return value 0

The module build appears to succeed with a return value of 0, but did indeed fail. A "file not found" error message will appear when trying to install the module afterwards.

This issue has been resolved in ATI Proprietary Linux Driver version 3.11 and later.