Results 1 to 2 of 2

Thread: Failed to build fglrx driver

  1. #1
    Just burned his ISO
    Join Date
    Sep 2009
    Posts
    6

    Default Failed to build fglrx driver

    Hello, iam on Backtrack 5 gnome 32 bits, and i can't compile fglrx driver, i see in make.log this error:

    Code:
    DKMS make.log for fglrx-8.723.1 for kernel 2.6.38 (i686)
    Mon May 16 00:01:54 CEST 2011
    AMD kernel module generator version 2.1
    make.sh: line 373: [: =: unary operator expected
    doing Makefile based build for kernel 2.6.x and higher
    rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers
    make -C /lib/modules/2.6.38/build SUBDIRS=/var/lib/dkms/fglrx/8.723.1/build/2.6.x modules
    make[1]: Entering directory `/usr/src/linux-source-2.6.38'
    
      WARNING: Symbol version dump /usr/src/linux-source-2.6.38/Module.symvers
               is missing; modules will have no dependencies and modversions.
    
      CC [M]  /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.o
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:402: error: unknown field ‘ioctl’ specified in initializer
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:402: warning: initialization from incompatible pointer type
    In file included from /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:443:
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/drm_proc.h: In function ‘FGLDRM__vma_info’:
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/drm_proc.h:497: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 5 has type ‘phys_addr_t’
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c: In function ‘fglrx_pci_suspend’:
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:833: error: implicit declaration of function ‘acquire_console_sem’
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:855: error: implicit declaration of function ‘release_console_sem’
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c: In function ‘KCL_SetPageCache_Array’:
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:1316: warning: passing argument 1 of ‘KCL_ConvertPageToKernelAddress’ makes pointer from integer without a cast
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.h:325: note: expected ‘void *’ but argument is of type ‘long unsigned int’
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c: In function ‘__ke__cmpxchg’:
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:1473: error: variable or field ‘__ret’ declared void
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:1473: error: variable or field ‘__old’ declared void
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:1473: error: variable or field ‘__new’ declared void
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c: In function ‘KCL_MapPageToPfn’:
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:1615: warning: unused variable ‘bus_addr’
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c: In function ‘KAS_Mutex_Initialize’:
    /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:5051: error: implicit declaration of function ‘init_MUTEX’
    make[2]: *** [/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.o] Error 1
    make[1]: *** [_module_/var/lib/dkms/fglrx/8.723.1/build/2.6.x] Error 2
    make[1]: Leaving directory `/usr/src/linux-source-2.6.38'
    make: *** [kmod_build] Error 2
    build failed with return value 2
    Any ideas?

    Thanks you

  2. #2
    Just burned his ISO
    Join Date
    May 2011
    Posts
    1

    Default Re: Failed to build fglrx driver

    I'm getting the same error when I try to compile my Rosewill RNX-N180UBE wireless. I don't know if the driver is just missing a header or what but any suggestions would be appreciated.

Similar Threads

  1. Nvidia driver NOT working, failed to start X session
    By jack0m in forum Beginners Forum
    Replies: 9
    Last Post: 07-02-2010, 02:30 PM
  2. rt73.ko failed to build?
    By imported_slasher in forum OLD Newbie Area
    Replies: 6
    Last Post: 08-05-2009, 05:25 AM
  3. Fatal Server Error: AddScreen/ScreenInit failed for driver 0
    By blueteeth in forum OLD BT4beta Bugs and Fixes
    Replies: 5
    Last Post: 03-14-2009, 04:42 PM
  4. IPW2200 - driver patching failed and now it's dead
    By Zonkk in forum OLD Newbie Area
    Replies: 1
    Last Post: 12-30-2008, 06:50 AM
  5. Can Not Build New R8187 Driver
    By DeadWolf in forum OLD BackTrack 3 Final
    Replies: 1
    Last Post: 07-17-2008, 02:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •