lkml.org 
[lkml]   [2002]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [reiserfs-dev] build failure: reiser4progs-0.1.0
Date
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
> ----------------------------------------
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.118 / U:0.508 seconds]
©2003-2014 Jasper Spaans. Advertise on this site