Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Just to fix a few showstoppers when building DRBD under SLES 11... 1) At http://www.drbd.org/users-guide-emb/s-build-rpm.html every occurence of ... `rpm -E _sourcedir` should read instead ... `rpm -E %_sourcedir` 2) Then, several occurences of '/etc/SuSErelease', in files 'configure' and 'configure.ac', whereas '/etc/SuSErelease' doesn't exist in my SLES 11 installation but '/etc/SuSE-release' does. 3) Finally, when running the following line ... rpmbuild -bb drbd-km.spec ... you may get the following error message: "error: Failed build dependencies: kernel-syms = 2.6.27.39-0.3-default is needed by drbd-km-8.3.6-12.i586" ... although, as hard as you look at it, you already have "kernel-syms v2.6.27.39-0.3-default" installed. The problem is to those major and minor version numbers there is an additional number (build?, revision ?) that occasionally finds it's way in the version number. So eventually, if you're kernel was recently patched, you might have to change the line in file drbd-km.spec ... 'BuildRequires: gcc, kernel-syms = %{kernelversion}' with 'BuildRequires: gcc, kernel-syms = v' ... 'v' being the exact version of the kernel-syms package installed, which may be found using yast. Myself I found out I had kernel-syms v 2.6.27.39-0.3.1 installed, and ended having this in the spec file (quotes excluded of course) to get it to recognize my installed kernel-syms: 'BuildRequires: gcc, kernel-syms = 2.6.27.39-0.3.1'