sergev / bash-commander

Version of the GNU Bourne Again shell extended with two-panel file manager.
43 stars 8 forks source link

Не собирается что-то ( #4

Open betcher opened 1 year ago

betcher commented 1 year ago

gcc -L./builtins -L./lib/glob -L./lib/tilde -L./lib/malloc -L./lib/sh -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o commander.o -lbuiltins -lglob -lsh -lreadline -lhistory -lcurses -ltilde -lmalloc -ldl /usr/bin/x86_64-rosa-linux-gnu-ld: ./lib/sh/libsh.a(tmpfile.o): in function sh_mktmpname': /var/lib/notamock/BUILD/BUILD/bash-commander-master/lib/sh/tmpfile.c:160: warning: the use ofmktemp' is dangerous, better use mkstemp' ormkdtemp' /usr/bin/x86_64-rosa-linux-gnu-ld: commander.o: in function cmdr_cursor_up': /var/lib/notamock/BUILD/BUILD/bash-commander-master/commander.c:1223: undefined reference to_rl_cursor_col' /usr/bin/x86_64-rosa-linux-gnu-ld: commander.o: in function cmdr_cursor_down': /var/lib/notamock/BUILD/BUILD/bash-commander-master/commander.c:1251: undefined reference to_rl_cursor_col' /usr/bin/x86_64-rosa-linux-gnu-ld: commander.o: in function cmdr_cursor_left': /var/lib/notamock/BUILD/BUILD/bash-commander-master/commander.c:1280: undefined reference to_rl_cursor_col' /usr/bin/x86_64-rosa-linux-gnu-ld: commander.o: in function cmdr_cursor_right': /var/lib/notamock/BUILD/BUILD/bash-commander-master/commander.c:1306: undefined reference to_rl_cursor_col' /usr/bin/x86_64-rosa-linux-gnu-ld: commander.o: in function cmdr_cursor_home': /var/lib/notamock/BUILD/BUILD/bash-commander-master/commander.c:1330: undefined reference to_rl_cursor_col' /usr/bin/x86_64-rosa-linux-gnu-ld: commander.o:/var/lib/notamock/BUILD/BUILD/bash-commander-master/commander.c:1357: more undefined references to `_rl_cursor_col' follow collect2: error: ld returned 1 exit status make: *** [Makefile:583: bash] Error 1

sergev commented 1 year ago

How about now? I've updated the master branch to the latest Bash version.

betcher commented 1 year ago

Thanks . I'll check it in coming days.