Make error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

trying to build from TLA... System is X86_64 running Debian Etch.
I had to build fuse-2.6.3 (from sf.net, with debian/ stolen from 2.5.3),
and install, and due to lack of ibverbs support, --disable-ibverbs.
configure went fine, but make fails very early:

# make
Making all in libglusterfs
make[1]: Entering directory `/.auto/home/root64/fai-buildpackages/glusterfs/glusterfs-1.3pre-tla20070427/libglusterfs'
Making all in src
make[2]: Entering directory `/.auto/home/root64/fai-buildpackages/glusterfs/glusterfs-1.3pre-tla20070427/libglusterfs/src'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"glusterfs\" -DPACKAGE_TARNAME=\"glusterfs\" -DPACKAGE_VERSION=\"1.3.0-pre3\" -DPACKAGE_STRING=\"glusterfs\ 1.3.0-pre3\"
-DPACKAGE_BUGREPORT=\"gluster-devel@xxxxxxxxxx\" -DPACKAGE=\"glusterfs\" -DVERSION=\"1.3.0-pre3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBFUSE=1 -DHAVE_BACKTRACE=1
-DHAVE_SYS_EPOLL_H=1 -I. -I.  -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DXLATORDIR=\"/usr/lib/glusterfs/1.3.0-pre3/xlator\" -DSCHEDULERDIR=\"/usr/lib/glusterfs/1.3.0-pre3/scheduler\"
-DTRANSPORTDIR=\"/usr/lib/glusterfs/1.3.0-pre3/transport\" -DYY_NO_UNPUT  -fPIC  -Wall -g -shared -nostartfiles -rdynamic  -g -O2 -MT libglusterfs_la-dict.lo -MD -MP -MF
".deps/libglusterfs_la-dict.Tpo" -c -o libglusterfs_la-dict.lo `test -f 'dict.c' || echo './'`dict.c; \
        then mv -f ".deps/libglusterfs_la-dict.Tpo" ".deps/libglusterfs_la-dict.Plo"; else rm -f ".deps/libglusterfs_la-dict.Tpo"; exit 1; fi
mkdir .libs
 gcc -DPACKAGE_NAME=\"glusterfs\" -DPACKAGE_TARNAME=\"glusterfs\" -DPACKAGE_VERSION=\"1.3.0-pre3\" "-DPACKAGE_STRING=\"glusterfs 1.3.0-pre3\"" -DPACKAGE_BUGREPORT=\"gluster-devel@xxxxxxxxxx\"
-DPACKAGE=\"glusterfs\" -DVERSION=\"1.3.0-pre3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBFUSE=1 -DHAVE_BACKTRACE=1 -DHAVE_SYS_EPOLL_H=1 -I. -I. -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -DXLATORDIR=\"/usr/lib/glusterfs/1.3.0-pre3/xlator\" -DSCHEDULERDIR=\"/usr/lib/glusterfs/1.3.0-pre3/scheduler\" -DTRANSPORTDIR=\"/usr/lib/glusterfs/1.3.0-pre3/transport\" -DYY_NO_UNPUT
-fPIC -Wall -g -shared -nostartfiles -rdynamic -g -O2 -MT libglusterfs_la-dict.lo -MD -MP -MF .deps/libglusterfs_la-dict.Tpo -c dict.c  -fPIC -DPIC -o .libs/libglusterfs_la-dict.o
dict.c: In function 'dict_set':
dict.c:150: warning: cast from pointer to integer of different size
dict.c: In function 'int_to_data':
dict.c:613: warning: format '%lld' expects type 'long long int', but argument 3 has type 'int64_t'
 gcc -DPACKAGE_NAME=\"glusterfs\" -DPACKAGE_TARNAME=\"glusterfs\" -DPACKAGE_VERSION=\"1.3.0-pre3\" "-DPACKAGE_STRING=\"glusterfs 1.3.0-pre3\"" -DPACKAGE_BUGREPORT=\"gluster-devel@xxxxxxxxxx\"
