[Debian-ha-maintainers] Bug#654459: Doesn't compile with 3.x kernels

Moritz Muehlenhoff jmm at debian.org
Tue Jan 3 21:25:33 UTC 2012


Source: drbd8
Severity: serious

drbd8 fails to compile, since apparently the check doesn't cope with
Linux version numbers now starting with 3.:

config.status: creating user/config.h
config.status: user/config.h is unchanged
dh_testdir
make
make[1]: Entering directory `/home/jmm/scratch/drbd8-8.3.9'
make -C drbd drbd_buildtag.c
make[2]: Entering directory `/home/jmm/scratch/drbd8-8.3.9/drbd'
Makefile:95: *** "won't compile with this kernel version".  Schluss.
make[2]: Leaving directory `/home/jmm/scratch/drbd8-8.3.9/drbd'
make[1]: *** [drbd/drbd_buildtag.c] Fehler 2
make[1]: Leaving directory `/home/jmm/scratch/drbd8-8.3.9'
make: *** [build-arch-stamp] Fehler 2
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2


ifneq ($(PATCHLEVEL),)
  ifneq ($(VERSION),2)
    $(error "won't compile with this kernel version")
  endif
  ifneq ($(PATCHLEVEL),6)
    $(error "won't compile with this kernel version")
  endif





More information about the Debian-ha-maintainers mailing list