nothink | 2 Sep 2011 23:30
Favicon

build static with libedit

Good time!
First of all, thank to everyone who develops dash.
Maybe I'm wrong, but I can't build 0.5.7-, git-version of dash with 
option: --enable-static --with-libedit.

gcc -Wall -g -O2  -static -Wl,--fatal-warnings -o dash alias.o arith_yacc.o arith_yylex.o cd.o error.o
eval.o exec.o expand.o histedit.o input.o jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o
options.o parser.o redir.o show.o trap.o output.o printf.o system.o test.o times.o var.o builtins.o
init.o nodes.o signames.o syntax.o -ledit
/usr/lib/libedit.a(terminal.o): In function `terminal_tputs':
/tmp/build/libedit-20110802-3.0/src/terminal.c:1223: undefined reference to `tputs'
/usr/lib/libedit.a(terminal.o): In function `terminal_deletechars':
/tmp/build/libedit-20110802-3.0/src/terminal.c:714: undefined reference to `tgoto'
/usr/lib/libedit.a(terminal.o): In function `terminal_set':
/tmp/build/libedit-20110802-3.0/src/terminal.c:881: undefined reference to `tgetent'
/tmp/build/libedit-20110802-3.0/src/terminal.c:899: undefined reference to `tgetflag'
/tmp/build/libedit-20110802-3.0/src/terminal.c:900: undefined reference to `tgetflag'
/tmp/build/libedit-20110802-3.0/src/terminal.c:902: undefined reference to `tgetflag'
/tmp/build/libedit-20110802-3.0/src/terminal.c:903: undefined reference to `tgetflag'
/tmp/build/libedit-20110802-3.0/src/terminal.c:905: undefined reference to `tgetflag'
/usr/lib/libedit.a(terminal.o):/tmp/build/libedit-20110802-3.0/src/terminal.c:906: more
undefined references to `tgetflag' follow
/usr/lib/libedit.a(terminal.o): In function `terminal_set':
/tmp/build/libedit-20110802-3.0/src/terminal.c:908: undefined reference to `tgetnum'
/tmp/build/libedit-20110802-3.0/src/terminal.c:909: undefined reference to `tgetnum'
/tmp/build/libedit-20110802-3.0/src/terminal.c:912: undefined reference to `tgetstr'
/usr/lib/libedit.a(terminal.o): In function `terminal_insertwrite':
/tmp/build/libedit-20110802-3.0/src/terminal.c:755: undefined reference to `tgoto'
/usr/lib/libedit.a(terminal.o): In function `terminal_move_to_char':
/tmp/build/libedit-20110802-3.0/src/terminal.c:613: undefined reference to `tgoto'
(Continue reading)

Herbert Xu | 3 Sep 2011 03:31
Picon
Picon

Re: build static with libedit

nothink <nothink <at> shellmix.com> wrote:
> [-- text/plain, encoding 7bit, charset: ISO-8859-1, 104 lines --]
> 
> Good time!
> First of all, thank to everyone who develops dash.
> Maybe I'm wrong, but I can't build 0.5.7-, git-version of dash with 
> option: --enable-static --with-libedit.

Please send unified diffs only.  Thanks.
--

-- 
Email: Herbert Xu <herbert <at> gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane