找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 449|回复: 7

建议和意见

[复制链接]

22

主题

58

回帖

343

积分

超级版主

积分
343
发表于 2024-6-4 19:36:28 | 显示全部楼层 |阅读模式
包括论坛建设,久久派的售后和后续的技术支持 ~~~

11

主题

59

回帖

371

积分

超级版主

积分
371
发表于 2024-6-4 20:25:00 | 显示全部楼层
期望后面能基于久久派V1.1做个扩展实验板子。

1

主题

17

回帖

51

积分

注册会员

积分
51
发表于 2024-6-16 19:27:30 | 显示全部楼层
能不能发布一个带gcc和gdb的镜像,我希望能够在板子上直接编译和运行《汇编语言编程基础-基于LoongArch》的示例程序。
现在看来,只能在PC上交叉编译,然后通过串口拷贝到文件系统下运行。

22

主题

58

回帖

343

积分

超级版主

积分
343
 楼主| 发表于 2024-6-16 19:48:56 | 显示全部楼层
riple 发表于 2024-6-16 19:27
能不能发布一个带gcc和gdb的镜像,我希望能够在板子上直接编译和运行《汇编语言编程基础-基于LoongArch》的 ...

预装的系统是支持debian包管理的,可以到loongnix上”偷“包

先把验证gpg装上

wget http://pkg.loongnix.cn/loongnix/ ... 019.1.lnd.2_all.deb
dpkg -i debian-archive-keyring_2019.1.lnd.2_all.deb
apt-key add /usr/share/keyrings/debian-archive-buster-loongarch64-stable.gpg

然后到这里去找包
http://pkg.loongnix.cn/loongnix/pool/main/g/gcc-8/

1

主题

17

回帖

51

积分

注册会员

积分
51
发表于 2024-6-17 21:10:34 | 显示全部楼层
杜比 发表于 2024-6-16 19:48
预装的系统是支持debian包管理的,可以到loongnix上”偷“包

先把验证gpg装上

I tried to manually install the deb packages and solve the dependencies.
Now I got
"apt: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory"

1

主题

17

回帖

51

积分

注册会员

积分
51
发表于 2024-6-19 04:43:41 | 显示全部楼层
After gcc-8 is installed, multiple programs are failing due to missing shared libraries:
  1. root@LoongOS:~# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
  2. wpa_supplicant: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
复制代码
  1. root@LoongOS:work# gcc-8 hello.c
  2. /usr/lib/gcc/loongarch64-linux-gnu/8/cc1: error while loading shared libraries: libisl.so.19: cannot open shared object file: No such file or directory
复制代码
  1. root@LoongOS:deb# apt update
  2. apt: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
复制代码

22

主题

58

回帖

343

积分

超级版主

积分
343
 楼主| 发表于 2024-6-19 06:32:25 | 显示全部楼层
一是看一下提示缺少的库,是否存在
二是查看 LD_LIBRARY_PATH 这个环境变量的配置,是否被包安装改动

  1. /usr/lib
  2. /usr/loongarch64-linux-gnu/lib64
复制代码

1

主题

17

回帖

51

积分

注册会员

积分
51
发表于 2024-6-19 19:56:11 | 显示全部楼层
Problem solved. All above commands work now! Thank you so much!
  1. export LD_LIBRARY_PATH=/usr/lib/loongarch64-linux-gnu/
复制代码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Discuz! X

GMT+8, 2024-9-20 08:01 , Processed in 0.087118 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表