Skip to contentSkip to conversation

build failure: reiser4progs-0.1.0

DISCUSSION Cliff White 3 participants 7 messages Nov 5, 2002 – Nov 6, 2002

lore
Share & tools
lore
#0 lore raw

Attempting to test reiser4, kernel 2.5.46, using the 2002.11.05 snapshot.
--------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -g -O2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -g -W -Wall -Wno-unused -Werror -DPLUGIN_DIR=\"/usr/local/lib/reiser4\" -c alloc40.c -MT alloc40.lo -MD -MP -MF .deps/alloc40.TPlo -fPIC -DPIC -o .libs/alloc40.lo
cc1: warnings being treated as errors
alloc40.c: In function `callback_fetch_bitmap':
alloc40.c:50: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_flush_bitmap':
alloc40.c:209: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_check_bitmap':
alloc40.c:376: warning: signed and unsigned type in conditional expression make[3]: *** [alloc40.lo] Error 1
make[3]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin/all oc40'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0'
make: *** [all] Error 2
-------------------------------------
cliffw

#1 lore raw
Quoted 2 lines · Cliff White

Attempting to test reiser4, kernel 2.5.46, using the 2002.11.05 snapshot.

Can you please try "./configure --enable-Werror=no --without-readline" as workaround?

Quoted 14 lines

--------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -g -O2 -D_REENTRANT

(quoted diff) +0 -3
-D_FILE_OFFSET_BITS=64 -g -W -Wall -Wno-unused -Werror 
-DPLUGIN_DIR=\"/usr/local/lib/reiser4\" -c alloc40.c -MT alloc40.lo -MD -MP 
-MF .deps/alloc40.TPlo  -fPIC -DPIC -o .libs/alloc40.lo

cc1: warnings being treated as errors
alloc40.c: In function `callback_fetch_bitmap':
alloc40.c:50: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_flush_bitmap':
alloc40.c:209: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_check_bitmap':
alloc40.c:376: warning: signed and unsigned type in conditional expression make[3]: *** [alloc40.lo] Error 1
make[3]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin/all

Quoted 8 lines

oc40'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0'
make: *** [all] Error 2
-------------------------------------
cliffw

Nikita.

Quoted 2 lines
#2 lore raw
In reply to Cliff White
Quoted 15 lines · Cliff White

Attempting to test reiser4, kernel 2.5.46, using the 2002.11.05 snapshot.
--------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -g -O2 -D_REENTRANT

(quoted diff) +0 -3
-D_FILE_OFFSET_BITS=64 -g -W -Wall -Wno-unused -Werror 
-DPLUGIN_DIR=\"/usr/local/lib/reiser4\" -c alloc40.c -MT alloc40.lo -MD -MP 
-MF .deps/alloc40.TPlo  -fPIC -DPIC -o .libs/alloc40.lo

cc1: warnings being treated as errors
alloc40.c: In function `callback_fetch_bitmap':
alloc40.c:50: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_flush_bitmap':
alloc40.c:209: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_check_bitmap':
alloc40.c:376: warning: signed and unsigned type in conditional expression make[3]: *** [alloc40.lo] Error 1
make[3]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin/all

Quoted 14 lines

oc40'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0'
make: *** [all] Error 2
-------------------------------------
cliffw

You are probably using gcc-3.2. Okay, fixed. Thanks a lot for report.

Signature · 1 line
Yury Umanets
#3 lore raw
Quoted 24 lines
Quoted 22 lines · Cliff White

Attempting to test reiser4, kernel 2.5.46, using the 2002.11.05 snapshot.
--------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -g -O2 -D_REENTRANT

(quoted diff) +0 -3
-D_FILE_OFFSET_BITS=64 -g -W -Wall -Wno-unused -Werror 
-DPLUGIN_DIR=\"/usr/local/lib/reiser4\" -c alloc40.c -MT alloc40.lo -MD -MP 
-MF .deps/alloc40.TPlo  -fPIC -DPIC -o .libs/alloc40.lo

cc1: warnings being treated as errors
alloc40.c: In function `callback_fetch_bitmap':
alloc40.c:50: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_flush_bitmap':
alloc40.c:209: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_check_bitmap':
alloc40.c:376: warning: signed and unsigned type in conditional expression make[3]: *** [alloc40.lo] Error 1
make[3]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin/all oc40'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0'
make: *** [all] Error 2
-------------------------------------

Quoted 8 lines
Quoted 7 lines

cliffw

You are probably using gcc-3.2. Okay, fixed. Thanks a lot for report.

No, i am not using gcc-3.2
]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81) I have replicated the problem on two machines
cliffw

Quoted 11 lines
Signature · 9 lines
-- 
Yury Umanets


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
#4 lore raw
Quoted 39 lines · Cliff White
Quoted 28 lines
Quoted 24 lines · Cliff White

Attempting to test reiser4, kernel 2.5.46, using the 2002.11.05 snapshot.
--------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -g -O2 -D_REENTRANT

