[Gluster-devel] SuSe Build Error
Harshavardhana Ranganath
harsha at 80x25.org
Tue Mar 28 05:09:13 UTC 2006
i was trying to build Gluster on SuSE9.3 i found some critical errors of the toolchain, or might be a problem related to the distro itself. i am still thinking as i asked Avati he said about that the toolchain is perfect and it build's smoothely. But the error's which i observed exactly come from the sysroot of the toolchain i am pasting here the error log here please have a look at it.
===File ~/suse_build_error==================================
if i686-gluster-linux-gnu-gcc -DLOCALEDIR=\"\" -DHAVE_CONFIG_H -include ../config.h -I../include -fsigned-char -Wall -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -fomit-frame-pointer -I/home/harsha/gluster-alpha1/destdir_cross/usr/include -g -O2 -MT gpt.o -MD -MP -MF ".deps/gpt.Tpo" -c -o gpt.o gpt.c; \
then mv -f ".deps/gpt.Tpo" ".deps/gpt.Po"; else rm -f ".deps/gpt.Tpo"; exit 1; fi
In file included from /usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/asm/byteorder.h:57,
from gpt.c:36:
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:43: error: parse error before '__cpu_to_le64p'
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_le64p':
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:45: error: '__le64' undeclared (first use in this function)
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:45: error: (Each undeclared identifier is reported only once
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:45: error: for each function it appears in.)
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:47: error: parse error before '*' token
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: In function '__le64_to_cpup':
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:49: error: 'p' undeclared (first use in this function)
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:51: error: parse error before '__cpu_to_le32p'
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_le32p':
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:53: error: '__le32' undeclared (first use in this function)
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:55: error: parse error before '*' token
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: In function '__le32_to_cpup':
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:57: error: 'p' undeclared (first use in this function)
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:59: error: parse error before '__cpu_to_le16p'
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_le16p':
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:61: error: '__le16' undeclared (first use in this function)
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:63: error: parse error before '*' token
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: In function '__le16_to_cpup':
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:65: error: 'p' undeclared (first use in this function)
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:67: error: parse error before '__cpu_to_be64p'
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_be64p':
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:69: error: '__be64' undeclared (first use in this function)
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:69: error: parse error before '__swab64p'
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:71: error: parse error before '*' token
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: In function '__be64_to_cpup':
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:73: error: 'p' undeclared (first use in this function)
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:75: error: parse error before '__cpu_to_be32p'
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_be32p':
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:77: error: '__be32' undeclared (first use in this function)
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:77: error: parse error before '__swab32p'
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:79: error: parse error before '*' token
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: In function '__be32_to_cpup':
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:81: error: 'p' undeclared (first use in this function)
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:83: error: parse error before '__cpu_to_be16p'
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_be16p':
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:85: error: '__be16' undeclared (first use in this function)
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:85: error: parse error before '__swab16p'
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:87: error: parse error before '*' token
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h: In function '__be16_to_cpup':
/usr/local/gluster-toolchain/bin/../i686-gluster-linux-gnu/sys-root/usr/include/linux/byteorder/little_endian.h:89: error: 'p' undeclared (first use in this function)
gpt.c: In function 'is_pmbr_valid':
gpt.c:85: error: '__le16' undeclared (first use in this function)
gpt.c: In function 'alloc_read_gpt_entries':
gpt.c:239: error: '__le32' undeclared (first use in this function)
gpt.c:249: error: '__le64' undeclared (first use in this function)
gpt.c: In function 'is_gpt_valid':
gpt.c:306: error: '__le64' undeclared (first use in this function)
gpt.c:317: error: '__le32' undeclared (first use in this function)
gpt.c:322: error: parse error before '__u32'
gpt.c:322: error: parse error before ')' token
gpt.c:327: error: parse error before '__u32'
gpt.c:327: error: parse error before ')' token
gpt.c: In function 'compare_gpts':
gpt.c:375: error: '__le64' undeclared (first use in this function)
gpt.c:411: error: '__le32' undeclared (first use in this function)
gpt.c: In function 'find_valid_gpt':
gpt.c:486: error: '__le64' undeclared (first use in this function)
gpt.c: In function 'read_gpt_pt':
gpt.c:595: error: '__le32' undeclared (first use in this function)
gpt.c:601: error: '__le64' undeclared (first use in this function)
make[3]: *** [gpt.o] Error 1
make[3]: Leaving directory `/home/harsha/gluster-alpha1/build_cross/util-linux-2.13-pre4/partx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/harsha/gluster-alpha1/build_cross/util-linux-2.13-pre4'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/harsha/gluster-alpha1/build_cross/util-linux-2.13-pre4'
make: *** [util-linux.cross] Error 2============================================================
More information about the Gluster-devel
mailing list