[Drbd-dev] 0.7.5 release tomorrow...

Lars Ellenberg Lars.Ellenberg at linbit.com
Wed Oct 6 11:38:09 CEST 2004


/ 2004-10-06 09:24:07 +0200
\ Philipp Hug:
> >[...]
> >cd user && /usr/bin/make
> >make[1]: Entering directory `/home/helmut/drbd-0.7.5/user'
> >gcc -c -Wall -I../drbd   -c -o drbdsetup.o drbdsetup.c
> >make[1]: *** No rule to make target `../drbd/drbd_buildtag.o', needed by 
> >`drbdsetup'.  Stop.
> >make[1]: Leaving directory `/home/helmut/drbd-0.7.5/user'
> >make: *** [build-arch-stamp] Error 2
> >
> >After
> >   make install-tools
> >as workaround it builds .debs and works the usual debian way.
> Shouldn't drbd_buildtag.c be included in the release tarball?
> If not, I'll add the workaround to the debian packaging...

now, if I do

svn co http://svn.drbd.org/drbd/branches/drbd-0.7
cd drbd-0.7
make tarball
tar tvzf drbd-0.7.5.tar.gz | grep buildtag
drbd/drbd_buildtag.c

# aha. is it missing from the debian thing only?

mkdir tmp
cd tmp
tar xvzf ../drbd-0.7.5.tar.gz
cd drbd-0.7.5
cd user && make

# does work, too.

BTW, you are not supposed to do "cd user && make",
you are supposed to do "make tools" instead,
which does a little bit more than that.

> >Next item:
> >Whatever the reason is, the following is necessary with current packaging
> >
> >xp2400:/home/helmut# mv /lib/modules/2.4.26/kernel/drivers/block/drbd.o 
> >/lib/modules/2.4.26-1-386/kernel/drivers/block/drbd.o
> 
> How did you build the kernel module? module-assistant? make-kpkg?
> anyway: looks like a bug... I'll fix it..

drbd gets its kernel release (where to install) from the kernel
makefile itself (which should know...). debian knows better?

	lge



More information about the drbd-dev mailing list