(quoted diff) +0 -3
-D_FILE_OFFSET_BITS=64 -g -W -Wall -Wno-unused -Werror 
-DPLUGIN_DIR=\"/usr/local/lib/reiser4\" -c alloc40.c -MT alloc40.lo -MD -MP 
-MF .deps/alloc40.TPlo  -fPIC -DPIC -o .libs/alloc40.lo

cc1: warnings being treated as errors
alloc40.c: In function `callback_fetch_bitmap':
alloc40.c:50: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_flush_bitmap':
alloc40.c:209: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_check_bitmap':
alloc40.c:376: warning: signed and unsigned type in conditional expression make[3]: *** [alloc40.lo] Error 1
make[3]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin/all oc40'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0'
make: *** [all] Error 2
-------------------------------------
cliffw

Quoted 10 lines
Quoted 7 lines

You are probably using gcc-3.2. Okay, fixed. Thanks a lot for report.

Quoted 27 lines

No, i am not using gcc-3.2
]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81) I have replicated the problem on two machines
cliffw

Quoted 12 lines
Signature · 8 lines
Yury Umanets


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Try for awhile:
configure --without-readline

Signature · 1 line
Yury Umanets
#5 lore raw

./configure --without-readline --enable-Weror=no
builds successfully
----------------------------
./configure --without-readline
-------------------------------
0.lo -MD -MP -MF .deps/alloc40.TPlo -fPIC -DPIC -o .libs/alloc40.lo
cc1: warnings being treated as errors
alloc40.c: In function `callback_fetch_bitmap':
alloc40.c:50: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_flush_bitmap':
alloc40.c:209: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_check_bitmap':
alloc40.c:376: warning: signed and unsigned type in conditional expression make[3]: *** [alloc40.lo] Error 1
make[3]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin/all oc40'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0'
make: *** [all] Error 2
---------------------------------
./configure --enable-Werror=no
------------------------------------
st -f mkfs.c || echo './'`mkfs.c
/bin/sh ../../libtool --mode=link gcc -g -O2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -g -W -Wall -Wno-unused -DPLUGIN_DIR=\"/usr/local/lib/re
iser4\" -o mkfs.reiser4 mkfs.o ../../libreiser4/libreiser4.la
../../progs/libmisc/libmisc.la -lreadline -luuid
mkdir .libs
gcc -g -O2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -g -W -Wall -Wno-unused -DPLUGIN_DIR=\"/usr/local/lib/reiser4\" -o .libs/mkfs.reiser4 mkfs.o ../../libreiser4/.libs/libreiser4.so ../../progs/libmisc/.libs/libmisc.al /root/cgl/kern/reiser/reiser4progs-0.1.0/libaal/.libs/libaal.so -lreadline -luuid -Wl,--rpath -Wl,/usr/local/lib /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to tgetnum' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to tgoto'/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadlin e.so: undefined reference to tgetflag' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to BC' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to tputs'/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadlin e.so: undefined reference to PC' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to tgetent' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to UP' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[3]: *** [mkfs.reiser4] Error 1
make[3]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/progs/mkfs '
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/progs' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0'
make: *** [all] Error 2
----------------------------------------

#6 lore raw
In reply to Cliff White
Quoted 39 lines · Cliff White
Quoted 28 lines
Quoted 24 lines · Cliff White

Attempting to test reiser4, kernel 2.5.46, using the 2002.11.05 snapshot.
--------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -g -O2 -D_REENTRANT

(quoted diff) +0 -3
-D_FILE_OFFSET_BITS=64 -g -W -Wall -Wno-unused -Werror 
-DPLUGIN_DIR=\"/usr/local/lib/reiser4\" -c alloc40.c -MT alloc40.lo -MD -MP 
-MF .deps/alloc40.TPlo  -fPIC -DPIC -o .libs/alloc40.lo

cc1: warnings being treated as errors
alloc40.c: In function `callback_fetch_bitmap':
alloc40.c:50: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_flush_bitmap':
alloc40.c:209: warning: signed and unsigned type in conditional expression alloc40.c: In function `callback_check_bitmap':
alloc40.c:376: warning: signed and unsigned type in conditional expression make[3]: *** [alloc40.lo] Error 1
make[3]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin/all oc40'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0/plugin' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cgl/kern/reiser/reiser4progs-0.1.0'
make: *** [all] Error 2
-------------------------------------
cliffw

Quoted 10 lines
Quoted 7 lines

You are probably using gcc-3.2. Okay, fixed. Thanks a lot for report.

Quoted 27 lines

No, i am not using gcc-3.2
]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81) I have replicated the problem on two machines
cliffw

Quoted 12 lines
Signature · 8 lines
Yury Umanets


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Sorry, I sent you not correct suggestion. Try

./configure --enable-Werror=no

Thank you for your efforts

Signature · 1 line
Yury Umanets