-DPACKAGE=\"glusterfs\" -DVERSION=\"1.3.0-pre3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBFUSE=1 -DHAVE_BACKTRACE=1 -DHAVE_SYS_EPOLL_H=1 -I. -I. -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -DXLATORDIR=\"/usr/lib/glusterfs/1.3.0-pre3/xlator\" -DSCHEDULERDIR=\"/usr/lib/glusterfs/1.3.0-pre3/scheduler\" -DTRANSPORTDIR=\"/usr/lib/glusterfs/1.3.0-pre3/transport\" -DYY_NO_UNPUT
-fPIC -Wall -g -shared -nostartfiles -rdynamic -g -O2 -MT libglusterfs_la-dict.lo -MD -MP -MF .deps/libglusterfs_la-dict.Tpo -c dict.c -o libglusterfs_la-dict.o >/dev/null 2>&1
byacc -d ./spec.y
flex -t ./spec.l > spec.lex.c
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"glusterfs\" -DPACKAGE_TARNAME=\"glusterfs\" -DPACKAGE_VERSION=\"1.3.0-pre3\" -DPACKAGE_STRING=\"glusterfs\ 1.3.0-pre3\"
-DPACKAGE_BUGREPORT=\"gluster-devel@xxxxxxxxxx\" -DPACKAGE=\"glusterfs\" -DVERSION=\"1.3.0-pre3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBFUSE=1 -DHAVE_BACKTRACE=1
-DHAVE_SYS_EPOLL_H=1 -I. -I.  -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DXLATORDIR=\"/usr/lib/glusterfs/1.3.0-pre3/xlator\" -DSCHEDULERDIR=\"/usr/lib/glusterfs/1.3.0-pre3/scheduler\"
-DTRANSPORTDIR=\"/usr/lib/glusterfs/1.3.0-pre3/transport\" -DYY_NO_UNPUT  -fPIC  -Wall -g -shared -nostartfiles -rdynamic  -g -O2 -MT libglusterfs_la-spec.lex.lo -MD -MP -MF
".deps/libglusterfs_la-spec.lex.Tpo" -c -o libglusterfs_la-spec.lex.lo `test -f 'spec.lex.c' || echo './'`spec.lex.c; \
        then mv -f ".deps/libglusterfs_la-spec.lex.Tpo" ".deps/libglusterfs_la-spec.lex.Plo"; else rm -f ".deps/libglusterfs_la-spec.lex.Tpo"; exit 1; fi
 gcc -DPACKAGE_NAME=\"glusterfs\" -DPACKAGE_TARNAME=\"glusterfs\" -DPACKAGE_VERSION=\"1.3.0-pre3\" "-DPACKAGE_STRING=\"glusterfs 1.3.0-pre3\"" -DPACKAGE_BUGREPORT=\"gluster-devel@xxxxxxxxxx\"
-DPACKAGE=\"glusterfs\" -DVERSION=\"1.3.0-pre3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBFUSE=1 -DHAVE_BACKTRACE=1 -DHAVE_SYS_EPOLL_H=1 -I. -I. -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -DXLATORDIR=\"/usr/lib/glusterfs/1.3.0-pre3/xlator\" -DSCHEDULERDIR=\"/usr/lib/glusterfs/1.3.0-pre3/scheduler\" -DTRANSPORTDIR=\"/usr/lib/glusterfs/1.3.0-pre3/transport\" -DYY_NO_UNPUT
-fPIC -Wall -g -shared -nostartfiles -rdynamic -g -O2 -MT libglusterfs_la-spec.lex.lo -MD -MP -MF .deps/libglusterfs_la-spec.lex.Tpo -c spec.lex.c  -fPIC -DPIC -o .libs/libglusterfs_la-spec.lex.o
./spec.l: In function 'yylex':
./spec.l:41: error: 'yylval' undeclared (first use in this function)
./spec.l:41: error: (Each undeclared identifier is reported only once
./spec.l:41: error: for each function it appears in.)
./spec.l:41: warning: cast from pointer to integer of different size
make[2]: *** [libglusterfs_la-spec.lex.lo] Error 1
make[2]: Leaving directory `/.auto/home/root64/fai-buildpackages/glusterfs/glusterfs-1.3pre-tla20070427/libglusterfs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/.auto/home/root64/fai-buildpackages/glusterfs/glusterfs-1.3pre-tla20070427/libglusterfs'
make: *** [all-recursive] Error 1


Any ideas welcome...

Steffen

-- 
Steffen Grunewald * MPI Grav.Phys.(AEI) * Am Mühlenberg 1, D-14476 Potsdam
Cluster Admin * http://pandora.aei.mpg.de/merlin/ * http://www.aei.mpg.de/
* e-mail: steffen.grunewald(*)aei.mpg.de * +49-331-567-{fon:7233,fax:7298}
No Word/PPT mails - http://www.gnu.org/philosophy/no-word-attachments.html





[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux