On Nov 19, 2007 9:52 PM, Wade Nelson <[EMAIL PROTECTED]> wrote: > I'm working on getting the PlanetCCRMA kernel working on CentOS5... I > have a fine working kernel but alas I need madwifi as well. I've read > the kmdl page on the Fedora wiki as well as > http://people.atrpms.net/~pcavalcanti/LCG_kernel_modules.html<http://people.atrpms.net/%7Epcavalcanti/LCG_kernel_modules.html> > > Using rpmbuild I've managed to repeatedly build all the madwifi packages > *except* the kmdls. > > Here is the complete output of the rpmbuild command I've been running... > I don't have a 100% understanding of how the kmdl scheme works but I'm > trying to avoid the mess I got into with kmods when I did this in the > past. > > > > --------------------------------------------------------------- > > $ rpmbuild -ba --define 'kmdl_kernelsrcdir > /lib/modules/2.6.23.1-1.rt11.1.el5.ccrmart/build/' --define '_kernel > 2.6.23.1-1.rt11.1.el5.ccrmart' --define 'kmld_userland 0' madwifi.spec > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.57201 > + umask 022 > + cd /home/ccrma-build/rpmbuild/BUILD > + LANG=C > + export LANG > + unset DISPLAY > + cd /home/ccrma-build/rpmbuild/BUILD > + rm -rf madwifi-0.9.4 > + /usr/bin/bzip2 -dc > /home/ccrma-build/rpmbuild/SOURCES/madwifi-0.9.4-r2756.tar.bz2 > + tar -xf - > + STATUS=0 > + '[' 0 -ne 0 ']' > + cd madwifi-0.9.4 > ++ /usr/bin/id -u > + '[' 2000 = 0 ']' > ++ /usr/bin/id -u > + '[' 2000 = 0 ']' > + /bin/chmod -Rf a+rX,u+w,g-w,o-w . > + echo 'Patch #1 (madwifi-0.9.3-vmware.patch):' > Patch #1 (madwifi-0.9.3-vmware.patch): > + patch -p0 -s > + find . -name 'Makefile*' > + xargs perl -pi '-es,/sbin/depmod,: /sbin/depmod,' > + exit 0 > Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.79963 > + umask 022 > + cd /home/ccrma-build/rpmbuild/BUILD > + cd madwifi-0.9.4 > + LANG=C > + export LANG > + unset DISPLAY > ++ which gcc > ++ sed '-es,gcc$,,' > + export TOOLPREFIX=/usr/bin/ > + TOOLPREFIX=/usr/bin/ > + make -C tools > KERNELPATH=/lib/modules/2.6.23.1-1.rt11.1.el5.ccrmart/build/ > KERNELRELEASE=2.6.23.1-1.rt11.1.el5.ccrmart > make: Entering directory > `/home/ccrma-build/rpmbuild/BUILD/madwifi-0.9.4/tools' > gcc -o athstats -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal -I../ath > athstats.c > gcc -o 80211stats -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal > 80211stats.c > gcc -o athkey -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal athkey.c > gcc -o athchans -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal athchans.c > gcc -o athctrl -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal athctrl.c > gcc -o athdebug -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal athdebug.c > gcc -o 80211debug -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal > 80211debug.c > gcc -o wlanconfig -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal > wlanconfig.c > gcc -o ath_info -g -O2 -Wall ath_info.c > make: Leaving directory > `/home/ccrma-build/rpmbuild/BUILD/madwifi-0.9.4/tools' > + exit 0 > Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.66269 > + umask 022 > + cd /home/ccrma-build/rpmbuild/BUILD > + cd madwifi-0.9.4 > + LANG=C > + export LANG > + unset DISPLAY > + rm -rf /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot > ++ which gcc > ++ sed '-es,gcc$,,' > + export TOOLPREFIX=/usr/bin/ > + TOOLPREFIX=/usr/bin/ > + mkdir -p /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot/usr/bin > + make -C tools install > DESTDIR=/var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot BINDIR=/usr/bin > MANDIR=/usr/share/man > KERNELPATH=/lib/modules/2.6.23.1-1.rt11.1.el5.ccrmart/build/ > KERNELRELEASE=2.6.23.1-1.rt11.1.el5.ccrmart > make: Entering directory > `/home/ccrma-build/rpmbuild/BUILD/madwifi-0.9.4/tools' > install -d /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot/usr/bin > for i in athstats 80211stats athkey athchans athctrl athdebug 80211debug > wlanconfig ath_info; do \ > install $i > /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot/usr/bin/$i; > \ > strip > /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot/usr/bin/$i; > \ > done > install -d > /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot/usr/share/man/man8 > install -m 0644 man/*.8 > /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot/usr/share/man/man8 > install ../scripts/madwifi-unload > /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot/usr/bin/madwifi-unload > make: Leaving directory > `/home/ccrma-build/rpmbuild/BUILD/madwifi-0.9.4/tools' > + mv hal/COPYRIGHT hal/COPYRIGHT.hal > + mv hal/README hal/README.hal > + mkdir -p > /var/tmp/madwifi- > 0.9.4-39_r2756.RHL5-buildroot/usr/include/madwifi/net80211 > /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot/usr/include/madwifi/include > + install -m 0644 -p net80211/_ieee80211.h net80211/ieee80211.h > net80211/ieee80211_crypto.h net80211/ieee80211_debug.h > net80211/ieee80211_ioctl.h net80211/ieee80211_linux.h > net80211/ieee80211_monitor.h net80211/ieee80211_node.h > net80211/ieee80211_power.h net80211/ieee80211_proto.h > net80211/ieee80211_radiotap.h net80211/ieee80211_rate.h > net80211/ieee80211_scan.h net80211/ieee80211_var.h > net80211/if_athproto.h net80211/if_ethersubr.h net80211/if_llc.h > net80211/if_media.h net80211/version.h > /var/tmp/madwifi- > 0.9.4-39_r2756.RHL5-buildroot/usr/include/madwifi/net80211/ > + install -m 0644 -p include/compat.h > /var/tmp/madwifi- > 0.9.4-39_r2756.RHL5-buildroot/usr/include/madwifi/include/ > + /usr/lib/rpm/atrpms/find-debuginfo.sh > /home/ccrma-build/rpmbuild/BUILD/madwifi-0.9.4 > 0 blocks > find: /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot/usr/lib: No such > file or directory > + /usr/lib/rpm/atrpms/python_burninversion.sh > + /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot > + /usr/lib/rpm/atrpms/brp-compress > + /usr/lib/rpm/atrpms/brp-strip /usr/bin/strip > + /usr/lib/rpm/atrpms/brp-strip-static-archive /usr/bin/strip > + /usr/lib/rpm/atrpms/brp-strip-comment-note /usr/bin/strip > /usr/bin/objdump > Processing files: madwifi-0.9.4-39_r2756.RHL5 > Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.71917 > + umask 022 > + cd /home/ccrma-build/rpmbuild/BUILD > + cd madwifi-0.9.4 > + > DOCDIR=/var/tmp/madwifi- > 0.9.4-39_r2756.RHL5-buildroot/usr/share/doc/madwifi-0.9.4 > + export DOCDIR > + rm -rf > /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot/usr/share/doc/madwifi-0.9.4 > + /bin/mkdir -p > /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot/usr/share/doc/madwifi-0.9.4 > + cp -pr COPYRIGHT README hal/COPYRIGHT.hal hal/README.hal > /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot/usr/share/doc/madwifi-0.9.4 > + exit 0 > Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= > 3.0.3-1 > Requires: /bin/sh libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) > libc.so.6(GLIBC_2.3) madwifi-kmdl-1:0.9.4-39_r2756.RHL5 rtld(GNU_HASH) > Obsoletes: madwifi-old madwifi-ng <= 1:0.9.4-39_r2756.RHL5 > Processing files: madwifi-devel-0.9.4-39_r2756.RHL5 > Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > Processing files: madwifi-debuginfo-0.9.4-39_r2756.RHL5 > Checking for unpackaged file(s): /usr/lib/rpm/check-files > /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot > Wrote: > /home/ccrma-build/rpmbuild/SRPMS/madwifi-0.9.4-39_r2756.RHL5.src.rpm > Wrote: > /home/ccrma-build/rpmbuild/RPMS/i386/madwifi-0.9.4-39_r2756.RHL5.i386.rpm > Wrote: > /home/ccrma-build/rpmbuild/RPMS/i386/madwifi- > devel-0.9.4-39_r2756.RHL5.i386.rpm > Wrote: > /home/ccrma-build/rpmbuild/RPMS/i386/madwifi- > debuginfo-0.9.4-39_r2756.RHL5.i386.rpm > Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.36242 > + umask 022 > + cd /home/ccrma-build/rpmbuild/BUILD > + cd madwifi-0.9.4 > + rm -rf /var/tmp/madwifi-0.9.4-39_r2756.RHL5-buildroot > + exit 0 > > --------------------------------------------------------------- > > I don't see any errors, but like I said I'm not 100% familiar with this > kmdl scheme yet. > Any help getting the actual kmdls built would be greatly appreciated, > Thanks. > > > > ---------------------- > Wade Nelson > [EMAIL PROTECTED] > "I may have to share this planet with animals, > but I'm doing my damn best to eat every last one of them." > > There is a typo here:
--define 'kmld_userland 0' it is --define 'kmdl_userland 0' -- Paulo Roma Cavalcanti LCG - UFRJ
_______________________________________________ atrpms-users mailing list [email protected] http://lists.atrpms.net/mailman/listinfo/atrpms-users
