ipw2x00 builds problems
Andrzej Zawadzki
zawadaa at wp.pl
Wed Jan 19 01:14:14 CET 2005
When I want build ipw2x00.spec with bcond --without kernel_dist I have
following error:
CC [M] /home/users/zawada/rpm/BUILD/ipw2100-1.0.2/ipw2100.o
/bin/sh: scripts/basic/fixdep: not found
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
make[2]: *** [/home/users/zawada/rpm/BUILD/ipw2100-1.0.2/ipw2100.o]
Error 127
make[1]: *** [_module_/home/users/zawada/rpm/BUILD/ipw2100-1.0.2] Error 2
make: *** [modules] Error 2
make: Leaving directory `/usr/src/linux-2.6.10-rc3-mm1'
błąd: Błędny status wyjścia z /var/tmp/rpm-tmp.7383 (%build)
Build section looks like:
%build
# kernel module(s)
rm -rf built
mkdir -p built/{nondist,smp,up}
for cfg in %{?with_dist_kernel:%{?with_smp:smp}
up}%{!?with_dist_kernel:nondist}; do
if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
exit 1
fi
rm -rf include
install -d include/{linux,config}
ln -sf %{_kernelsrcdir}/config-$cfg .config
ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h
include/linux/autoconf.h
ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
touch include/config/MARKER
%{__make} -C %{_kernelsrcdir} clean \
RCS_FIND_IGNORE="-name '*.ko' -o" \
M=$PWD O=$PWD \
%{?with_verbose:V=1}
%{__make} -C %{_kernelsrcdir} modules \
CC="%{__cc}" CPP="%{__cpp}" \
M=$PWD O=$PWD \
^^^^^^^^^^^
%{?with_verbose:V=1}
mv *.ko built/$cfg
done
After remove "O=$PWD" everything is OK.
How to fix that?
--
Andrzej Zawadzki
More information about the pld-devel-en
mailing list