Public bug reported: Binary package hint: fglrx-kernel-source
I tried to build a vanilla 2.6.19.1 on edgy with fglrx modules ii fglrx-kernel-source 8.28.8+2.6.17.6-1 ATI binary kernel module source The build system is a macpro amd64 and it doesn't run correctly with the 2.6.17 and doesn't boot at all with 2.6.18 ... Currently running a 2.6.19.1 package created for debian (but debians fglrx package is not compatible with ubuntus fglrx package so I need to recompile) None the less ... Building the kernel on edgy with: make-kpkg --revision=ubuntu.0.1 --append_to_version=-umacpro --added_modules=fglrx-kernel kernel_image kernel_headers modules_image 1) First error is in module fglrx-kernel that Makefile does not exist -> This can be fixed by extracting the tarball again and copy the Makefile to Makefile.kbuild (Makefile gets replaced by build scripts with a link to Makefile.kbuild which usually does not exist. 2) fglrx is depending on and checking for /usr/src/linux-2.6.19.1/include/linux/config.h which has been removed. It can be created to be able to continue the configuration process but it was long known to be removed at some time ... 3) Still the build of fglrx fails on edgy with the following error: make[1]: Betrete Verzeichnis '/usr/src/modules/fglrx-kernel' echo "ROOT_CMD = " ROOT_CMD = /usr/bin/make -w -f debian/rules binary_modules make[2]: Betrete Verzeichnis '/usr/src/modules/fglrx-kernel' # select which makefile to use. rm -f /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/Makefile || true cd /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x ; \ ln -s Makefile.kbuild Makefile ; \ cd .. ; \ #nothing here anymore touch configure-stamp if [ -f /usr/src/modules/fglrx-kernel/debian/control.template ]; then \ cp /usr/src/modules/fglrx-kernel/debian/control.template /usr/src/modules/fglrx-kernel/debian/control; \ fi dh_testdir dh_testroot PATCHLEVEL = 6 Kernel compiler version : 4.1.1 Detected compiler version : 4.1.1 Using compiler gcc-4.1 version 4.1.1 touch /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/gcc-check touch /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/cc-sanity-check ## Main Make ## IGNORE_CC_MISMATCH=1 CC="gcc-4.1" /usr/bin/make -C /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x -f Makefile SYSSRC=/usr/src/linux-2.6.19.1 EXTRAVERSION=.1-umacpro KBUILD_PARAMS="-C /usr/src/linux-2.6.19.1 SUBDIRS=/usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x" make[3]: Betrete Verzeichnis '/usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x' /usr/bin/make -C /lib/modules/2.6.19.1-macpro/build SUBDIRS=/usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x modules make[4]: Betrete Verzeichnis '/usr/src/linux-2.6.19.1' CC [M] /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.o /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c:233: error: ‘UTS_RELEASE’ undeclared here (not in a function) /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c:447: warning: initialization from incompatible pointer type /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_stub_open’: /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c:570: warning: assignment discards qualifiers from pointer target type /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_put_user_ptr’: /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c:1330: warning: cast from pointer to integer of different size /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c:1330: warning: cast from pointer to integer of different size /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c:1330: warning: cast from pointer to integer of different size /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c:1330: warning: cast from pointer to integer of different size /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_request_irq’: /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c:2496: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_unregister_ioctl32_conversion’: /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c:2519: warning: ‘return’ with a value, in function returning void /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_vm_map’: /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c:3179: error: ‘VM_SHM’ undeclared (first use in this function) /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c:3179: error: (Each undeclared identifier is reported only once /usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.c:3179: error: for each function it appears in.) make[5]: *** [/usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x/firegl_public.o] Fehler 1 make[4]: *** [_module_/usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x] Fehler 2 make[4]: Verlasse Verzeichnis '/usr/src/linux-2.6.19.1' make[3]: *** [kmod_build] Fehler 2 make[3]: Verlasse Verzeichnis '/usr/src/modules/fglrx-kernel/fglrx/build_mod/2.6.x' make[2]: *** [build-stamp] Fehler 2 make[2]: Verlasse Verzeichnis '/usr/src/modules/fglrx-kernel' make[1]: *** [kdist_image] Fehler 2 make[1]: Verlasse Verzeichnis '/usr/src/modules/fglrx-kernel' Module /usr/src/modules/fglrx-kernel failed. Hit return to Continue ** Affects: linux-restricted-modules-2.6.20 (Ubuntu) Importance: Undecided Status: Unconfirmed -- Error building fglrx modules with 2.6.19.1 on edgy https://launchpad.net/bugs/77153 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs