![](https://seccdn.libravatar.org/avatar/9f7000f89204b80709be5ba8ce9fc7e8.jpg?s=120&d=mm&r=g)
hi i would like to know if the makefile can have an impact on the specfile? i create a specfile step by step BuildRoot: %{_tmppath}/%{name}-%{version} %description spca5xx video for linux (v4l) driver, providing support for webcams and digital cameras based on the spca5xx range of chips manufactured by SunPlus Sonix Z-star Vimicro Conexant Etoms Transvision Mars-Semi Pixart. %prep %setup %build make build --rpms /opt/dvd_suse return /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.56470 + umask 022 + cd /usr/src/packages/BUILD + /bin/rm -rf /var/tmp/spca5xx-20060501 ++ dirname /var/tmp/spca5xx-20060501 + /bin/mkdir -p /var/tmp + /bin/mkdir /var/tmp/spca5xx-20060501 + cd spca5xx-20060501 + make Building SPCA5XX driver for 2.5/2.6 kernel. Remember: you must have read/write access to your kernel source tree. make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/packages/BUILD/spca5xx-20060501 CC=cc modules make: *** /lib/modules/2.6.16.13-4-default/build: No such file or directory. Stop. make: *** [default] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.56470 (%build) not sure but with this message, the build don't seem to take the right folder.... thanks