Announcement

Collapse
No announcement yet.

AMD Catalyst 8.5 For Linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #41
    can not compile fglrx on 2.6.25.4

    This is what I get when I'm trying to compile the kernel module:

    (/lib/modules/fglrx/build_mod)# sh make.sh
    ATI module generator V 2.0
    ==========================
    initializing...
    cleaning...
    patching 'highmem.h'...
    assuming new VMA API since we do have kernel 2.6.x...
    Assuming default VMAP API
    Assuming default munmap API
    doing Makefile based build for kernel 2.6.x and higher
    make -C /lib/modules/2.6.25.4_daniell3.0/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
    make[1]: Entering directory `/usr/src/linux-2.6.25.4'
    CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:889: warning: function declaration isn't a prototype
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_pci_enable_device_bars':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1684: warning: passing argument 1 of 'pci_read_config_word' from incompatible pointer type
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1696: warning: passing argument 1 of 'pci_write_config_word' from incompatible pointer type
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_put_user_ptr':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1801: warning: cast from pointer to integer of different size
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1801: warning: cast from pointer to integer of different size
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1801: warning: cast from pointer to integer of different size
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1801: warning: cast from pointer to integer of different size
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_check_pci':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2126: error: implicit declaration of function 'pci_find_slot'
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2126: warning: assignment makes pointer from integer without a cast
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_pci_find_slot':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3048: warning: cast to pointer from integer of different size
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_unregister_ioctl32_conversion':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3193: warning: 'return' with a value, in function returning void
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KAS_SlabCache_Initialize':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5447: warning: cast from pointer to integer of different size
    make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
    make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.25.4'
    make: *** [kmod_build] Error 2
    build failed with return value 2


    This is linux kernel version 2.6.25.4, and a Debian sid system.

    Anyone can help me with this?

    Thanks!

    Comment


    • #42
      ATI module generator V 2.0
      ==========================
      initializing...
      cleaning...
      patching 'highmem.h'...
      assuming new VMA API since we do have kernel 2.6.x...
      Assuming default VMAP API
      Assuming default munmap API
      doing Makefile based build for kernel 2.6.x and higher
      make -C /lib/modules/2.6.26-rc2/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
      make[1]: Entering directory `/usr/src/linux-2.6.26-rc2'
      CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:889: warning: function declaration isn't a prototype
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_pci_enable_device_bars':
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1684: warning: passing argument 1 of 'pci_read_config_word' from incompatible pointer type
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1696: warning: passing argument 1 of 'pci_write_config_word' from incompatible pointer type
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_check_pci':
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2126: warning: 'pci_find_slot' is deprecated (declared at include/linux/pci.h:515)
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_get_vm_phys_addr':
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2563: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2563: error: (Each undeclared identifier is reported only once
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2563: error: for each function it appears in.)
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_get_vm_page_table':
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2611: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_TestAndClearPageDirtyFlag':
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2739: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_pci_find_slot':
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3048: warning: 'pci_find_slot' is deprecated (declared at include/linux/pci.h:515)
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3776: error: unknown field 'nopage' specified in initializer
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3776: warning: initialization from incompatible pointer type
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3794: error: unknown field 'nopage' specified in initializer
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3794: warning: initialization from incompatible pointer type
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3801: error: unknown field 'nopage' specified in initializer
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3801: warning: initialization from incompatible pointer type
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3808: error: unknown field 'nopage' specified in initializer
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3808: warning: initialization from incompatible pointer type
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3815: error: unknown field 'nopage' specified in initializer
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3815: warning: initialization from incompatible pointer type
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3822: error: unknown field 'nopage' specified in initializer
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3822: warning: initialization from incompatible pointer type
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3829: error: unknown field 'nopage' specified in initializer
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3829: warning: initialization from incompatible pointer type
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3838: error: unknown field 'nopage' specified in initializer
      /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3838: warning: initialization from incompatible pointer type
      make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
      make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2




      2.6.26-rc2 on Debian Sid

      Comment


      • #43
        Where should libatiadlxx.so live?

        Originally posted by maligor View Post
        The new libatiadlxx.so that appeared looks to me like a library for accessing and manipulating ATIFGLEXTENSION.
        The Fedora package .spec file template is broken (again) and so didn't install this shared object. Can you tell me which directory your installer put it in, please?

        Thanks,
        Chris

        Comment


        • #44
          Technical support and discussion of the open-source AMD Radeon graphics drivers.


          EDIT: fixed wrong link ;-)

          Comment


          • #45
            Thanks, but...

            Originally posted by NeoBrain View Post
            Thanks, I was able to build the package last night etc, but was actually wondering if libatiadlxx.so actually belonged in /usr/X11R6/lib. I was also getting some "signal 11" errors in my Xorg.0.log file, and I was wondering if maybe these were because the driver had failed to find and load libatiadlxx.so.

            Technical support and discussion of the open-source AMD Radeon graphics drivers.

            Comment


            • #46
              A quick question:
              Is it possible to use this driver with a 9250 AGP card?
              (tried it on Hardy, didn't work)

              Comment


              • #47
                A quick question:
                Is it possible to use this driver with a 9250 AGP card?
                (tried it on Hardy, didn't work)
                The release notes don't say anything about 9200, so I guess it isn't supported.
                However, your card is afaik well supported by the open source radeon driver, sou you may want to check that one out.

                Thanks, I was able to build the package last night etc, but was actually wondering if libatiadlxx.so actually belonged in /usr/X11R6/lib. I was also getting some "signal 11" errors in my Xorg.0.log file, and I was wondering if maybe these were because the driver had failed to find and load libatiadlxx.so.
                I don't think it's linked with that. Not even the fglrx devs do such mistakes and crash just because they couldn't find the shared object without even telling that in any log.
                And from what I got from google, the failing call vm86 shouldn't be used in portable applications, i.e. it's very unlikely that the driver itself called it.

                Comment


                • #48
                  Related to my compiling problem:

                  fglrx needs the old init_mm symbol, but it was marked as "unused symbol" in 2.6.25. With this release, setting CONFIG_UNUSED_SYMBOLS to "y" should work, but.....there is a possibility to export it on a 2.6.26-rcX system?

                  Thanks

                  Comment


                  • #49
                    Does not load DRM module here either!!!

                    Kernel 2.6.25.4-23 openSuSE 11 beta3 64bit

                    Comment


                    • #50
                      Oh my God!

                      GCC is not installed by default at KDE4 Live cd of SUSE 11!!

                      I ll try again now!

                      EDIT: Oh no! Not even 'make' was there!!
                      Last edited by djdoo; 22 May 2008, 10:01 AM.

                      Comment

                      Working...
                      X