Hi friends,
After installing RPM package,
rpm -ivh bcm4400-3.0.7-1.src.rpm
...then changing directory as,
cd /usr/src/redhat
...then attempting to build object file,
rmpbuild -bb SPECS/bcm4400.spec, error outs as,
#-----------------------------------------------
+ umask 022
+ cd /usr/src/redhat/BUILD
+ CD BCM4400-3.0.7
+ LANG=C
+ export LANG
+ make bcm4400.o
Makefile:18: *** Linux kernel source
tree not found Stop.
error: Bad exit status from /var/tmp
/rpm-tmp.7053 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.7053 (%build)
#-----------------------------------------------
Line 18 of the makefile is:
ifeq ($(LINUX),)
$(error Linux kernel source tree not found)
endif
...attempted assigning LINUX variable
to /usr/src/redhat instead of /usr/src/linux
in the makefile, which did not build the
object file. Any thoughts?
Thanks,
dts
|