Package: rt2500-source Version: 1.1.0+cvs20050710-3 Severity: normal Hi
I just tried to compile the driver inside local 2.6.12 kernel sources inside my home directory: It didn't work. The kernel itself, the kernel-docs and the kernel headers compiled without probs minutes before. I tried to compile rt2500 like this: time MAKEFLAGS="CC=gcc-4.0" fakeroot make-kpkg --append-to-version=+orinoco-patched --revision +050703 modules_image Following is the typescript of the build session for rt2500, including the 'tar -xzvf' part: The whole thing manually reformatted for better readability. I deleted the part where I was not in the appropriate directory, IIRC, to do the build. And yes: It looks ugly: Please don't blame me: I didn't make the script tool .. :) Thanks for listening. Regards Wolfgang _________________________________________________________ Script started on Sun Aug 7 19:34:54 2005 ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12shorty@ 19:34:54:$ ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12shorty@ 19:34:57:$ ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12shorty@ 19:34:58:$ pwd /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12 ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12shorty@ 19:35:01:$ ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12shorty@ 19:35:02:$ ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12shorty@ 19:35:02:$ (reverse-i-search)`': e': exitn': env | grep [EMAIL PROTECTED]': [6Pshorty@ 19:35:02:$ env | grep LOC MODULE MODULE_LOC=/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/ ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12shorty@ 19:35:26:$ ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12shorty@ 19:35:28:$ ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12shorty@ 19:35:28:$ tar -xzvf /usr/src/ modules/ rpm/ rt2500.tar.gz shorty@ 19:35:28:$ tar -xzvf /usr/src/rt2500.tar.gz modules/ modules/rt2500/ modules/rt2500/debian/ modules/rt2500/debian/rules modules/rt2500/debian/docs modules/rt2500/debian/copyright modules/rt2500/debian/compat modules/rt2500/debian/changelog modules/rt2500/debian/docs.modules.in modules/rt2500/debian/control.modules.in modules/rt2500/CHANGELOG modules/rt2500/THANKS modules/rt2500/FAQ modules/rt2500/2.4.x/ modules/rt2500/Makefile modules/rt2500/README modules/rt2500/RT2500STA.dat modules/rt2500/TESTING modules/rt2500/assoc.c modules/rt2500/auth.c modules/rt2500/auth_rsp.c modules/rt2500/connect.c modules/rt2500/eeprom.c modules/rt2500/ifcfg-ra0 modules/rt2500/iwpriv_usage.txt modules/rt2500/load modules/rt2500/md5.c modules/rt2500/md5.h modules/rt2500/mlme.c modules/rt2500/mlme.h modules/rt2500/oid.h modules/rt2500/rt2560.h modules/rt2500/rt_config.h modules/rt2500/rtmp.h modules/rt2500/rtmp_data.c modules/rt2500/rtmp_def.h modules/rt2500/rtmp_info.c modules/rt2500/rtmp_init.c modules/rt2500/rtmp_main.c modules/rt2500/rtmp_tkip.c modules/rt2500/rtmp_type.h modules/rt2500/rtmp_wep.c modules/rt2500/sanity.c modules/rt2500/sync.c modules/rt2500/unload modules/rt2500/wpa.c modules/rt2500/wpa.h modules/rt2500/2.6.x/ modules/rt2500/docs/ [ ... ] ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12shorty@ 19:39:40:$ cd linux-2.6.11/ ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/linux-2.6.11shorty@ 19:39:48:$ ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/linux-2.6.11shorty@ 19:39:49:$ ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/linux-2.6.11shorty@ 19:39:50:$ pwd /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/linux-2.6.11 ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/linux-2.6.11shorty@ 19:39:52:$ ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/linux-2.6.11shorty@ 19:39:52:$ ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/linux-2.6.11shorty@ 19:39:53:$ pwdcd linux-2.6.11/time MAKEFLAGS="CC=gcc-4.0" fakeroot make-kpkg --append-to-ve ersion=+orinoco-patched --revision +050703 modules_image Please ignore the warning about overriding and ignoring targets above. These are harmless. They are only invoked in a part of the process that tries to snarf variable values for the conf.vars file. echo done > stamp-configure for module in /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500 ; do \ if test -d $module; then \ (cd $module; \ if ./debian/rules KVERS="2.6.12+orinoco-patched" KSRC="/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/linux-2.6.11" \ KMAINT="Wolfgang Pfeiffer" KEMAIL="[EMAIL PROTECTED]" \ KPKG_DEST_DIR="/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/linux-2.6.11/.." \ KPKG_MAINTAINER="Wolfgang Pfeiffer" \ KPKG_EXTRAV_ARG="EXTRAVERSION=+orinoco-patched" \ ARCH="ppc" \ KDREV="+050703" kdist_image; then \ echo "Module $module processed fine"; \ else \ echo "Module $module failed."; \ if [ "X" != "X" ]; then \ echo "Perhaps $module does not understand --rootcmd?"; \ echo "If you see messages that indicate that it is not"; \ echo "in fact being built as root, please file a bug "; \ echo "against $module."; \ fi; \ echo "Hit return to Continue"; \ read ans; \ fi; \ ); \ else \ echo "Module $module does not exist"; \ echo "Hit return to Continue?"; \ fi; \ done make[1]: Entering directory `/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500' /usr/bin/make -w -f debian/rules kdist_clean kdist_config binary-modules make[2]: Entering directory `/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500' touch config.mk \ && /usr/bin/make clean make[3]: Entering directory `/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500' make[3]: Leaving directory `/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500' dh_clean dh_clean: cannot read debian/control: No such file or directory make[2]: [kdist_clean] Error 1 (ignored) /usr/bin/gcc-4.0 for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.12+orinoco-patched/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/2.6.12+orinoco-patched/g ;s/#KVERS#/2.6.12+orinoco-patched/g ; s/_KVERS_/2.6.12+orinoco-patched/g ; s/##KDREV##/+050703/g ; s/#KDREV#/+050703/g ; s/_KDREV_/+050703/g' < $templ > ${templ%.modules.in}; \ done # Install module dh_installdirs lib/modules/2.6.12+orinoco-patched/kernel/drivers/net/wireless # Build modules /usr/bin/make KERNDIR=/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/linux-2.6.11 PATCHLEVEL=6 make[3]: Entering directory `/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500' make[4]: Entering directory `/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/linux-2.6.11' CC [M] /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp_main.o In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp_main.c:48: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:140:2: warning: #warning Compiling for big endian machine. In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/mlme.h:38, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp.h:45, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:147, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp_main.c:48: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:286: warning: 'packed' attribute ignored /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:287: warning: 'packed' attribute ignored CC [M] /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/mlme.o In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/mlme.c:42: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:140:2: warning: #warning Compiling for big endian machine. In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/mlme.h:38, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp.h:45, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:147, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/mlme.c:42: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:286: warning: 'packed' attribute ignored /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:287: warning: 'packed' attribute ignored CC [M] /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/connect.o In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/connect.c:35: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:140:2: warning: #warning Compiling for big endian machine. In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/mlme.h:38, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp.h:45, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:147, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/connect.c:35: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:286: warning: 'packed' attribute ignored /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:287: warning: 'packed' attribute ignored CC [M] /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/sync.o In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/sync.c:36: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:140:2: warning: #warning Compiling for big endian machine. In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/mlme.h:38, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp.h:45, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:147, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/sync.c:36: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:286: warning: 'packed' attribute ignored /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:287: warning: 'packed' attribute ignored CC [M] /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/assoc.o In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/assoc.c:35: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:140:2: warning: #warning Compiling for big endian machine. In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/mlme.h:38, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp.h:45, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:147, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/assoc.c:35: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:286: warning: 'packed' attribute ignored /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:287: warning: 'packed' attribute ignored CC [M] /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/auth.o In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/auth.c:34: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:140:2: warning: #warning Compiling for big endian machine. In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/mlme.h:38, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp.h:45, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:147, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/auth.c:34: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:286: warning: 'packed' attribute ignored /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:287: warning: 'packed' attribute ignored CC [M] /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/auth_rsp.o In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/auth_rsp.c:34: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:140:2: warning: #warning Compiling for big endian machine. In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/mlme.h:38, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp.h:45, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:147, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/auth_rsp.c:34: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:286: warning: 'packed' attribute ignored /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:287: warning: 'packed' attribute ignored CC [M] /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp_data.o In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp_data.c:41: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:140:2: warning: #warning Compiling for big endian machine. In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/mlme.h:38, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp.h:45, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:147, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp_data.c:41: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:286: warning: 'packed' attribute ignored /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:287: warning: 'packed' attribute ignored CC [M] /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp_init.o In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp_init.c:38: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:140:2: warning: #warning Compiling for big endian machine. In file included from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/mlme.h:38, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp.h:45, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rt_config.h:147, from /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp_init.c:38: /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:286: warning: 'packed' attribute ignored /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/oid.h:287: warning: 'packed' attribute ignored /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp_init.c: In function 'RTMPAllocDMAMemory': /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp.h:2494: sorry, unimplemented: inlining failed in call to 'RTMPDescriptorEndianChange': function body not available /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp_init.c:362: sorry, unimplemented: called from here make[5]: *** [/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500/rtmp_init.o] Error 1 make[4]: *** [_module_/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500] Error 2 make[4]: Leaving directory `/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/linux-2.6.11' rt2500.ko failed to build! make[3]: *** [module] Error 1 make[3]: Leaving directory `/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500' make[2]: *** [binary_modules] Error 2 make[2]: Leaving directory `/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500' make[1]: *** [kdist_build] Error 2 make[1]: Leaving directory `/home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500' Module /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/modules/rt2500 failed. Hit return to Continue real 0m24.441s user 0m18.736s sys 0m2.625s ]0;shorty@ /home/shorty/sources.2.6/kernel-org-source/linux-2.6.12/linux-2.6.11shorty@ 19:40:20:$ exit Script done on Sun Aug 7 19:40:36 2005 _______________________________________________________ -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'pool') Architecture: powerpc (ppc) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12+orinoco-patched Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages rt2500-source depends on: ii debhelper 4.9.5 helper programs for debian/rules ii gcc-3.3 1:3.3.6-7 The GNU C compiler ii module-assistant 0.9.8 tool to make module package creati rt2500-source recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]