18 Apr 2012 11:21
ggaoed under kernel 3.2.0 or newer
Hi there! I just tried to compile ggaoed under ubuntu 12.04 LTS amd64 server. Does anyone had succes with this? I get complaints about the following: make all-recursive make[1]: Entering directory `/usr/src/ggaoed-r131' Making all in . make[2]: Entering directory `/usr/src/ggaoed-r131' gcc -Wall -Wmissing-prototypes -Wstrict-prototypes -Wsign-compare -g -O2 -o ggaoed ctl.o device.o ggaoed.o mem.o netlink.o network.o -lglib-2.0 -lrt -latomic_ops -lblkid -laio device.o: In function `open_dev': /usr/src/ggaoed-r131/device.c:332: undefined reference to `S_ISBLK' /usr/src/ggaoed-r131/device.c:342: undefined reference to `S_ISBLK' /usr/src/ggaoed-r131/device.c:352: undefined reference to `S_ISBLK' device.o: In function `setup_dev': /usr/src/ggaoed-r131/device.c:332: undefined reference to `S_ISREG' device.o: In function `validate_dev_fd': /usr/src/ggaoed-r131/device.c:403: undefined reference to `S_ISBLK' collect2: ld returned 1 exit status make[2]: *** [ggaoed] Error 1 make[2]: Leaving directory `/usr/src/ggaoed-r131' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/ggaoed-r131' make: *** [all] Error 2 I added #include <linux/stat.h>(Continue reading)



> My question was how could an »#include <sys/stat.h> « be accepted when
> there is no such file. But now I know where look at.
Perhaps the check in the configure script is wrong. Is sys/stat.h
recognized correctly after running autoreconf?
-Hilko
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!


RSS Feed