[Lustre-discuss] build on ubuntu

Papp Tamás tompos at martos.bme.hu
Sun Jan 31 13:59:32 PST 2010


hi!

I have a problem again with building lustre on Ubuntu.

After sh autogen.sh and ./configure:

[...]
Making all in lnet
make[5]: Entering directory `/data/src/b2_0/lnet/lnet'
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -D__arch_lib__ 
-D_LARGEFILE64_SOURCE=1 -include /data/src/b2_0/config.h 
-I/data/src/b2_0/libcfs/include -I/data/src/b2_0/lnet/include 
-I/data/src/b2_0/lustre/include  -g -Wall -fPIC -D_GNU_SOURCE -Wall -g 
-O2 -O2 -Werror -c -o liblnet_a-api-errno.o `test -f 'api-errno.c' || 
echo './'`api-errno.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -D__arch_lib__ 
-D_LARGEFILE64_SOURCE=1 -include /data/src/b2_0/config.h 
-I/data/src/b2_0/libcfs/include -I/data/src/b2_0/lnet/include 
-I/data/src/b2_0/lustre/include  -g -Wall -fPIC -D_GNU_SOURCE -Wall -g 
-O2 -O2 -Werror -c -o liblnet_a-api-ni.o `test -f 'api-ni.c' || echo 
'./'`api-ni.c
cc1: warnings being treated as errors
api-ni.c: In function 'LNetSnprintHandle':
api-ni.c:1412: error: format '%#lx' expects type 'long unsigned int', 
but argument 4 has type '__u64'
api-ni.c:1412: error: format '%#lx' expects type 'long unsigned int', 
but argument 4 has type '__u64'
make[5]: *** [liblnet_a-api-ni.o] Error 1
make[5]: Leaving directory `/data/src/b2_0/lnet/lnet'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/data/src/b2_0/lnet'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/data/src/b2_0'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/data/src/b2_0'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/data/src/b2_0'
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
make: *** [debs] Error 2

The kernel subversion doesn't matter, I tried with 2.6.28-17-server and 
2.6.28-16-server.

I got lustre trees by git and tried v1_8_1 b1_8, b2_0, b1_8_2.

Did I miss something, maybe a patch?

Thank you,

tamas



More information about the lustre-discuss mailing list