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>

to device.c but this didn't help.
I suppose the #if in stat.h is the reason:
#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)

How to solve this?
Has anyone more success?

Thanks
Lars
-- 
                            Informationstechnologie
Berlin-Brandenburgische Akademie der Wissenschaften
Jägerstrasse 22-23                     10117 Berlin
Tel.: +49 30 20370-352           http://www.bbaw.de

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Aoetools-discuss mailing list
Aoetools-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aoetools-discuss

Reply via email to