[DRBD-user] drbd8.4 latest source can't build on sles platform

Roland Kammerer roland.kammerer at linbit.com
Mon Apr 23 11:53:57 CEST 2018

On Mon, Apr 23, 2018 at 05:27:35PM +0800, li songmin wrote:
> There is an error when build on sles platform:
> ```
>  test -d /usr/src/linux-3.0.13-0.27-obj/x86_64/default//.
> ++ KDIR=/usr/src/linux-3.0.13-0.27-obj/x86_64/default/
> ++ scripts/get_uts_release.sh
> + test 3.0.13-0.27-default = 3.0.13
> error: Bad exit status from /var/tmp/rpm-tmp.20427 (%prep)
> ```
> It seems get_uts_release.sh check kernelrelease first and then
> kernelversion,
> so  i think we should get version by kernelrelease before kernelversion in
> Makefile

What is that? Looks like SLES11? With a very outdated kernel? Is that a
very old SP4 kernel or even pre SP4?  Can you try a recent (if we still
can consider SLES11 "recent") kernel?  In our build environment this
works with a moderately "recent" SLES11-SP4 kernel (~3.0.101-something).

Regards, rck

More information about the drbd-user mailing list