Hi~

I have downloaded linux-2.6.28 and linux-2.6.28.1 kernel and apply the
patch successfully.
There is no error message when applying the patch.

However, I still get the error message as follow.

r...@eclab-desktop:/usr/src/linux-2.6.28.1# make-kpkg clean
exec make -f /usr/share/kernel-package/ruleset/minimal.mk clean
====== making target minimal_clean [new prereqs: ]======
Cleaning.
test ! -f .config || cp -pf .config config.precious
test ! -e stamp-building || rm -f stamp-building
test ! -f Makefile || \
            make    ARCH=xen distclean
make[1]: Entering directory `/usr/src/linux-2.6.28.1'
Makefile:518: /usr/src/linux-2.6.28.1/arch/xen/Makefile: No such file
or directory
make[1]: *** No rule to make target
`/usr/src/linux-2.6.28.1/arch/xen/Makefile'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.28.1'
make: *** [minimal_clean] Error 2

Thanks for reading

Dennis

2009/2/26 stephane eranian <eran...@googlemail.com>:
> Hi,
>
> Did the patch apply cleanly?
>
> There maybe some conflict which you need to resolve manually
> before you can compile.
>
>
> On Thu, Feb 26, 2009 at 9:40 AM, Dionysus <shinrai...@gmail.com> wrote:
>> Hi
>>
>> I am new to the perfmon2 library.
>>
>> I followed the instructions from
>> http://www.howtoforge.com/kernel_compilation_ubuntu and successfully
>> patch the linux-2.6.27.7 kernel with older kernel patch.
>>
>> However, when I was trying to patch the linux-2.6.28.7 kernel with the
>> newest kernel patch, I got the following error message.
>>
>> ec...@eclab-desktop:/usr/src/linux-2.6.28.7$ make-kpkg clean
>> exec debian/rules  DEBIAN_REVISION=5:10.Custom  clean
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 3: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>>
>> ====== making target CLN-common [new prereqs: testdir]======
>>
>> ====== making target CLN-common [new prereqs: ]======
>> You may need root privileges - some parts may fail.
>> /usr/bin/make -f ./debian/rules real_stamp_clean
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 3: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> [: 1: 2: unexpected operator
>> make[1]: Entering directory `/usr/src/linux-2.6.28.7'
>> ====== making target real_stamp_clean [new prereqs: ]======
>> running clean
>> test ! -f scripts/package/builddeb.kpkg-dist ||                     \
>>          mv -f scripts/package/builddeb.kpkg-dist scripts/package/builddeb
>> test ! -f scripts/package/Makefile.kpkg-dist ||                     \
>>          mv -f scripts/package/Makefile.kpkg-dist scripts/package/Makefile
>> test ! -f .config  || cp -pf .config config.precious
>> cp: cannot remove `config.precious': Permission denied
>> make[1]: *** [real_stamp_clean] Error 1
>> make[1]: Leaving directory `/usr/src/linux-2.6.28.7'
>> make: *** [CLN-common] Error 2
>>
>> I have no idea on this problem
>> Could anyone give me a hand?
>>
>> Any help would be grateful!!
>>
>> Dennis
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> perfmon2-devel mailing list
>> perfmon2-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>>
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to