Kernel binrpm-pkg error on compiling

While source compiling a kernel with make binrpm-pkg to generate an RPM the following error was encountered.

rpm --define "_builddir /usr/local/src/linux-2.6.27.10" --target x86_64 -bb /usr/local/src/linux-2.6.27.10/binkernel.spec
--target: unknown option

make[1]: *** [binrpm-pkg] Error 1
make: *** [binrpm-pkg] Error 2

The solution is simply install the rpm-build package within CentOS 5.x 64bit and most other linux OS.

Powered by Drupal - Theme created by Danger4k