Can't get fglrx drivers to work properly on 64 Studio 2.0!

  • Federico
Posted: Wed, 08/22/2007 - 00:08
I can remember when I tryed 64 Studio 1.0 the only way to get my Graphic Card (an ati 9600XT) to work was to edit xorg.conf and change the device to vesa and after that to install the fglrx drivers. Having the apropiate drivers is quite importantant (correct me here if I'm wrong) beacouse it relieves the processor and let the graphic card make the work it's supposed to do. I can remember how many xruns i got when I was using the vesa driver on 64 Studio 1.0. So the problem is the I can't get the fglrx driver working properly in 64 Studio 2.0. I have been trying to install the 8.40.4 version of fglrx using this guide I found in german: http://wiki.debianforum.de/AtiTreiberInstallation. But when I get to the "m-a a-i fglrx" step I get an error saying it coudn't build the modules. At first I thought it had something to do with the kernel version because I read something about a problem with the fglrx driver and the 2.6.20 and 2.6.21 Kernel. So I tried the "workaround for linux 2.6.20" proposed at the end of the german guide I found, but it did not work. So I made an udate to the 2.6.22 kernel (I think i got it from the Studio 64 testing repos or from the updates repos, I'm not quite sure). But I got almost an identical error. Here is what I got in that try: 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.22-1-multimedia-amd64.postinst; \ fi dh_testdir touch configure-stamp dh_testdir /usr/bin/make -C /lib/modules/2.6.22-1-multimedia-amd64/build SUBDIRS=/usr/src/modules/fglrx modules make[1]: Entering directory `/usr/src/linux-headers-2.6.22-1-multimedia-amd64' CC [M] /usr/src/modules/fglrx/firegl_public.o /usr/src/modules/fglrx/firegl_public.c: In function ‘firegl_put_user_ptr’: /usr/src/modules/fglrx/firegl_public.c:1494: warning: cast from pointer to integer of different size /usr/src/modules/fglrx/firegl_public.c:1494: warning: cast from pointer to integer of different size /usr/src/modules/fglrx/firegl_public.c:1494: warning: cast from pointer to integer of different size /usr/src/modules/fglrx/firegl_public.c:1494: warning: cast from pointer to integer of different size /usr/src/modules/fglrx/firegl_public.c: In function ‘__ke_pci_find_device’: /usr/src/modules/fglrx/firegl_public.c:1886: warning: ‘pci_find_device’ is deprecated (declared at include/linux/pci.h:477) /usr/src/modules/fglrx/firegl_public.c: In function ‘__ke_request_irq’: /usr/src/modules/fglrx/firegl_public.c:2829: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:68) /usr/src/modules/fglrx/firegl_public.c:2829: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c: In function ‘__ke_unregister_ioctl32_conversion’: /usr/src/modules/fglrx/firegl_public.c:2852: 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:5306: warning: ‘kmem_cache_t’ is deprecated /usr/src/modules/fglrx/firegl_public.c: In function ‘KAS_SlabCache_Initialize’: /usr/src/modules/fglrx/firegl_public.c:5347: warning: cast from pointer to integer of different size LD [M] /usr/src/modules/fglrx/fglrx.o Building modules, stage 2. MODPOST 1 modules FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol '__rcu_read_unlock' make[2]: *** [__modpost] Error 1 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-1-multimedia-amd64' make: *** [build] Error 2 So after that I removed all the fglrx pakages and tried again using the packages provided in the etch repos. And this is what I got in that try: 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 dh_testdir touch configure-stamp dh_testdir /usr/bin/make -C /lib/modules/2.6.22-1-multimedia-amd64/build SUBDIRS=/usr/src/modules/fglrx modules make[1]: Entering directory `/usr/src/linux-headers-2.6.22-1-multimedia-amd64' CC [M] /usr/src/modules/fglrx/firegl_public.o /usr/src/modules/fglrx/firegl_public.c:145:27: error: linux/ioctl32.h: No such file or directory /usr/src/modules/fglrx/firegl_public.c:185: error: expected declaration specifiers or ‘...’ before ‘mlock’ /usr/src/modules/fglrx/firegl_public.c:185: error: expected declaration specifiers or ‘...’ before ‘addr’ /usr/src/modules/fglrx/firegl_public.c:185: error: expected declaration specifiers or ‘...’ before ‘len’ /usr/src/modules/fglrx/firegl_public.c:187: warning: return type defaults to ‘int’ /usr/src/modules/fglrx/firegl_public.c: In function ‘_syscall2’: /usr/src/modules/fglrx/firegl_public.c:187: error: expected declaration specifiers before ‘_syscall2’ /usr/src/modules/fglrx/firegl_public.c:224: error: parameter ‘__ke_debuglevel’ is initialized /usr/src/modules/fglrx/firegl_public.c:225: error: parameter ‘__ke_moduleflags’ is initialized /usr/src/modules/fglrx/firegl_public.c:228: error: storage class specified for parameter ‘__mod_author228’ /usr/src/modules/fglrx/firegl_public.c:228: error: parameter ‘__mod_author228’ is initialized /usr/src/modules/fglrx/firegl_public.c:228: warning: ‘__used__’ attribute ignored /usr/src/modules/fglrx/firegl_public.c:228: error: section attribute not allowed for ‘__mod_author228’ /usr/src/modules/fglrx/firegl_public.c:229: error: storage class specified for parameter ‘__mod_description229’ /usr/src/modules/fglrx/firegl_public.c:229: error: parameter ‘__mod_description229’ is initialized /usr/src/modules/fglrx/firegl_public.c:229: warning: ‘__used__’ attribute ignored /usr/src/modules/fglrx/firegl_public.c:229: error: section attribute not allowed for ‘__mod_description229’ /usr/src/modules/fglrx/firegl_public.c:233: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:233: error: expected declaration specifiers before ‘;’ token /usr/src/modules/fglrx/firegl_public.c:233: error: storage class specified for parameter ‘__param_perm_check_firegl’ /usr/src/modules/fglrx/firegl_public.c:233: error: parameter ‘__param_perm_check_firegl’ is initialized /usr/src/modules/fglrx/firegl_public.c:233: error: storage class specified for parameter ‘__param_str_firegl’ /usr/src/modules/fglrx/firegl_public.c:233: error: parameter ‘__param_str_firegl’ is initialized /usr/src/modules/fglrx/firegl_public.c:233: error: storage class specified for parameter ‘__param_firegl’ /usr/src/modules/fglrx/firegl_public.c:233: error: parameter ‘__param_firegl’ is initialized /usr/src/modules/fglrx/firegl_public.c:233: warning: ‘__used__’ attribute ignored /usr/src/modules/fglrx/firegl_public.c:233: error: section attribute not allowed for ‘__param_firegl’ /usr/src/modules/fglrx/firegl_public.c:233: error: alignment may not be specified for ‘__param_firegl’ /usr/src/modules/fglrx/firegl_public.c:233: error: ‘firegl’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:233: error: (Each undeclared identifier is reported only once /usr/src/modules/fglrx/firegl_public.c:233: error: for each function it appears in.) /usr/src/modules/fglrx/firegl_public.c:233: error: storage class specified for parameter ‘__mod_firegltype233’ /usr/src/modules/fglrx/firegl_public.c:233: error: parameter ‘__mod_firegltype233’ is initialized /usr/src/modules/fglrx/firegl_public.c:233: warning: ‘__used__’ attribute ignored /usr/src/modules/fglrx/firegl_public.c:233: error: section attribute not allowed for ‘__mod_firegltype233’ /usr/src/modules/fglrx/firegl_public.c:236: error: storage class specified for parameter ‘__mod_license236’ /usr/src/modules/fglrx/firegl_public.c:236: error: parameter ‘__mod_license236’ is initialized /usr/src/modules/fglrx/firegl_public.c:236: warning: ‘__used__’ attribute ignored /usr/src/modules/fglrx/firegl_public.c:236: error: section attribute not allowed for ‘__mod_license236’ /usr/src/modules/fglrx/firegl_public.c:242: error: parameter ‘__ke_UTS_RELEASE’ is initialized /usr/src/modules/fglrx/firegl_public.c:243: error: parameter ‘__ke_PAGE_SHIFT’ is initialized /usr/src/modules/fglrx/firegl_public.c:244: error: parameter ‘__ke_PAGE_SIZE’ is initialized /usr/src/modules/fglrx/firegl_public.c:245: error: parameter ‘__ke_PAGE_MASK’ is initialized /usr/src/modules/fglrx/firegl_public.c:246: error: parameter ‘__ke_LINUX_VERSION_CODE’ is initialized /usr/src/modules/fglrx/firegl_public.c:253: error: parameter ‘__ke_MODVERSIONS_State’ is initialized /usr/src/modules/fglrx/firegl_public.c:258: error: parameter ‘__ke_SMP_State’ is initialized /usr/src/modules/fglrx/firegl_public.c:269: error: parameter ‘__ke_PAE_State’ is initialized /usr/src/modules/fglrx/firegl_public.c:278: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:280: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:282: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:284: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:288: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:291: error: storage class specified for parameter ‘firegl_fops’ /usr/src/modules/fglrx/firegl_public.c:291: error: parameter ‘firegl_fops’ is initialized /usr/src/modules/fglrx/firegl_public.c:296: error: ‘ip_firegl_open’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:297: error: ‘ip_firegl_release’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:298: error: ‘ip_firegl_ioctl’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:299: error: ‘ip_firegl_mmap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:302: error: ‘ip_firegl_compat_ioctl’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:314: error: storage class specified for parameter ‘device_t’ /usr/src/modules/fglrx/firegl_public.c:316: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘firegl_public_device’ In file included from /usr/src/modules/fglrx/firegl_public.c:322: /usr/src/modules/fglrx/drm.h:104: error: storage class specified for parameter ‘drm_handle_t’ /usr/src/modules/fglrx/drm.h:105: error: storage class specified for parameter ‘drm_context_t’ /usr/src/modules/fglrx/drm.h:106: error: storage class specified for parameter ‘drm_drawable_t’ /usr/src/modules/fglrx/drm.h:107: error: storage class specified for parameter ‘drm_magic_t’ /usr/src/modules/fglrx/drm.h:124: error: storage class specified for parameter ‘drm_clip_rect_t’ /usr/src/modules/fglrx/drm.h:136: error: storage class specified for parameter ‘drm_tex_region_t’ /usr/src/modules/fglrx/drm.h:148: error: storage class specified for parameter ‘drm_hw_lock_t’ /usr/src/modules/fglrx/drm.h:182: error: storage class specified for parameter ‘drm_version_t’ /usr/src/modules/fglrx/drm.h:193: error: storage class specified for parameter ‘drm_unique_t’ /usr/src/modules/fglrx/drm.h:199: error: expected specifier-qualifier-list before ‘drm_version_t’ /usr/src/modules/fglrx/drm.h:200: error: storage class specified for parameter ‘drm_list_t’ /usr/src/modules/fglrx/drm.h:205: error: storage class specified for parameter ‘drm_block_t’ /usr/src/modules/fglrx/drm.h:221: error: storage class specified for parameter ‘drm_control_t’ /usr/src/modules/fglrx/drm.h:233: error: storage class specified for parameter ‘drm_map_type_t’ /usr/src/modules/fglrx/drm.h:247: error: storage class specified for parameter ‘drm_map_flags_t’ /usr/src/modules/fglrx/drm.h:253: error: storage class specified for parameter ‘drm_ctx_priv_map_t’ /usr/src/modules/fglrx/drm.h:265: error: expected specifier-qualifier-list before ‘drm_map_type_t’ /usr/src/modules/fglrx/drm.h:271: error: storage class specified for parameter ‘drm_map_t’ /usr/src/modules/fglrx/drm.h:284: error: storage class specified for parameter ‘drm_client_t’ /usr/src/modules/fglrx/drm.h:306: error: storage class specified for parameter ‘drm_stat_type_t’ /usr/src/modules/fglrx/drm.h:316: error: expected specifier-qualifier-list before ‘drm_stat_type_t’ /usr/src/modules/fglrx/drm.h:318: error: storage class specified for parameter ‘drm_stats_t’ /usr/src/modules/fglrx/drm.h:334: error: storage class specified for parameter ‘drm_lock_flags_t’ /usr/src/modules/fglrx/drm.h:344: error: expected specifier-qualifier-list before ‘drm_lock_flags_t’ /usr/src/modules/fglrx/drm.h:345: error: storage class specified for parameter ‘drm_lock_t’ /usr/src/modules/fglrx/drm.h:375: error: storage class specified for parameter ‘drm_dma_flags_t’ /usr/src/modules/fglrx/drm.h:397: error: storage class specified for parameter ‘drm_buf_desc_t’ /usr/src/modules/fglrx/drm.h:405: error: expected specifier-qualifier-list before ‘drm_buf_desc_t’ /usr/src/modules/fglrx/drm.h:406: error: storage class specified for parameter ‘drm_buf_info_t’ /usr/src/modules/fglrx/drm.h:415: error: storage class specified for parameter ‘drm_buf_free_t’ /usr/src/modules/fglrx/drm.h:428: error: storage class specified for parameter ‘drm_buf_pub_t’ /usr/src/modules/fglrx/drm.h:437: error: expected specifier-qualifier-list before ‘drm_buf_pub_t’ /usr/src/modules/fglrx/drm.h:438: error: storage class specified for parameter ‘drm_buf_map_t’ /usr/src/modules/fglrx/drm.h:453: error: expected specifier-qualifier-list before ‘drm_dma_flags_t’ /usr/src/modules/fglrx/drm.h:459: error: storage class specified for parameter ‘drm_dma_t’ /usr/src/modules/fglrx/drm.h:465: error: storage class specified for parameter ‘drm_ctx_flags_t’ /usr/src/modules/fglrx/drm.h:474: error: expected specifier-qualifier-list before ‘drm_context_t’ /usr/src/modules/fglrx/drm.h:476: error: storage class specified for parameter ‘drm_ctx_t’ /usr/src/modules/fglrx/drm.h:484: error: expected specifier-qualifier-list before ‘drm_ctx_t’ /usr/src/modules/fglrx/drm.h:485: error: storage class specified for parameter ‘drm_ctx_res_t’ /usr/src/modules/fglrx/drm.h:492: error: expected specifier-qualifier-list before ‘drm_drawable_t’ /usr/src/modules/fglrx/drm.h:493: error: storage class specified for parameter ‘drm_draw_t’ /usr/src/modules/fglrx/drm.h:500: error: expected specifier-qualifier-list before ‘drm_magic_t’ /usr/src/modules/fglrx/drm.h:501: error: storage class specified for parameter ‘drm_auth_t’ /usr/src/modules/fglrx/drm.h:514: error: storage class specified for parameter ‘drm_irq_busid_t’ /usr/src/modules/fglrx/drm.h:521: error: storage class specified for parameter ‘drm_vblank_seq_type_t’ /usr/src/modules/fglrx/drm.h:528: error: expected specifier-qualifier-list before ‘drm_vblank_seq_type_t’ /usr/src/modules/fglrx/drm.h:531: warning: empty declaration /usr/src/modules/fglrx/drm.h:535: error: expected specifier-qualifier-list before ‘drm_vblank_seq_type_t’ /usr/src/modules/fglrx/drm.h:539: warning: empty declaration /usr/src/modules/fglrx/drm.h:550: error: storage class specified for parameter ‘drm_wait_vblank_t’ /usr/src/modules/fglrx/drm.h:560: error: storage class specified for parameter ‘drm_agp_mode_t’ /usr/src/modules/fglrx/drm.h:573: error: storage class specified for parameter ‘drm_agp_buffer_t’ /usr/src/modules/fglrx/drm.h:584: error: storage class specified for parameter ‘drm_agp_binding_t’ /usr/src/modules/fglrx/drm.h:606: error: storage class specified for parameter ‘drm_agp_info_t’ /usr/src/modules/fglrx/drm.h:615: error: storage class specified for parameter ‘drm_scatter_gather_t’ /usr/src/modules/fglrx/drm.h:625: error: storage class specified for parameter ‘drm_set_version_t’ /usr/src/modules/fglrx/firegl_public.c:328: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token In file included from include/asm/poll.h:1, from include/linux/poll.h:4, from /usr/src/modules/fglrx/drmP.h:82, from /usr/src/modules/fglrx/drm_proc.h:41, from /usr/src/modules/fglrx/firegl_public.c:338: include/asm-generic/poll.h:35: warning: empty declaration In file included from /usr/src/modules/fglrx/drmP.h:82, from /usr/src/modules/fglrx/drm_proc.h:41, from /usr/src/modules/fglrx/firegl_public.c:338: include/linux/poll.h:24: warning: empty declaration include/linux/poll.h:29: error: storage class specified for parameter ‘poll_queue_proc’ include/linux/poll.h:32: error: expected specifier-qualifier-list before ‘poll_queue_proc’ include/linux/poll.h:33: error: storage class specified for parameter ‘poll_table’ include/linux/poll.h:35: error: expected declaration specifiers or ‘...’ before ‘poll_table’ include/linux/poll.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/linux/poll.h:41: error: expected ‘)’ before ‘*’ token include/linux/poll.h:50: warning: empty declaration include/linux/poll.h:56: error: expected specifier-qualifier-list before ‘poll_table’ include/linux/poll.h:61: warning: empty declaration include/linux/poll.h:63: error: storage class specified for parameter ‘poll_initwait’ include/linux/poll.h:64: error: storage class specified for parameter ‘poll_freewait’ include/linux/poll.h:73: error: storage class specified for parameter ‘fd_set_bits’ include/linux/poll.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/linux/poll.h:101: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/linux/poll.h:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/linux/poll.h:115: error: expected declaration specifiers or ‘...’ before ‘fd_set_bits’ include/linux/poll.h:115: error: storage class specified for parameter ‘do_select’ include/linux/poll.h:117: error: storage class specified for parameter ‘do_sys_poll’ In file included from /usr/src/modules/fglrx/drmP.h:83, from /usr/src/modules/fglrx/drm_proc.h:41, from /usr/src/modules/fglrx/firegl_public.c:338: include/asm/pgalloc.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/asm/pgalloc.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/asm/pgalloc.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/asm/pgalloc.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/asm/pgalloc.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/asm/pgalloc.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/asm/pgalloc.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/asm/pgalloc.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/asm/pgalloc.h:81: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/asm/pgalloc.h:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/asm/pgalloc.h:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/asm/pgalloc.h:104: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token include/asm/pgalloc.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token In file included from /usr/src/modules/fglrx/drm_proc.h:41, from /usr/src/modules/fglrx/firegl_public.c:338: /usr/src/modules/fglrx/drmP.h:324: error: storage class specified for parameter ‘drm_ioctl_t’ /usr/src/modules/fglrx/drmP.h:327: error: expected specifier-qualifier-list before ‘drm_ioctl_t’ /usr/src/modules/fglrx/drmP.h:330: error: storage class specified for parameter ‘drm_ioctl_desc_t’ /usr/src/modules/fglrx/drmP.h:334: error: storage class specified for parameter ‘drm_devstate_t’ /usr/src/modules/fglrx/drmP.h:337: error: expected specifier-qualifier-list before ‘drm_magic_t’ /usr/src/modules/fglrx/drmP.h:340: error: storage class specified for parameter ‘drm_magic_entry_t’ /usr/src/modules/fglrx/drmP.h:345: error: storage class specified for parameter ‘drm_magic_head_t’ /usr/src/modules/fglrx/drmP.h:351: error: storage class specified for parameter ‘drm_vma_entry_t’ /usr/src/modules/fglrx/drmP.h:382: error: storage class specified for parameter ‘drm_buf_t’ /usr/src/modules/fglrx/drmP.h:388: error: expected specifier-qualifier-list before ‘drm_buf_t’ /usr/src/modules/fglrx/drmP.h:394: error: storage class specified for parameter ‘drm_waitlist_t’ /usr/src/modules/fglrx/drmP.h:399: error: expected specifier-qualifier-list before ‘drm_buf_t’ /usr/src/modules/fglrx/drmP.h:406: error: storage class specified for parameter ‘drm_freelist_t’ /usr/src/modules/fglrx/drmP.h:414: error: expected specifier-qualifier-list before ‘drm_buf_t’ /usr/src/modules/fglrx/drmP.h:420: error: storage class specified for parameter ‘drm_buf_entry_t’ /usr/src/modules/fglrx/drmP.h:428: error: expected specifier-qualifier-list before ‘drm_magic_t’ /usr/src/modules/fglrx/drmP.h:438: error: storage class specified for parameter ‘drm_file_t’ /usr/src/modules/fglrx/drmP.h:454: error: expected specifier-qualifier-list before ‘drm_ctx_flags_t’ /usr/src/modules/fglrx/drmP.h:457: error: storage class specified for parameter ‘drm_queue_t’ /usr/src/modules/fglrx/drmP.h:463: error: expected specifier-qualifier-list before ‘drm_hw_lock_t’ /usr/src/modules/fglrx/drmP.h:467: error: storage class specified for parameter ‘drm_lock_data_t’ /usr/src/modules/fglrx/drmP.h:474: error: expected specifier-qualifier-list before ‘drm_buf_entry_t’ /usr/src/modules/fglrx/drmP.h:493: error: storage class specified for parameter ‘drm_device_dma_t’ /usr/src/modules/fglrx/drmP.h:535: error: storage class specified for parameter ‘drm_sg_mem_t’ /usr/src/modules/fglrx/drmP.h:539: error: expected specifier-qualifier-list before ‘drm_hw_lock_t’ /usr/src/modules/fglrx/drmP.h:540: error: storage class specified for parameter ‘drm_sigdata_t’ /usr/src/modules/fglrx/drmP.h:547: error: expected specifier-qualifier-list before ‘drm_map_t’ /usr/src/modules/fglrx/drmP.h:548: error: storage class specified for parameter ‘drm_map_list_t’ /usr/src/modules/fglrx/drmP.h:550: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drm_local_map_t’ /usr/src/modules/fglrx/drmP.h:557: error: expected specifier-qualifier-list before ‘drm_context_t’ /usr/src/modules/fglrx/drmP.h:559: error: storage class specified for parameter ‘drm_ctx_list_t’ /usr/src/modules/fglrx/drmP.h:594: error: expected specifier-qualifier-list before ‘drm_stat_type_t’ /usr/src/modules/fglrx/drmP.h:684: error: storage class specified for parameter ‘drm_device_t’ /usr/src/modules/fglrx/drmP.h:692: error: storage class specified for parameter ‘FGLDRM_flags’ /usr/src/modules/fglrx/drmP.h:693: error: storage class specified for parameter ‘FGLDRM_parse_options’ /usr/src/modules/fglrx/drmP.h:694: error: storage class specified for parameter ‘FGLDRM_cpu_valid’ /usr/src/modules/fglrx/drmP.h:698: error: storage class specified for parameter ‘FGLDRM_version’ /usr/src/modules/fglrx/drmP.h:699: error: storage class specified for parameter ‘FGLDRM_open’ /usr/src/modules/fglrx/drmP.h:700: error: storage class specified for parameter ‘FGLDRM_release’ /usr/src/modules/fglrx/drmP.h:702: error: storage class specified for parameter ‘FGLDRM_ioctl’ /usr/src/modules/fglrx/drmP.h:704: error: storage class specified for parameter ‘FGLDRM_lock’ /usr/src/modules/fglrx/drmP.h:706: error: storage class specified for parameter ‘FGLDRM_unlock’ /usr/src/modules/fglrx/drmP.h:707: error: storage class specified for parameter ‘FGLDRM_fb_loaded’ /usr/src/modules/fglrx/drmP.h:711: error: expected declaration specifiers or ‘...’ before ‘drm_device_t’ /usr/src/modules/fglrx/drmP.h:711: error: storage class specified for parameter ‘FGLDRM_open_helper’ /usr/src/modules/fglrx/drmP.h:712: error: storage class specified for parameter ‘FGLDRM_flush’ /usr/src/modules/fglrx/drmP.h:713: error: storage class specified for parameter ‘FGLDRM_fasync’ /usr/src/modules/fglrx/drmP.h:716: error: storage class specified for parameter ‘FGLDRM_vm_open’ /usr/src/modules/fglrx/drmP.h:717: error: storage class specified for parameter ‘FGLDRM_vm_close’ /usr/src/modules/fglrx/drmP.h:718: error: storage class specified for parameter ‘FGLDRM_vm_shm_close’ /usr/src/modules/fglrx/drmP.h:720: error: storage class specified for parameter ‘FGLDRM_mmap_dma’ /usr/src/modules/fglrx/drmP.h:721: error: storage class specified for parameter ‘FGLDRM_mmap’ /usr/src/modules/fglrx/drmP.h:722: error: storage class specified for parameter ‘FGLDRM_poll’ /usr/src/modules/fglrx/drmP.h:723: error: storage class specified for parameter ‘FGLDRM_read’ /usr/src/modules/fglrx/drmP.h:726: error: storage class specified for parameter ‘FGLDRM_mem_init’ /usr/src/modules/fglrx/drmP.h:728: error: storage class specified for parameter ‘FGLDRM_mem_info’ /usr/src/modules/fglrx/drmP.h:729: error: storage class specified for parameter ‘FGLDRM_alloc’ /usr/src/modules/fglrx/drmP.h:730: error: storage class specified for parameter ‘FGLDRM_calloc’ /usr/src/modules/fglrx/drmP.h:732: error: storage class specified for parameter ‘FGLDRM_realloc’ /usr/src/modules/fglrx/drmP.h:733: error: storage class specified for parameter ‘FGLDRM_free’ /usr/src/modules/fglrx/drmP.h:734: error: storage class specified for parameter ‘FGLDRM_alloc_pages’ /usr/src/modules/fglrx/drmP.h:736: error: storage class specified for parameter ‘FGLDRM_free_pages’ /usr/src/modules/fglrx/drmP.h:737: error: expected declaration specifiers or ‘...’ before ‘drm_device_t’ /usr/src/modules/fglrx/drmP.h:737: error: storage class specified for parameter ‘FGLDRM_ioremap’ /usr/src/modules/fglrx/drmP.h:739: error: expected declaration specifiers or ‘...’ before ‘drm_device_t’ /usr/src/modules/fglrx/drmP.h:739: error: storage class specified for parameter ‘FGLDRM_ioremap_nocache’ /usr/src/modules/fglrx/drmP.h:740: error: expected declaration specifiers or ‘...’ before ‘drm_device_t’ /usr/src/modules/fglrx/drmP.h:740: error: storage class specified for parameter ‘FGLDRM_ioremapfree’ /usr/src/modules/fglrx/drmP.h:751: error: storage class specified for parameter ‘FGLDRM_irq_by_busid’ /usr/src/modules/fglrx/drmP.h:753: error: storage class specified for parameter ‘FGLDRM_getunique’ /usr/src/modules/fglrx/drmP.h:755: error: storage class specified for parameter ‘FGLDRM_setunique’ /usr/src/modules/fglrx/drmP.h:757: error: storage class specified for parameter ‘FGLDRM_getmap’ /usr/src/modules/fglrx/drmP.h:759: error: storage class specified for parameter ‘FGLDRM_getclient’ /usr/src/modules/fglrx/drmP.h:761: error: storage class specified for parameter ‘FGLDRM_getstats’ /usr/src/modules/fglrx/drmP.h:763: error: storage class specified for parameter ‘FGLDRM_setversion’ /usr/src/modules/fglrx/drmP.h:767: error: storage class specified for parameter ‘FGLDRM_resctx’ /usr/src/modules/fglrx/drmP.h:769: error: storage class specified for parameter ‘FGLDRM_addctx’ /usr/src/modules/fglrx/drmP.h:771: error: storage class specified for parameter ‘FGLDRM_modctx’ /usr/src/modules/fglrx/drmP.h:773: error: storage class specified for parameter ‘FGLDRM_getctx’ /usr/src/modules/fglrx/drmP.h:775: error: storage class specified for parameter ‘FGLDRM_switchctx’ /usr/src/modules/fglrx/drmP.h:777: error: storage class specified for parameter ‘FGLDRM_newctx’ /usr/src/modules/fglrx/drmP.h:779: error: storage class specified for parameter ‘FGLDRM_rmctx’ /usr/src/modules/fglrx/drmP.h:781: error: expected ‘)’ before ‘*’ token /usr/src/modules/fglrx/drmP.h:782: error: expected ‘)’ before ‘*’ token /usr/src/modules/fglrx/drmP.h:790: error: storage class specified for parameter ‘FGLDRM_setsareactx’ /usr/src/modules/fglrx/drmP.h:792: error: storage class specified for parameter ‘FGLDRM_getsareactx’ /usr/src/modules/fglrx/drmP.h:796: error: storage class specified for parameter ‘FGLDRM_adddraw’ /usr/src/modules/fglrx/drmP.h:798: error: storage class specified for parameter ‘FGLDRM_rmdraw’ /usr/src/modules/fglrx/drmP.h:802: error: expected ‘)’ before ‘*’ token /usr/src/modules/fglrx/drmP.h:804: error: expected ‘)’ before ‘*’ token /usr/src/modules/fglrx/drmP.h:806: error: storage class specified for parameter ‘FGLDRM_getmagic’ /usr/src/modules/fglrx/drmP.h:808: error: storage class specified for parameter ‘FGLDRM_authmagic’ /usr/src/modules/fglrx/drmP.h:812: error: storage class specified for parameter ‘FGLDRM_noop’ /usr/src/modules/fglrx/drmP.h:816: error: storage class specified for parameter ‘FGLDRM_lock_take’ /usr/src/modules/fglrx/drmP.h:817: error: expected ‘)’ before ‘*’ token /usr/src/modules/fglrx/drmP.h:820: error: expected ‘)’ before ‘*’ token /usr/src/modules/fglrx/drmP.h:823: error: storage class specified for parameter ‘FGLDRM_notifier’ /usr/src/modules/fglrx/drmP.h:826: error: storage class specified for parameter ‘FGLDRM_order’ /usr/src/modules/fglrx/drmP.h:828: error: storage class specified for parameter ‘FGLDRM_addmap’ /usr/src/modules/fglrx/drmP.h:830: error: storage class specified for parameter ‘FGLDRM_rmmap’ /usr/src/modules/fglrx/drmP.h:898: error: expected declaration specifiers or ‘...’ before ‘drm_device_t’ /usr/src/modules/fglrx/drmP.h:902: error: expected ‘)’ before ‘*’ token /usr/src/modules/fglrx/drmP.h:908: error: storage class specified for parameter ‘FGLDRM_proc_cleanup’ /usr/src/modules/fglrx/drmP.h:911: error: expected ‘)’ before ‘*’ token /usr/src/modules/fglrx/drmP.h:914: error: expected ‘)’ before ‘*’ token /usr/src/modules/fglrx/drmP.h:918: error: expected ‘)’ before ‘*’ token /usr/src/modules/fglrx/drmP.h:921: error: expected ‘)’ before ‘*’ token In file included from /usr/src/modules/fglrx/firegl_public.c:338: /usr/src/modules/fglrx/drm_proc.h:44: error: storage class specified for parameter ‘FGLDRM_name_info’ /usr/src/modules/fglrx/drm_proc.h:46: error: storage class specified for parameter ‘FGLDRM_vm_info’ /usr/src/modules/fglrx/drm_proc.h:48: error: storage class specified for parameter ‘FGLDRM_clients_info’ /usr/src/modules/fglrx/drm_proc.h:50: error: storage class specified for parameter ‘FGLDRM_queues_info’ /usr/src/modules/fglrx/drm_proc.h:52: error: storage class specified for parameter ‘FGLDRM_bufs_info’ /usr/src/modules/fglrx/drm_proc.h:55: error: storage class specified for parameter ‘FGLDRM_vma_info’ /usr/src/modules/fglrx/drm_proc.h:64: error: parameter ‘FGLDRM_proc_list’ is initialized /usr/src/modules/fglrx/drm_proc.h:65: warning: braces around scalar initializer /usr/src/modules/fglrx/drm_proc.h:65: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:65: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/drm_proc.h:65: warning: excess elements in scalar initializer /usr/src/modules/fglrx/drm_proc.h:65: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:66: warning: braces around scalar initializer /usr/src/modules/fglrx/drm_proc.h:66: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:66: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/drm_proc.h:66: warning: excess elements in scalar initializer /usr/src/modules/fglrx/drm_proc.h:66: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:66: warning: excess elements in scalar initializer /usr/src/modules/fglrx/drm_proc.h:66: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:67: warning: braces around scalar initializer /usr/src/modules/fglrx/drm_proc.h:67: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:67: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/drm_proc.h:67: warning: excess elements in scalar initializer /usr/src/modules/fglrx/drm_proc.h:67: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:67: warning: excess elements in scalar initializer /usr/src/modules/fglrx/drm_proc.h:67: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:68: warning: braces around scalar initializer /usr/src/modules/fglrx/drm_proc.h:68: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:68: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/drm_proc.h:68: warning: excess elements in scalar initializer /usr/src/modules/fglrx/drm_proc.h:68: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:68: warning: excess elements in scalar initializer /usr/src/modules/fglrx/drm_proc.h:68: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:69: warning: braces around scalar initializer /usr/src/modules/fglrx/drm_proc.h:69: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:69: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/drm_proc.h:69: warning: excess elements in scalar initializer /usr/src/modules/fglrx/drm_proc.h:69: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:69: warning: excess elements in scalar initializer /usr/src/modules/fglrx/drm_proc.h:69: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:70: warning: braces around scalar initializer /usr/src/modules/fglrx/drm_proc.h:70: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:70: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/drm_proc.h:70: warning: excess elements in scalar initializer /usr/src/modules/fglrx/drm_proc.h:70: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:70: warning: excess elements in scalar initializer /usr/src/modules/fglrx/drm_proc.h:70: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:72: warning: braces around scalar initializer /usr/src/modules/fglrx/drm_proc.h:72: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:72: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/drm_proc.h:72: warning: excess elements in scalar initializer /usr/src/modules/fglrx/drm_proc.h:72: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:72: warning: excess elements in scalar initializer /usr/src/modules/fglrx/drm_proc.h:72: warning: (near initialization for ‘FGLDRM_proc_list’) /usr/src/modules/fglrx/drm_proc.h:90: error: expected ‘)’ before ‘*’ token /usr/src/modules/fglrx/drm_proc.h:144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/drm_proc.h:174: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/drm_proc.h:213: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/drm_proc.h:269: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/drm_proc.h:292: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/drm_proc.h:339: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/drm_proc.h:362: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/drm_proc.h:409: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/drm_proc.h:432: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/drm_proc.h:466: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/drm_proc.h:480: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/drm_proc.h:537: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:344: error: storage class specified for parameter ‘drm_proclist’ /usr/src/modules/fglrx/firegl_public.c:344: error: parameter ‘drm_proclist’ is initialized /usr/src/modules/fglrx/firegl_public.c:356: error: storage class specified for parameter ‘firegl_stub_list_t’ /usr/src/modules/fglrx/firegl_public.c:357: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘firegl_stub_list’ /usr/src/modules/fglrx/firegl_public.c:359: error: storage class specified for parameter ‘firegl_stub_root’ /usr/src/modules/fglrx/firegl_public.c:360: error: storage class specified for parameter ‘firegl_minor’ /usr/src/modules/fglrx/firegl_public.c:363: error: expected declaration specifiers or ‘...’ before ‘device_t’ /usr/src/modules/fglrx/firegl_public.c:366: error: storage class specified for parameter ‘firegl_drm_stub_info_t’ /usr/src/modules/fglrx/firegl_public.c:367: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘firegl_stub_info’ /usr/src/modules/fglrx/firegl_public.c:369: error: storage class specified for parameter ‘__ke_pte_phys_addr_str’ /usr/src/modules/fglrx/firegl_public.c:372: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:377: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:388: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:389: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:390: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:391: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:392: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:393: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:394: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:399: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:405: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:413: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:423: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:428: error: expected declaration specifiers or ‘...’ before ‘poll_table’ /usr/src/modules/fglrx/firegl_public.c:429: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:446: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:450: error: storage class specified for parameter ‘firegl_interrupt_file_ops’ /usr/src/modules/fglrx/firegl_public.c:450: error: parameter ‘firegl_interrupt_file_ops’ is initialized /usr/src/modules/fglrx/firegl_public.c:451: error: ‘firegl_interrupt_open_wrap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:452: error: ‘firegl_interrupt_read_wrap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:453: error: ‘firegl_interrupt_release_wrap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:454: error: ‘firegl_interrupt_poll_wrap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:455: error: ‘firegl_interrupt_write_wrap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:458: error: parameter ‘firegl_proc_list’ is initialized /usr/src/modules/fglrx/firegl_public.c:460: warning: braces around scalar initializer /usr/src/modules/fglrx/firegl_public.c:460: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:460: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:460: error: ‘drm_name_info_wrap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:460: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:460: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:460: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:460: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:461: warning: braces around scalar initializer /usr/src/modules/fglrx/firegl_public.c:461: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:461: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:461: error: ‘drm_mem_info_wrap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:461: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:461: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:461: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:461: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:461: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:461: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:462: warning: braces around scalar initializer /usr/src/modules/fglrx/firegl_public.c:462: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:462: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:462: error: ‘drm_mem_info1_wrap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:462: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:462: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:462: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:462: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:462: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:462: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:463: warning: braces around scalar initializer /usr/src/modules/fglrx/firegl_public.c:463: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:463: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:463: error: ‘drm_vm_info_wrap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:463: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:463: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:463: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:463: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:463: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:463: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:464: warning: braces around scalar initializer /usr/src/modules/fglrx/firegl_public.c:464: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:464: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:464: error: ‘drm_clients_info_wrap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:464: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:464: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:464: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:464: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:464: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:464: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:465: warning: braces around scalar initializer /usr/src/modules/fglrx/firegl_public.c:465: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:465: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:465: error: ‘firegl_lock_info_wrap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:465: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:465: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:465: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:465: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:465: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:465: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:466: warning: braces around scalar initializer /usr/src/modules/fglrx/firegl_public.c:466: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:466: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:466: error: ‘firegl_umm_info_wrap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:466: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:466: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:466: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:466: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:466: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:466: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:471: warning: braces around scalar initializer /usr/src/modules/fglrx/firegl_public.c:471: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:471: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:471: error: ‘firegl_bios_version_wrap’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:471: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:471: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:471: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:471: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:471: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:471: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:472: warning: braces around scalar initializer /usr/src/modules/fglrx/firegl_public.c:472: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:472: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:472: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:472: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:472: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:472: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:472: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:472: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:473: warning: braces around scalar initializer /usr/src/modules/fglrx/firegl_public.c:473: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:473: warning: initialization from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c:473: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:473: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:473: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:473: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:473: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:473: warning: (near initialization for ‘firegl_proc_list’) /usr/src/modules/fglrx/firegl_public.c:476: error: expected ‘)’ before ‘*’ token /usr/src/modules/fglrx/firegl_public.c:541: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:565: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:589: error: storage class specified for parameter ‘firegl_stub_fops’ /usr/src/modules/fglrx/firegl_public.c:589: error: parameter ‘firegl_stub_fops’ is initialized /usr/src/modules/fglrx/firegl_public.c:591: error: ‘firegl_stub_open’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:594: error: expected declaration specifiers or ‘...’ before ‘device_t’ /usr/src/modules/fglrx/firegl_public.c:595: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:614: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:631: error: expected declaration specifiers or ‘...’ before ‘device_t’ /usr/src/modules/fglrx/firegl_public.c:632: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:666: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:675: error: storage class specified for parameter ‘fglrx_pci_table’ /usr/src/modules/fglrx/firegl_public.c:675: error: parameter ‘fglrx_pci_table’ is initialized /usr/src/modules/fglrx/firegl_public.c:677: warning: braces around scalar initializer /usr/src/modules/fglrx/firegl_public.c:677: warning: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:678: error: field name not in record or union initializer /usr/src/modules/fglrx/firegl_public.c:678: error: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:678: warning: initialization makes pointer from integer without a cast /usr/src/modules/fglrx/firegl_public.c:679: error: field name not in record or union initializer /usr/src/modules/fglrx/firegl_public.c:679: error: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:679: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:679: warning: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:680: error: field name not in record or union initializer /usr/src/modules/fglrx/firegl_public.c:680: error: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:680: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:680: warning: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:681: error: field name not in record or union initializer /usr/src/modules/fglrx/firegl_public.c:681: error: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:681: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:681: warning: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:682: error: field name not in record or union initializer /usr/src/modules/fglrx/firegl_public.c:682: error: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:682: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:682: warning: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:683: error: field name not in record or union initializer /usr/src/modules/fglrx/firegl_public.c:683: error: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:683: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:683: warning: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:685: warning: braces around scalar initializer /usr/src/modules/fglrx/firegl_public.c:685: warning: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:685: warning: excess elements in scalar initializer /usr/src/modules/fglrx/firegl_public.c:685: warning: (near initialization for ‘fglrx_pci_table’) /usr/src/modules/fglrx/firegl_public.c:689: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:703: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:737: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:771: error: storage class specified for parameter ‘fglrx_pci_driver’ /usr/src/modules/fglrx/firegl_public.c:771: error: parameter ‘fglrx_pci_driver’ is initialized /usr/src/modules/fglrx/firegl_public.c:775: error: ‘fglrx_pci_probe’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:777: error: ‘fglrx_pci_suspend’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:778: error: ‘fglrx_pci_resume’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:787: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:876: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:906: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:906: error: ‘init_module’ defined both normally and as an alias /usr/src/modules/fglrx/firegl_public.c:906: error: expected declaration specifiers before ‘;’ token /usr/src/modules/fglrx/firegl_public.c:907: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:907: error: ‘cleanup_module’ defined both normally and as an alias /usr/src/modules/fglrx/firegl_public.c:907: error: expected declaration specifiers before ‘;’ token /usr/src/modules/fglrx/firegl_public.c:913: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:926: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:932: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:940: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:946: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:951: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:975: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:982: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:987: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:992: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:998: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1004: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1010: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1015: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1020: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1025: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1035: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1040: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1045: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1086: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1098: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1103: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1135: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1145: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1150: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1172: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1179: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1184: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1220: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1225: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1233: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1238: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1243: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1248: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1254: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1260: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1269: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1305: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1313: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1321: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1329: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1337: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1343: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1349: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1355: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1365: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1374: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1385: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1390: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1395: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1400: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1405: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1410: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1417: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1422: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1427: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1432: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1437: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1442: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1449: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1454: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1459: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1464: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1474: error: storage class specified for parameter ‘PFNMLOCK’ /usr/src/modules/fglrx/firegl_public.c:1475: error: storage class specified for parameter ‘PFNMUNLOCK’ /usr/src/modules/fglrx/firegl_public.c:1479: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1494: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1509: error: storage class specified for parameter ‘PFNMODIFYLDT’ /usr/src/modules/fglrx/firegl_public.c:1512: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1533: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1538: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1545: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1654: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1670: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1686: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1691: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1710: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1721: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1726: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1731: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1740: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1752: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1772: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1783: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1788: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1793: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1798: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1803: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1808: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1812: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1816: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1821: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1826: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1831: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1836: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1841: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1846: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1851: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1856: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1861: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1871: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1893: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1907: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1916: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1925: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1931: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1937: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1949: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1954: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1959: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1964: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1969: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1974: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1979: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:1984: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2004: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2036: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2051: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2151: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2156: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2161: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2166: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2171: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2176: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2181: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2191: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2202: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2215: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2220: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2225: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2230: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2235: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2240: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2245: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2252: error: storage class specified for parameter ‘cpus_waiting’ /usr/src/modules/fglrx/firegl_public.c:2255: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2270: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2306: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2315: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2324: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2333: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2343: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2352: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2360: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2365: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2370: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2375: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2380: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2385: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2390: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2395: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2401: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2406: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2411: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2416: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2424: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2429: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2434: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2439: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2444: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2449: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2454: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2462: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2467: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2486: error: storage class specified for parameter ‘irq_handler_func’ /usr/src/modules/fglrx/firegl_public.c:2489: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2497: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2505: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2513: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2522: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2533: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2539: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2556: error: storage class specified for parameter ‘mem_map_t’ /usr/src/modules/fglrx/firegl_public.c:2557: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/src/modules/fglrx/firegl_public.c:2562: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘do_vm_nopage’ /usr/src/modules/fglrx/firegl_public.c:2598: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘do_vm_shm_nopage’ /usr/src/modules/fglrx/firegl_public.c:2684: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘do_vm_dma_nopage’ /usr/src/modules/fglrx/firegl_public.c:2724: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘do_vm_kmap_nopage’ /usr/src/modules/fglrx/firegl_public.c:2762: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘do_vm_pcie_nopage’ /usr/src/modules/fglrx/firegl_public.c:2816: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vm_nopage’ /usr/src/modules/fglrx/firegl_public.c:2853: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vm_shm_nopage’ /usr/src/modules/fglrx/firegl_public.c:2867: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vm_dma_nopage’ /usr/src/modules/fglrx/firegl_public.c:2875: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vm_kmap_nopage’ /usr/src/modules/fglrx/firegl_public.c:2883: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vm_pcie_nopage’ /usr/src/modules/fglrx/firegl_public.c:2963: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2968: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2973: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2978: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2987: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:2999: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3023: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3050: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3066: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3068: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3070: error: storage class specified for parameter ‘vm_ops’ /usr/src/modules/fglrx/firegl_public.c:3070: error: parameter ‘vm_ops’ is initialized /usr/src/modules/fglrx/firegl_public.c:3072: error: ‘vm_nopage’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:3073: error: ‘ip_drm_vm_open’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:3074: error: ‘ip_drm_vm_close’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:3088: error: storage class specified for parameter ‘vm_shm_ops’ /usr/src/modules/fglrx/firegl_public.c:3088: error: parameter ‘vm_shm_ops’ is initialized /usr/src/modules/fglrx/firegl_public.c:3090: error: ‘vm_shm_nopage’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:3095: error: storage class specified for parameter ‘vm_pci_bq_ops’ /usr/src/modules/fglrx/firegl_public.c:3095: error: parameter ‘vm_pci_bq_ops’ is initialized /usr/src/modules/fglrx/firegl_public.c:3097: error: ‘vm_dma_nopage’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:3102: error: storage class specified for parameter ‘vm_ctx_ops’ /usr/src/modules/fglrx/firegl_public.c:3102: error: parameter ‘vm_ctx_ops’ is initialized /usr/src/modules/fglrx/firegl_public.c:3109: error: storage class specified for parameter ‘vm_pcie_ops’ /usr/src/modules/fglrx/firegl_public.c:3109: error: parameter ‘vm_pcie_ops’ is initialized /usr/src/modules/fglrx/firegl_public.c:3111: error: ‘vm_pcie_nopage’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:3116: error: storage class specified for parameter ‘vm_kmap_ops’ /usr/src/modules/fglrx/firegl_public.c:3116: error: parameter ‘vm_kmap_ops’ is initialized /usr/src/modules/fglrx/firegl_public.c:3118: error: ‘vm_kmap_nopage’ undeclared (first use in this function) /usr/src/modules/fglrx/firegl_public.c:3125: error: storage class specified for parameter ‘vm_agp_bq_ops’ /usr/src/modules/fglrx/firegl_public.c:3125: error: parameter ‘vm_agp_bq_ops’ is initialized /usr/src/modules/fglrx/firegl_public.c:3145: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3322: error: parameter ‘__ke_agp_try_unsupported’ is initialized /usr/src/modules/fglrx/firegl_public.c:3325: error: storage class specified for parameter ‘__fgl_agp_init’ /usr/src/modules/fglrx/firegl_public.c:3326: error: storage class specified for parameter ‘__fgl_agp_cleanup’ /usr/src/modules/fglrx/firegl_public.c:3327: error: storage class specified for parameter ‘__fgl_agp_try_unsupported’ /usr/src/modules/fglrx/firegl_public.c:3328: error: storage class specified for parameter ‘__fgl_agp_allocate_memory_phys_list’ /usr/src/modules/fglrx/firegl_public.c:3344: error: parameter ‘__ke_firegl_agpgart_inuse’ is initialized /usr/src/modules/fglrx/firegl_public.c:3360: error: storage class specified for parameter ‘drm_agp_t’ /usr/src/modules/fglrx/firegl_public.c:3371: error: storage class specified for parameter ‘firegl_agp_bridge’ /usr/src/modules/fglrx/firegl_public.c:3371: error: parameter ‘firegl_agp_bridge’ is initialized /usr/src/modules/fglrx/firegl_public.c:3372: error: storage class specified for parameter ‘firegl_pci_device’ /usr/src/modules/fglrx/firegl_public.c:3372: error: parameter ‘firegl_pci_device’ is initialized /usr/src/modules/fglrx/firegl_public.c:3376: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3381: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3386: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3392: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3398: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3403: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drm_agp’ /usr/src/modules/fglrx/firegl_public.c:3412: error: expected declaration specifiers before ‘;’ token /usr/src/modules/fglrx/firegl_public.c:3453: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/src/modules/fglrx/firegl_public.c:3562: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3588: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3596: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3621: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3635: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3641: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3649: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3657: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3665: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3674: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3705: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3716: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3722: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3788: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3794: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3865: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3881: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3887: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token /usr/src/modules/fglrx/firegl_public.c:3891: error: old-style parameter declarations in prototyped function definition /usr/src/modules/fglrx/firegl_public.c:185: error: parameter name omitted /usr/src/modules/fglrx/firegl_public.c:185: error: parameter name omitted /usr/src/modules/fglrx/firegl_public.c:185: error: parameter name omitted /usr/src/modules/fglrx/firegl_public.c:3891: error: expected ‘{’ at end of input 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-headers-2.6.22-1-multimedia-amd64' make: *** [build] Error 2 So people, any idea what I'm doing wrong? has any of you been abel to get the fglrx driver working properly? Because I can replace ati for fglrx in my xorg.conf and I actually thought everything was just fine, until I noticed that mplayer wasn't working right with the new drivers. And when I give fglrxinfo in the console i get this Mesa crap. So that means things are not working as supposed. I hope someone can help me with this.

7900

  • Quentin Harley
  • 05/24/07
  • Tue, 07/29/2008 - 06:31
The issue with that is basically the same as you ATI card. The 8xxx and 9xxx is not supported in 64 Studio yet, and it can be a PITA to get it going if you choose the wrong one. My advice: get one of the following cards - http://www.nvidia.com/object/IO_18897.html Some of these are not supported by 64 Studio out-of-box, but if you follow the nvidia-installer how-to you should get these going, with full support. For cards with out-of-box support at the moment, see /usr/share/doc/nvidia-glx/README.txt.gz for a complete list of supported GPUs and PCIIDs NVIDIA chip name Device PCI ID ---------------------------------- ---------------------------------- GeForce 6800 Ultra 0x0040 GeForce 6800 0x0041 GeForce 6800 XE 0x0043 GeForce 6800 XT 0x0044 GeForce 6800 GT 0x0045 GeForce 6800 GT 0x0046 GeForce 6800 GS 0x0047 GeForce 6800 XT 0x0048 Quadro FX 4000 0x004E GeForce 7800 GTX 0x0090 GeForce 7800 GTX 0x0091 GeForce 7800 GT 0x0092 GeForce 7800 GS 0x0093 GeForce Go 7800 0x0098 GeForce Go 7800 GTX 0x0099 Quadro FX 4500 0x009D GeForce 6800 GS 0x00C0 GeForce 6800 0x00C1 GeForce 6800 LE 0x00C2 GeForce 6800 XT 0x00C3 GeForce Go 6800 0x00C8 GeForce Go 6800 Ultra 0x00C9 Quadro FX Go1400 0x00CC Quadro FX 3450/4000 SDI 0x00CD Quadro FX 1400 0x00CE GeForce 6800 Ultra/GeForce 6800 0x00F0 GeForce 6600 GT 0x00F1 GeForce 6600 0x00F2 GeForce 6200 0x00F3 GeForce 6600 LE 0x00F4 GeForce 7800 GS 0x00F5 GeForce 6800 GS 0x00F6 Quadro FX 3400/4400 0x00F8 GeForce 6800 Ultra 0x00F9 GeForce PCX 5750 0x00FA GeForce PCX 5900 0x00FB GeForce PCX 5300/Quadro FX 330 0x00FC Quadro NVS 280 PCI-E/Quadro FX 330 0x00FD Quadro FX 1300 0x00FE GeForce PCX 4300 0x00FF GeForce 6600 GT 0x0140 GeForce 6600 0x0141 GeForce 6600 LE 0x0142 GeForce 6600 VE 0x0143 GeForce Go 6600 0x0144 GeForce 6610 XL 0x0145 GeForce Go 6600 TE/6200 TE 0x0146 GeForce 6700 XL 0x0147 GeForce Go 6600 0x0148 GeForce Go 6600 GT 0x0149 Quadro NVS 440 0x014A Quadro FX 550 0x014C Quadro FX 540 0x014E GeForce 6200 0x014F GeForce 6500 0x0160 GeForce 6200 TurboCache(TM) 0x0161 GeForce 6200 LE 0x0163 GeForce Go 6200 0x0164 Quadro NVS 285 0x0165 GeForce Go 6400 0x0166 GeForce Go 6200 0x0167 GeForce Go 6400 0x0168 GeForce 8800 GTX 0x0191 GeForce 8800 GTS 0x0193 Quadro FX 5600 0x019D Quadro FX 4600 0x019E GeForce 7300 LE 0x01D1 GeForce 7300 SE 0x01D3 Quadro NVS 110M/GeForce Go 7300 0x01D7 GeForce Go 7400 0x01D8 Quadro NVS 110M 0x01DA Quadro NVS 120M 0x01DB Quadro FX 350M 0x01DC Quadro FX 350 0x01DE GeForce 7300 GS 0x01DF GeForce 6800 0x0211 GeForce 6800 LE 0x0212 GeForce 6800 GT 0x0215 GeForce 6800 XT 0x0218 GeForce 6200 0x0221 GeForce 6150 0x0240 GeForce 6150 LE 0x0241 GeForce 6100 0x0242 GeForce Go 6100 0x0247 GeForce 7900 GTX 0x0290 GeForce 7900 GT/GTO 0x0291 GeForce 7900 GS 0x0292 GeForce 7950 GX2 0x0294 GeForce Go 7900 GS 0x0298 GeForce Go 7900 GTX 0x0299 Quadro FX 2500M 0x029A Quadro FX 1500M 0x029B Quadro FX 5500 0x029C Quadro FX 3500 0x029D Quadro FX 1500 0x029E Quadro FX 4500 X2 0x029F GeForce 7600 GS 0x02E1 GeForce FX 5800 Ultra 0x0301 GeForce FX 5800 0x0302 Quadro FX 2000 0x0308 Quadro FX 1000 0x0309 GeForce FX 5600 Ultra 0x0311 GeForce FX 5600 0x0312 GeForce FX 5600XT 0x0314 GeForce FX Go5600 0x031A GeForce FX Go5650 0x031B Quadro FX Go700 0x031C GeForce FX 5200 0x0320 GeForce FX 5200 Ultra 0x0321 GeForce FX 5200 0x0322 GeForce FX 5200LE 0x0323 GeForce FX Go5200 0x0324 GeForce FX Go5250 0x0325 GeForce FX 5500 0x0326 GeForce FX 5100 0x0327 GeForce FX Go5200 32M/64M 0x0328 Quadro NVS 55/280 PCI 0x032A Quadro FX 500/FX 600 0x032B GeForce FX Go53xx 0x032C GeForce FX Go5100 0x032D GeForce FX 5900 Ultra 0x0330 GeForce FX 5900 0x0331 GeForce FX 5900XT 0x0332 GeForce FX 5950 Ultra 0x0333 GeForce FX 5900ZT 0x0334 Quadro FX 3000 0x0338 Quadro FX 700 0x033F GeForce FX 5700 Ultra 0x0341 GeForce FX 5700 0x0342 GeForce FX 5700LE 0x0343 GeForce FX 5700VE 0x0344 GeForce FX Go5700 0x0347 GeForce FX Go5700 0x0348 Quadro FX Go1000 0x034C Quadro FX 1100 0x034E GeForce 7600 GT 0x0391 GeForce 7600 GS 0x0392 GeForce 7300 GT 0x0393 GeForce Go 7600 0x0398 Quadro FX 560 0x039E

Let's say, for example, that

  • Locar
  • 07/23/08
  • Mon, 07/28/2008 - 21:08
Let's say, for example, that I determined a couple things: 1. Even when the ATI driver is working it doesn't provide satisfactory results. 2. 3 days tinkering = 3 days lost work = buy another card. What card would you recommend as the best for 64Studio using Cinelerra? I basically need good OpenGL support but I'm not doing anything crazy yet. I've heard someone say nVidia 7900 over the 8xxx or 9xxx series. Does that hold to be true? Having trouble finding a 7900 at my fav online store.

Practical in Wdoze

  • Quentin Harley
  • 05/24/07
  • Mon, 07/28/2008 - 20:26
I have a ATI card I got from my brother that I will try in a new system I have to build for someone else. I'll try it in there and let you know. I just have a few things on the go, and will probably get to thet over the weekend.

Quentin, Any idea what is

  • Locar
  • 07/23/08
  • Mon, 07/28/2008 - 20:15
Quentin, Any idea what is going on with ATI drivers? I'm still having trouble. I can get the ATI driver installed in pretty much any fashion, but under no circumstance will the kernel module compile which leaves me with a super slow x in which 2D graphics jump and movies play at less than full speed. If I download the driver from the ATI website I can use their fancy installer and everything works great. After installation if I examine the log file it says kernel module compilation failed for pretty much the same "GPL" reason as listed above. The installer says it succeeded - but the log says no. Still, it works but worse than with VESA. So I removed that and installed the source from apt.64studio.com which was the same as the newest drivers from ATI. 8.7.1 right now. But when I go through the flgrx-source package to compile the kernel module I get the error: debin/rules:28: *** the unpacked source (1:8-7-1~etch1) doesn't match the fglrx-kernel-src package () And then the same old "FATAL: modpost: GPL-incompatible module...." blah blah. Any idea how I can get this working? This is day #3 I've spent on this blasted card (Asus EAH03650 Silent). It installed in Ubuntu no problem, but enabling any desktop effects causes jump and screen skips while watching movies. Certainly not practical cards are they!

keep at it

  • Quentin Harley
  • 05/24/07
  • Thu, 07/24/2008 - 07:08
ATI is allegedly working on the drivers...

No longer works...

  • sydb
  • 06/05/07
  • Mon, 05/05/2008 - 01:46
This procedure no longer seems to work with 2.1 rc2 and/or the latest radeon drivers. But I downloaded the ATI driver from their website onto a clean 2.1 rc2 install and just ran the installer, which worked. The free radeon driver which comes with 64 Studio/Debian must be removed from the running kernel otherwise the fglrx module won't load. So you have to switch to a text console (ctrl+alt+f1), hit F2, login as root, /etc/init.d/gdm stop, rmmod radeon, aticonfig --initial then /etc/init.d/gdm start should bring up Gnome with your ATI fglrx driver loaded. -- Michael Pacey

Catalyst 8.1

  • Federico
  • 08/21/07
  • Sat, 02/09/2008 - 02:34
Using sydb's instructions i got the last fglrx driver installed und runing here. Well it was a catastrophe using aiglx+compiz. These drivers are really bad I think. I regret so much having bought an ATI cad...

Seems to work OK with Jack

  • sydb
  • 06/05/07
  • Sun, 12/23/2007 - 20:29
OK I've fired up jack with the ATI fglrx drivers working as described above, hooked up Zynaddsubfx and battered out a few notes, all works fine on xruns. YMMV. -- Michael Pacey

How I got fglrx to work on 64 Studio 2.0

  • sydb
  • 06/05/07
  • Sun, 12/23/2007 - 19:23
These steps apply to a 32-bit installation. I modified the instructions here, so if you're using a 64-bit install look there (Method 2) for the build steps but you'll still need to modify the source before you build the .deb packages. I installed 64 Studio on my Toshiba M70 laptop with a Radeon Mobility video chip. No display. After faffing about for a while with the driver from Etch, I reinstalled to a clean 64 Studio system and downloaded the Linux Radeon driver from the ATI website. I had to modify two lines of code in the driver source to set the license to GPL rather than proprietary. I don't know the legal status of this, you're on your own but I guess as long as you don't redistribute you'll be alright. Don't expect help or sympathy from 64 Studio support or anybody else for that matter. This is a get-it-working solution. I unpacked the drivers with: ./ati-driver-installer-8.42.3-x86.x86_64.run --extract fglrx Then in the fglrx/common/lib/modules/fglrx/build_mod directory there are a few files, you need to modify two of them: drm_compat.h firegl_public.c In drm_compat.h you need to change: #define MODULE_LICENSE(x) to #define MODULE_LICENSE("GPL") and in firegl_public.c you need to change: MODULE_LICENSE("long license string I can't remember the exact detals of") to MODULE_LICENSE("GPL"); Then run: ./packages/Debian/ati-packager.sh --buildpkg etch from the top level fglrx directory. Install the generated .deb files which end up in the directory where you first extracted the drivers, with sudo dpkg -i fglrx*deb Then: sudo m-a a-i fglrx Finally run: sudo aticonfig --initial and reboot. You can then try different options to aticonfig to customise your display but this should be enough to get it working with full 3d acceleration. Note I've not tested this with any audio apps, if you run JACK your system might crash or it might not, I have only just got my display working in the last twenty minutes, nothing more. Hope this helps someone. -- Michael Pacey

I've tried with the new

  • ggmanci
  • 07/23/08
  • Wed, 07/23/2008 - 18:53
I've tried with the new driver ati-driver-installer-8-7-x86.x86_64.run. There some problem in your procedure. I've tried these changes ./ati-driver-installer-8-7-x86.x86_64.run --extract fglrx-install cd fglrx-install then I've followed your instructions >Then in the fglrx/common/lib/modules/fglrx/build_mod directory there are a few >files, you need to modify two of them: >drm_compat.h >firegl_public.c >In drm_compat.h you need to change: >#define MODULE_LICENSE(x) >to >#define MODULE_LICENSE("GPL") >and in firegl_public.c you need to change: >MODULE_LICENSE("long license string I can't remember the exact detals of") >to >MODULE_LICENSE("GPL"); After this I've executed ./packages/Ubuntu/ati-packager.sh --buildpkg gutsy All has worked perfectly, the ".deb" are created regularly and then with sudo dpkg -i *.deb they're been correctly installed without the fatal error ("FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol '__rcu_read_lock'") I've encountered with the original procedure. So all OK? No, 'cause when gdm starts the screen goes irremediably to be black (I'm not able to restore even doing F2 (or F3...) to change to text mode console... On the ati web-site I've read a not-so-clear advice about the agpgart module and a possible conflict. But I have a via_agp module which uses agpgart, so what I should have to do? The standard old driver installed with apt-get give some problem and I'm not able to see movies on full-screen. (In this moment with many attempts and many installations and de-installations of different drivers I've even some problem with the gnome window-manager which seems non to be active in a strange way...) Have you got an idea? I try again next days (not so soon, 'cause I've spent a whole long night and I'm a bit discouraged) and I hope this can be useful for someone... Forgive my poor english, I hope you're able to understand... Bye

I support the idea of a 64

  • davidpucheta
  • 07/26/07
  • Sat, 10/06/2007 - 22:47
I support the idea of a 64 studio kernel revision cause i cant build fglrx or ndiswrapper modules againts RT kernel (everything is fine with the regular etch kernel). Im using 2.0 64 bit and its a drag to change kernels if im doing audio work and then move to use openGL (blender or games) and/or wireless networking (and viceversa). Cheers.

On the other hand...

  • fisky
  • 10/06/07
  • Sat, 10/06/2007 - 22:41
I withdraw my support for this motion - the ATI proprietary drivers aren't worth the hassle. I got the fglrx kernel module running with Etch's 2.6.18-5, only to find out that it broke Ardour, Jack Control, Skype, and even the ATI Control Panel app. The last 3 in that list all reported 'Floating point exception' on the command line, while Ardour tried to allocate itself 3Gigs of RAM (on my 512MB system, heh). Removed the fglrx packages, reverted to the 64studio kernel, and *poof*, everything worked again. I have read that the ATI drivers weren't exactly great, but I had no idea...

Same problems here

  • fisky
  • 10/06/07
  • Sat, 10/06/2007 - 16:35
I second this motion. Just spent hours trying to get the fglrx kernel module to compile on 64Studio 2.0 32-bit, and all the time I thought it was because I was a spaz with linux... Now all I gotta do is figure out how to boot an Etch kernel.

New drivers aren't working either :(

  • Federico
  • 08/21/07
  • Sat, 09/22/2007 - 15:01
I downloaded the new 8.41.7-1 fglrx driver and tryed again. Well, no luck. I wanted to make a new "clean" install of 64 Stdudio after geting the new drivers but now that I know that the new driver is not working I don't know what I'm doing next. Btw. this time I got this error (if someone understand what it means): FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol ▒ │ '__rcu_read_lock' ▒ │ make[2]: *** [__modpost] Error 1 ▒ │ make[1]: *** [modules] Error 2 ▒ │ make[1]: Leaving directory ▒ │ `/usr/src/linux-headers-2.6.22-1-multimedia-amd64' ▮ │ make: *** [build] Error 2 Is very similar to what I got with the last driver. So no luck with fglrx. Maybe Free should look in the Kernel. If other people are getting things to work with a stable etch kernel then there must be something in the realtime kernel that is preventing the fglrx modules to compile. Maybe the problem can be solved easily. I hope we get this problem solved soon, given the fact that I don't think I'm the only one using an ATI graphic card!

New drivers coming soon!

  • Federico
  • 08/21/07
  • Thu, 09/06/2007 - 11:15
Looks like AMD is releasing a new fglrx driver soon and it's supposed to be a lot better than the one we have today. It is supposed to bring "significant graphics performance and compatibility enhancements". So hopefuly the new driver will work with 64 Studio!

A normal kernel?

  • Federico
  • 08/21/07
  • Mon, 09/03/2007 - 23:15
so what am I supposed to do with a normal kernel? If I'm using 64 studio is because I want to use it! If I install a normal kernel I could just installl debian and forget jack!

try a normal kernel

  • dani
  • 08/31/07
  • Fri, 08/31/2007 - 16:31
It happen this to me before (with ubuntu studio) The problem was that I was using a real time kernel. Just install a normal kernel and build the driver from there ...... it will work! good luck!

Here again

  • Federico
  • 08/21/07
  • Wed, 08/22/2007 - 16:03
I can remember when I tryed 64 Studio 1.0 the only way to get my Graphic Card (an ati 9600XT) to work was to edit xorg.conf and change the device to vesa and after that to install the fglrx drivers. Having the apropiate drivers is quite importantant (correct me here if I'm wrong) beacouse it relieves the processor and let the graphic card make the work it's supposed to do. I can remember how many xruns i got when I was using the vesa driver on 64 Studio 1.0. So the problem is that I can't get the fglrx driver working properly in 64 Studio 2.0. I have been trying to install the 8.40.4 version of fglrx using this guide I found in german: http://wiki.debianforum.de/AtiTreiberInstallation. But when I get to the "m-a a-i fglrx" step I get an error saying it coudn't build the modules. At first I thought it had something to do with the kernel version because I read something about a problem with the fglrx driver and the 2.6.20 and 2.6.21 Kernel. So I tried the "workaround for linux 2.6.20" proposed at the end of the german guide I found, but it did not work. So I made an udate to the 2.6.22 kernel (I think i got it from the Studio 64 testing repos or from the updates repos, I'm not quite sure). But I got almost an identical error. Here is what I got in that try: http://ratherbad.net/ftext/fglrx-kernel-src.buildlog.2.6.22-1-multimedia-amd64.1187749351 I think the log above is the one I got when I tried with the fglrx packages in the sid repos but I'm also quite sure that It's almost identical to the one I got when I tried the ones from ati's website. In both cases I get this "GPL-incompatible module fglrx.ko uses GPL-only symbol". I googled for that and most people say one should build it's own kernel without this paravirtualization thing. But not knowing much about this (beacous I have never build a kernel in my life), I thing in this case I have anothe problem because I'm not geting this "paravirt_ops" message. Insted I get this "__rcu_read_unlock" thing, and I have not been able to find anything about that. So after that I removed all the fglrx pakages and tried again using the packages provided in the stable etch repos. And this is what I got in that try: http://ratherbad.net/ftext/fglrx-kernel-src.buildlog.2.6.22-1-multimedia-amd64.1187731440 So people, any idea what I'm doing wrong? has any of you been abel to get the fglrx driver working properly? Because I can replace ati for fglrx in my xorg.conf and I actually thought everything was just fine, until I noticed that mplayer wasn't working right with the new drivers. And when I give fglrxinfo in the console i get this Mesa crap. So that means things are not working as supposed. I have not been able to achive the same performance I had with 64 Studio 1.0 with electric and that is because I don't have the right graphic drivers. This is not a small issue, and I know that most of the fault is ATI's. But again, I would like to throw my radeon out the window and buy an Nvidia card but I'm a poor student, and I just can't afford that at this moment. I hope someone can help me with this.

I had the same problem with

  • davidpucheta
  • 07/26/07
  • Wed, 08/29/2007 - 17:08
I had the same problem with fglrx driver and 64 studio 2.0. (tried with kernels 2.6.21 and .22) with no luck building fglrx and ndiswrapper for my wifi card. My workaround for now is using the standard stable etch kernel (currently 2.6.18-5) for blender, games and wireless networking and if I need to do audio/music work, reboot into 64 studio kernel. By the way there's a very good guide to install fglrx here: http://wiki.cchtml.com/index.php/Debian_Installation_Guide

It doesn't seem to work.

  • Federico
  • 08/21/07
  • Wed, 08/22/2007 - 15:34
I really think I'm posting too much and something isn't working so I'll upload the buildlog files somwhere else and just post the links.

wtf?

  • Federico
  • 08/21/07
  • Wed, 08/22/2007 - 00:14
Where the hell is the body of my post? Is it posible that it was too long and now nothing is been showed?

Please try again

  • Quentin Harley
  • 05/24/07
  • Wed, 08/22/2007 - 06:16
Use the "Preview post" button to make sure it is going to show. It should, as it is based on HTML, and will just keep going down...