21楼#
发布于:2022-07-10 00:03
dgod:确实还缺,继续更新回到原帖似乎还得继续更…… ``` /usr/bin/ld: main.o: in function `main': /mnt/sdc1/llc/abs/yong/src/yong/common/main.c:2281: undefined reference to `l_call_client_connect' /usr/bin/ld: /mnt/sdc1/llc/abs/yong/src/yong/common/main.c:2282: undefined reference to `l_call_client_call' collect2: error: ld returned 1 exit status Error: Command failed: gcc -m64 -I/mnt/sdc1/llc/abs/yong/src/yong/llib -I/mnt/sdc1/llc/abs/yong/src/yong/im -I/mnt/sdc1/llc/abs/yong/src/yong/im/IMdkit -DCFG_XIM_IBUS `pkg-config --cflags ibus-1.0` -DCFG_XIM_FBTERM -I/mnt/sdc1/llc/abs/yong/src/yong/im/fbterm -DL_CALL_GLIB_SERVER -DL_CALL_GLIB_CLIENT -Wall -g -O2 -fno-strict-aliasing -pipe -I/mnt/sdc1/llc/abs/yong/src/yong/include -I/mnt/sdc1/llc/abs/yong/src/yong/common `pkg-config --cflags gtk+-2.0` -L/mnt/sdc1/llc/abs/yong/src/yong/llib/l64 -Wl,-rpath,'$ORIGIN' -Wl,--hash-style=sysv -m64 -L/mnt/sdc1/llc/abs/yong/src/yong/im/IMdkit/l64 main.o im.o bihua.o common.o s2t.o nl.o english.o dict.o keyboard.o mapfile.o aes.o book.o keytool.o keydesc.o ui.o fbterm.o keycode.o select.o layout.o translate.o ybus.o ybus-xim.o ybus-lcall.o lcall.o ybus-ibus.o menu.o history.o replace.o ybus-wayland.o app.o -o ./yong -ll -ll -ldl -lm -lXimd -lglib-2.0 -lgobject-2.0 -lcairo -lX11 -lpango-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lgdk-x11-2.0 -lgtk-x11-2.0 at checkExecSyncError (node:child_process:820:11) at Object.execSync (node:child_process:891:15) at exec (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:654:18) at ld (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:392:2) at eval (eval at _build_step (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:525:8), <anonymous>:54:3) at end (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:602:3) at run (eval at _build_step (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:525:8), <anonymous>:46:2) at eval (eval at _build_step (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:525:8), <anonymous>:84:2) at _build_step (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:525:8) { status: 1, signal: null, output: [ null, null, null ], pid: 34116, stdout: null, stderr: null } ==> ERROR: A failure occurred in build(). ``` |
|
22楼#
发布于:2022-07-10 00:09
laolang_cool:似乎还得继续更……应该不缺,你删除l64-gtk2/*下的所有文件,重新编译一次看看。我这是能过的。 |
|
23楼#
发布于:2022-07-10 00:17
dgod:应该不缺,你删除l64-gtk2/*下的所有文件,重新编译一次看看。我这是能过的。回到原帖确实,删掉就过了,但还是有文件找不到: ``` cp -f ../im/gnome-shell/yong@dgod.net.shell-extension.zip yong/gnome-shell cp: cannot stat '../im/gnome-shell/yong@dgod.net.shell-extension.zip': No such file or directory Error: Command failed: cp -f ../im/gnome-shell/yong@dgod.net.shell-extension.zip yong/gnome-shell at checkExecSyncError (node:child_process:820:11) at Object.execSync (node:child_process:891:15) at exec (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:654:18) at copy_data (eval at _build_step (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:525:8), <anonymous>:10:2) at eval (eval at _build_step (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:525:8), <anonymous>:72:2) at _build_step (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:525:8) at _run (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:816:2) at Object.<anonymous> (/mnt/sdc1/llc/abs/yong/src/build.js/build.js:819:1) at Module._compile (node:internal/modules/cjs/loader:1112:14) { status: 1, signal: null, output: [ null, null, null ], pid: 36191, stdout: null, stderr: null } ==> ERROR: A failure occurred in build(). ``` |
|
24楼#
发布于:2022-07-10 00:18
laolang_cool:确实,删掉就过了,但还是有文件找不到: 终于到安装这一步了,gnome-shell的扩展没传到git导致的,更新一下吧。 扩展有需要的话单独安装吧。 |
|
25楼#
发布于:2022-07-10 00:25
|
|
26楼#
发布于:2022-07-10 00:28
laolang_cool:太激动了,然后又出问题了……我不需要gtk4,是否可以不装gtk4呢?那你自己改一下install目录下的build.txt,把复制gtk4的删了,还要修改im/yong-tool.sh,把gtk4安装的删了 |
|
27楼#
发布于:2022-07-10 00:33
dgod:那你自己改一下install目录下的build.txt,把复制gtk4的删了,还要修改im/yong-tool.sh,把gtk4安装的删了回到原帖因i力我是用PKGBUILD编的,要修改源文件中的內容不方便自动编译,所以我还是安装了gtk4,但发现还是一样的错误,会不会不一定是缺gtk4的原因? ``` cp -f ../config/l64-gtk2/yong-config yong/l64/yong-config-gtk2 cp -f ../config/l64-gtk3/yong-config yong/l64/yong-config-gtk3 cp -f ../config/l64-gtk4/yong-config yong/l64/yong-config-gtk4 cp: cannot stat '../config/l64-gtk4/yong-config': No such file or directory ==> ERROR: A failure occurred in build(). Aborting... ``` |
|
28楼#
发布于:2022-07-10 00:46
laolang_cool:因i力我是用PKGBUILD编的,要修改源文件中的內容不方便自动编译,所以我还是安装了gtk4,但发现还是一样的错误,会不会不一定是缺gtk4的原因?那个pkgbuild里没有编译gtk4部分,所以就这样了,你可以加上编译部分,也可以删除安装gtk4部分 |
|
29楼#
发布于:2022-07-10 00:51
我尝试脚本里加上相关的目录:
``` mkdir -p {im,config}/{l64-gtk4,l64-gtk3,l64-gtk2} mkdir -p im/gtk-im/{l64-gtk4,l64-gtk3,l64-gtk2} mkdir -p config/l64-gtk4/yong-config ``` 然后现在的错误提示: ``` cp -f ../config/l64-gtk4/yong-config yong/l64/yong-config-gtk4 cp: -r not specified; omitting directory '../config/l64-gtk4/yong-config' ==> ERROR: A failure occurred in build(). Aborting... ``` |
|