[ENBD] enbd build issues
Ihar Viarheichyk
enbd@lists.community.tummy.com
Fri, 17 Jan 2003 18:18:32 +0200
Hello. I compiled nbd-2.4.31 for 2.4.18 kernel with gcc-2.96 without
problems, except some warnings.
I have looked at Makefile, and found code:
ifeq ($(KERNELMAJOR),2.4)
ln -s linux-2.2.10 $@
^^^^^^^^^^^^^^^^^^
else
ifeq ($(KERNELMAJOR),2.2)
ln -s linux-2.2.10 $@
else
ln -s linux-2.0.36 $@
endif
endif
Is it desired behaviour to use linux-2.2.10 for 2.4 kernel?
What other linux-x.y.z (2.4.18, 2.5.12 etc) are used for? It is not
mentioned in INSTALL. Compiling enbd with linux-2.4.18 instead 2.2.10
failed.
I also tried to build nbd with gcc-3.2.2. It produces a lot of errors like:
....
/home/igor/install/nbd-2.4.31/nbd/enbd-server.c:3331: dereferencing
pointer to incomplete type
/home/igor/install/nbd-2.4.31/nbd/enbd-server.c:3336: dereferencing
pointer to incomplete type
/home/igor/install/nbd-2.4.31/nbd/enbd-server.c:3340: dereferencing
pointer to incomplete type
/home/igor/install/nbd-2.4.31/nbd/enbd-server.c:3341: dereferencing
pointer to incomplete type
....
--
Igor Vergeichik
ICQ 47298730