The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* build failure: reiser4progs-0.1.0
@ 2002-11-05 21:45 Cliff White
  2002-11-06 10:23 ` Nikita Danilov
  2002-11-06 19:14 ` [reiserfs-dev] " Yury Umanets
  0 siblings, 2 replies; 9+ messages in thread
From: Cliff White @ 2002-11-05 21:45 UTC (permalink / raw)
  To: Nikita, reiserfs-dev, Reiserfs-List, Linux-Kernel


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



^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [reiserfs-dev] build failure: reiser4progs-0.1.0
@ 2002-11-06 21:13 Alan Willis
  0 siblings, 0 replies; 9+ messages in thread
From: Alan Willis @ 2002-11-06 21:13 UTC (permalink / raw)
  To: linux-kernel


> ./configure --enable-Werror=no
Just confirming that this worked for me.  Had some problem with readline,
so I tried disabling it.

./configure --enable-Werror=no --without-readline --disable-readline

This worked for me on RH 8.0 (gcc 3.2-10)
I have reiser4 on an ide partition.  What sorts of tests would be useful?

-alan




^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [reiserfs-dev] build failure: reiser4progs-0.1.0
@ 2002-11-06 22:15 jordan.breeding
  0 siblings, 0 replies; 9+ messages in thread
From: jordan.breeding @ 2002-11-06 22:15 UTC (permalink / raw)
  To: Cliff White; +Cc: Yury Umanets, Cliff White, reiserfs-dev, Linux-Kernel, cliffw

Try the following:

do a search for -lreadline in ./configure, add -lncurses 
to any line in ./configure which is a) setting an 
environment variable and b) does not yet contain -
lncurses but _does_ contain -lreadline

then do ./configure --enable-Werror=no; make

works for me

Jordan
> ./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
> ----------------------------------------
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-11-06 22:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-05 21:45 build failure: reiser4progs-0.1.0 Cliff White
2002-11-06 10:23 ` Nikita Danilov
2002-11-06 19:14 ` [reiserfs-dev] " Yury Umanets
2002-11-06 19:56   ` Cliff White
2002-11-06 19:58     ` Yury Umanets
2002-11-06 21:49       ` Cliff White
2002-11-06 19:59     ` Yury Umanets
  -- strict thread matches above, loose matches on Subject: below --
2002-11-06 21:13 Alan Willis
2002-11-06 22:15 jordan.breeding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox