Problem when porting CyanogenMod 7 to x86

39 views
Skip to first unread message

gustavo menezes

unread,
Nov 2, 2025, 1:46:52 PMNov 2
to Android-x86
I know this is very unrelated to Android-x86 but i'm attempting to port CyanogenMod 7 to x86 now and a error appeared saying:

/root/gb/external/bash/shell.c:377: undefined reference to `sigsetjmp'
/root/gb/external/bash/shell.c:409: undefined reference to `sigsetjmp'
/root/gb/external/bash/shell.c:443: undefined reference to `sigsetjmp'
/root/gb/external/bash/shell.c:593: undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/eval.o:/root/gb/external/bash/eval.c:78: more undefined references to `sigsetjmp' follow
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/execute_cmd.o: In function `shell_execve':
execute_cmd.c:(.text.shell_execve+0x348): undefined reference to `siglongjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/execute_cmd.o: In function `execute_in_subshell':
execute_cmd.c:(.text.execute_in_subshell+0x24a): undefined reference to `sigsetjmp'
execute_cmd.c:(.text.execute_in_subshell+0x412): undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/execute_cmd.o: In function `execute_function':
execute_cmd.c:(.text.execute_function+0x371): undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/execute_cmd.o: In function `execute_subshell_builtin_or_function':
execute_cmd.c:(.text.execute_subshell_builtin_or_function+0x14d): undefined reference to `sigsetjmp'
execute_cmd.c:(.text.execute_subshell_builtin_or_function+0x1d5): undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/expr.o: In function `evalerror':
/root/gb/external/bash/expr.c:1205: undefined reference to `siglongjmp'
/root/gb/external/bash/expr.c:1205: undefined reference to `siglongjmp'
/root/gb/external/bash/expr.c:1205: undefined reference to `siglongjmp'
/root/gb/external/bash/expr.c:1205: undefined reference to `siglongjmp'
/root/gb/external/bash/expr.c:1205: undefined reference to `siglongjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/expr.o:/root/gb/external/bash/expr.c:1205: more undefined references to `info: writing reverse G fst as text out/target/product/vbox_x86/system/usr/srec/config/en.us/grammars/phone_type_choice.Grev2.det.txt
siglongjmp' follow
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/expr.o: In function `evalexp':
/root/gb/external/bash/expr.c:328: undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/expr.o: In function `evalerror':
/root/gb/external/bash/expr.c:1205: undefined reference to `siglongjmp'
/root/gb/external/bash/expr.c:1205: undefined reference to `siglongjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/jobs.o: In function `wait_sigint_handler':
/root/gb/external/bash/jobs.c:2221: undefined reference to `siglongjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/jobs.o: In function `waitchld':
/root/gb/external/bash/jobs.c:3161: undefined reference to `siglongjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/info: reading model fst external/srec/config/en.us/models/generic.C
bash_intermediates/subst.o: In function `command_substitute':
subst.c:(.text.command_substitute+0x316): undefined reference to `sigsetjmp'
subst.c:(.text.command_substitute+0x3fa): undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/trap.o: In function `_run_trap_internal':
trap.c:(.text._run_trap_internal+0x1bc): undefined reference to `siglongjmp'
trap.c:(.text._run_trap_internal+0x1f9): undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/trap.o: In function `run_exit_trap':
trap.c:(.text.run_exit_trap+0xaf): undefined reference to `sigsetjmp'
trap.c:(.text.run_exit_trap+0x162): undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/trap.o: In function `trap_handler':
trap.c:(.text.trap_handler+0xc6): undefined reference to `siglongjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/sig.o: In function `jump_to_top_level':
sig.c:(.text.jump_to_top_level+0x24): undefined reference to `siglongjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/test.o: In function `test_syntax_error':
/root/gb/external/bash/test.c:136: undefined reference to `siglongjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/test.o: In function `test_command':
/root/gb/external/bash/test.c:799: undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/test.o: In function `test_syntax_error':
/root/gb/external/bash/test.c:136: undefined reference to `siglongjmp'
out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/test.o: In function `test_command':
/root/gb/external/bash/test.c:829: undefined reference to `siglongjmp'
/root/gb/external/bash/test.c:821: undefined reference to `siglongjmp'
out/target/product/vbox_x86/obj/STATIC_LIBRARIES/libbuiltins_intermediates/libbuiltins.a(evalfile.o): In function `_evalfile':
/root/gb/external/bash/builtins/evalfile.c:257: undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/STATIC_LIBRARIES/libbuiltins_intermediates/libbuiltins.a(evalstring.o): In function `parse_string':
/root/gb/external/bash/builtins/evalstring.c:409: undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/STATIC_LIBRARIES/libbuiltins_intermediates/libbuiltins.a(evalstring.o): In function `parse_and_execute':
/root/gb/external/bash/builtins/evalstring.c:212: undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/STATIC_LIBRARIES/libbuiltins_intermediates/libbuiltins.a(read.o): In function `sigalrm':
/root/gb/./read.def:138: undefined reference to `siglongjmp'
out/target/product/vbox_x86/obj/STATIC_LIBRARIES/libbuiltins_intermediates/libbuiltins.a(read.o): In function `read_builtin':
/root/gb/./read.def:383: undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/STATIC_LIBRARIES/libbuiltins_intermediates/libbuiltins.a(return.o): In function `return_builtin':
/root/gb/./return.def:70: undefined reference to `siglongjmp'
out/target/product/vbox_x86/obj/STATIC_LIBRARIES/libbuiltins_intermediates/libbuiltins.a(wait.o): In function `wait_builtin':
/root/gb/./wait.def:113: undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/STATIC_LIBRARIES/libreadline_intermediates/libreadline.a(readline.o): In function `readline_internal_char':
readline.c:(.text.readline_internal_char+0x45): undefined reference to `sigsetjmp'
out/target/product/vbox_x86/obj/STATIC_LIBRARIES/libreadline_intermediates/libreadline.a(util.o): In function `_rl_abort_internal':
util.c:(.text._rl_abort_internal+0x69): undefined reference to `siglongjmp'
collect2: ld returned 1 exit status
make: *** [out/target/product/vbox_x86/obj/EXECUTABLES/bash_intermediates/LINKED/bash] Error 1
make: *** Waiting for unfinished jobs....

Does someone know how to fix this error?
Reply all
Reply to author
Forward
0 new messages