View Single Post
  #12  
Old 9th April 2006, 08:17
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok so installing ia32-libs worked great and i was able to build my debian sarge ati driver packages.
Hit another roadblock when i tried to auto install fglrx with module-assistant:

dh_testroot
rm -f configure-stamp
rm -f fglrx.ko fglrx.mod.c *.o libfglrx_ip.a
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
rm -rf patch
dh_clean
rm /usr/src/modules/fglrx/debian/control
rm /usr/src/modules/fglrx/debian/dirs
if [ -f /usr/src/modules/fglrx/debian/control.template ]; then \
cat /usr/src/modules/fglrx/debian/control.template > /usr/src/modules/fglrx/debian/control; \
fi
if [ -f /usr/src/modules/fglrx/debian/postinst ]; then \
mv /usr/src/modules/fglrx/debian/postinst /usr/src/modules/fglrx/debian/fglrx-kernel-2.6.16.1Hellfire.postinst; \
fi
dh_testdir
touch configure-stamp
dh_testdir
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fglrx modules
make[1]: Entering directory `/usr/src/linux-2.6.16.1'
CC [M] /usr/src/modules/fglrx/agp3.o
CC [M] /usr/src/modules/fglrx/nvidia-agp.o
CC [M] /usr/src/modules/fglrx/agpgart_be.o
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_init':
/usr/src/modules/fglrx/agpgart_be.c:8175: warning: `pm_register' is deprecated (declared at include/linux/pm_legacy.h:16)
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_cleanup':
/usr/src/modules/fglrx/agpgart_be.c:8185: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm_legacy.h:26)
/usr/src/modules/fglrx/agpgart_be.c: At top level:
/usr/src/modules/fglrx/agpgart_be.c:6079: warning: `ati_gart_base' defined but not used
CC [M] /usr/src/modules/fglrx/i7505-agp.o
CC [M] /usr/src/modules/fglrx/firegl_public.o
In file included from /usr/src/modules/fglrx/firegl_public.c:162:
/usr/src/modules/fglrx/firegl_public.h:268:5: warning: "FIREGL_VMA_INFO" is not defined
In file included from /usr/src/modules/fglrx/drm_proc.h:41,
from /usr/src/modules/fglrx/firegl_public.c:333:
/usr/src/modules/fglrx/drmP.h:561:5: warning: "__HAVE_VBL_IRQ" is not defined
/usr/src/modules/fglrx/drmP.h:664:5: warning: "__HAVE_VBL_IRQ" is not defined
/usr/src/modules/fglrx/drmP.h:936:5: warning: "__HAVE_SG" is not defined
/usr/src/modules/fglrx/firegl_public.c:407:5: warning: "FIREGL_VMA_INFO" is not defined
/usr/src/modules/fglrx/firegl_public.c:426:5: warning: "FIREGL_VMA_INFO" is not defined
/usr/src/modules/fglrx/firegl_public.c: In function `firegl_stub_putminor':
/usr/src/modules/fglrx/firegl_public.c:581: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
/usr/src/modules/fglrx/firegl_public.c:583: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:572)
/usr/src/modules/fglrx/firegl_public.c: In function `firegl_stub_register':
/usr/src/modules/fglrx/firegl_public.c:603: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:571)
/usr/src/modules/fglrx/firegl_public.c:634: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
/usr/src/modules/fglrx/firegl_public.c: In function `firegl_put_user_ptr':
/usr/src/modules/fglrx/firegl_public.c:1317: warning: cast from pointer to integer of different size
/usr/src/modules/fglrx/firegl_public.c:1317: warning: cast from pointer to integer of different size
/usr/src/modules/fglrx/firegl_public.c:1317: warning: cast from pointer to integer of different size
/usr/src/modules/fglrx/firegl_public.c:1317: warning: cast from pointer to integer of different size
/usr/src/modules/fglrx/firegl_public.c: In function `__ke_no_iommu':
/usr/src/modules/fglrx/firegl_public.c:2356: error: `no_iommu' undeclared (first use in this function)
/usr/src/modules/fglrx/firegl_public.c:2356: error: (Each undeclared identifier is reported only once
/usr/src/modules/fglrx/firegl_public.c:2356: error: for each function it appears in.)
/usr/src/modules/fglrx/firegl_public.c: In function `__ke_unregister_ioctl32_conversion':
/usr/src/modules/fglrx/firegl_public.c:2533: warning: `return' with a value, in function returning void
/usr/src/modules/fglrx/firegl_public.c: At top level:
/usr/src/modules/fglrx/firegl_public.c:3621: warning: initialization from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c:3622: warning: initialization from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c:3623: warning: initialization from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c:3624: warning: initialization from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c:3625: warning: initialization from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c:3626: warning: initialization from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c:3627: warning: initialization from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c:3628: warning: initialization from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c:3630: warning: initialization from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c:3640: warning: function declaration isn't a prototype
/usr/src/modules/fglrx/firegl_public.c: In function `test_inter_module_interface':
/usr/src/modules/fglrx/firegl_public.c:3706: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
/usr/src/modules/fglrx/firegl_public.c:3712: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
/usr/src/modules/fglrx/firegl_public.c: In function `__ke_agp_allocate_memory_phys_list':
/usr/src/modules/fglrx/firegl_public.c:3970: warning: passing arg 3 of pointer to function makes integer from pointer without a cast
/usr/src/modules/fglrx/firegl_public.c: In function `__ke_agp_bind_memory':
/usr/src/modules/fglrx/firegl_public.c:4009: warning: passing arg 1 of pointer to function from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c: In function `__ke_agp_unbind_memory':
/usr/src/modules/fglrx/firegl_public.c:4022: warning: passing arg 1 of pointer to function from incompatible pointer type
make[2]: *** [/usr/src/modules/fglrx/firegl_public.o] Error 1
make[1]: *** [_module_/usr/src/modules/fglrx] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.1'
make: *** [build] Error 2

Not sure what happened here, is this a problem with kernel modules or something?
And also, I was wondering since i have agpgart enabled in my kernel (I checked in the menuconfig and can't seem to be able to remove the module) will this affect my 3d performance at all? According to ATI it's best to remove this in order to use fglrx internal AGP support, but I'm not sure how to do that.

BTW, thanks for volunteering all this time and help, mucho appreciado hombre!
Reply With Quote