Menu

#74 bashdbg probably mislinked on github & fail to compile.

v1.0_(example)
open
nobody
None
5
2022-02-07
2022-02-07
retnev
No

/usr/bin/ld: /home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/command/help.c:96: undefined reference to short_command' /usr/bin/ld: libdebugger/libdebugger.a(set.o): in functiondbg_cmd_set':
/home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/command/set.c:124: undefined reference to whitespace' /usr/bin/ld: /home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/command/set.c:137: undefined reference todbg_cmd_set_var'
/usr/bin/ld: libdebugger/libdebugger.a(show.o): in function dbg_cmd_show': /home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/command/show.c:115: undefined reference todbg_cmd_show_command'
/usr/bin/ld: libdebugger/libdebugger.a(cmd.o): in function enter_debugger': /home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/cmd.c:384: undefined reference toadd_history'
/usr/bin/ld: /home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/cmd.c:385: undefined reference to execute_line' /usr/bin/ld: /home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/cmd.c:387: undefined reference toadd_history'
/usr/bin/ld: libdebugger/libdebugger.a(cmd.o): in function dbg_cmd_break_init': /home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/cmd_initialize.h:117: undefined reference toshort_command'
/usr/bin/ld: /home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/cmd_initialize.h:118: undefined reference to short_command' /usr/bin/ld: libdebugger/libdebugger.a(cmd.o): in functioncmd_initialize':
/home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/cmd_initialize.h:349: undefined reference to short_command' /usr/bin/ld: /home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/cmd_initialize.h:349: undefined reference toshort_command'
/usr/bin/ld: libdebugger/libdebugger.a(cmd.o): in function dbg_cmd_chdir_init': /home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/cmd_initialize.h:124: undefined reference toshort_command'
/usr/bin/ld: libdebugger/libdebugger.a(cmd.o):/home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/cmd_initialize.h:125: more undefined references to short_command' follow /usr/bin/ld: libdebugger/libdebugger.a(setq.o): in functiondbg_cmd_setq':
/home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/command/setq.c:32: undefined reference to dbg_cmd_set_var' /usr/bin/ld: libdebugger/libdebugger.a(setqx.o): in functiondbg_cmd_setqx':
/home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/command/setqx.c:32: undefined reference to dbg_cmd_set_var' /usr/bin/ld: libdebugger/libdebugger.a(source.o): in functiondbg_cmd_source':
/home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6/libdebugger/command/source.c:74: undefined reference to `execute_line'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[1]: [Makefile:1270: make] Error 1
make[1]: Leaving directory '/home/testuser/Downloads/bashdebugger/temp/remake-4.3+dbg-1.6'
make:
[Makefile:1414: all-recursive] Error 1

~~~

I also noticed that there is maybe the wrong package linked for the download. When I go to bashdbg download page, the newest version to download is remake. remake-4.3+dbg-1.6.tar.gz. What is remake, and why do I get that to download instead of bashdb ?

However in the files there is a bashddb version.
Installing the bashdb version it tells me that my version of bash is too new.
You require bash5.0. I have newer.

So the problem seems to be the wrong file linked for download at
https://sourceforge.net/projects/bashdb/ and when I do use the correct package (bashdbg) then the problem seems to be that my version of bash is too new.
How can I get around the latter ?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.