[DRBD-user] make rpm drbd 0.7.17 failed with FC4kernel 2.6.16-1.2069.

Francis SOUYRI francis.souyri at apec.fr
Thu Apr 6 08:03:24 CEST 2006

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello Stefan,

    Thank you, now drbd compiles without errors, just one thing 
KERNELRELEASE = ... should not be copy/paste with the space at the end 
("KERNELRELEASE = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) "

Best regards.

Francis

Stefan Pietsch wrote:

> Francis SOUYRI wrote:
>
>> I tried to compile drdb-0.7.17 with the latest Fedora FC4 kernel 
>> 2.6.16-1.2069, the "make rpm" failed with the message "cannot stat 
>> `.kernelrelease.new'".
>>
>> make[3]: Entering directory `/usr/src/kernels/2.6.16-1.2069_FC4-i686'
>>  Building modules, stage 2.
>>  MODPOST
>> make[3]: Leaving directory `/usr/src/kernels/2.6.16-1.2069_FC4-i686'
>> mv: cannot stat `.kernelrelease.new': No such file or directory
>> make[2]: *** [kbuild] Error 1
>
>
>
>
> Edit the Makefile in "/usr/src/kernels/2.6.16-1.2069_FC4-i686":
>
> Replace the line
> KERNELRELEASE = $(shell cat .kernelrelease 2> /dev/null)
>
>
> with:
> KERNELRELEASE = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>



More information about the drbd-user mailing list