[Aoetools-discuss] ggaoed under kernel 3.2.0 or newer

2012-04-18 Thread Lars Täuber
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


Re: [Aoetools-discuss] ggaoed under kernel 3.2.0 or newer

2012-04-18 Thread Lars Täuber
Hi there again!

Am Wed, 18 Apr 2012 11:21:40 +0200
Lars Täuber taeu...@bbaw.de schrieb:
 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?
 

I'm not a programmer but solved it eventually.

There is no sys/stat.h file in the system. But the configure script writes
#define HAVE_SYS_STAT_H 1
to config.h.

So I added
#include sys/stat.h
to device.c and it compiled.

How does this work?

One more but totally different thing if I'm allowed.
Is there anyone reading this who has a recent LSI mptsas driver for dkms
under a recent kernel version?
I'm looking for a dkms (source) mptlinux driver 4.28.00.00 or newer for the
3.2.0 kernel. LSI didn't answer positively until now.

Thanks
Lars

--
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


[Aoetools-discuss] Project alive?

2012-04-18 Thread Joshua J. Kugler
So the last release for aoetools was 2010-09-21, and the last release 
for kvblade was 2006-10-02.  Are these public projects still maintained? 
Is there any progress/maintenance on kvblade?

Thanks!

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

--
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


Re: [Aoetools-discuss] Project alive?

2012-04-18 Thread Tracy Reed
On Wed, Apr 18, 2012 at 08:54:21AM -0600, Joshua J. Kugler spake thusly:
 So the last release for aoetools was 2010-09-21, and the last release 
 for kvblade was 2006-10-02.  Are these public projects still maintained? 
 Is there any progress/maintenance on kvblade?

It is pretty much feature complete and there are no showstopper bugs that I am
aware of. So there hasn't been much work done on it. I'm don't know what
Coraid's long-term plans for it are.

-- 
Tracy Reed


pgpfLNd456qfi.pgp
Description: PGP signature
--
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