找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3507|回复: 13

openwrt编译CUPS打印机共享出错

[复制链接]
发表于 2019-8-6 21:25 | 显示全部楼层 |阅读模式
根据这个教程
https://www.right.com.cn/forum/thread-325222-1-1.html

用的2.2.10版本(最新版本一样出问题)

编译到 cp文件的时候总是提示没有libcups.so

可是根据cups的源文件,他的这些so文件并没有生成在 ipkg-install/cups这个文件夹里面

cp -fpR /home/londy/lede/build_dir/target-mipsel_24kc_musl/cups-2.2.10/ipkg-install/usr/lib/libcups.so* /home/londy/lede/build_dir/target-mipsel_24kc_musl/cups-2.2.10/ipkg-mipsel_24kc/libcups/usr/lib/
cp: cannot stat '/home/londy/lede/build_dir/target-mipsel_24kc_musl/cups-2.2.10/ipkg-install/usr/lib/libcups.so*': No such file or directory
make[3]: *** [Makefile:316: /home/londy/lede/bin/packages/mipsel_24kc/cups/libcups_2.2.10-1_mipsel_24kc.ipk] Error 1
make[3]: Leaving directory '/home/londy/lede/feeds/cups/cups'
time: package/feeds/cups/cups/compile#68.09#12.09#76.16
make[2]: *** [package/Makefile:109: package/feeds/cups/cups/compile] Error 2
make[2]: Leaving directory '/home/londy/lede'
make[1]: *** [package/Makefile:103: /home/londy/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/londy/lede'
make: *** [/home/londy/lede/include/toplevel.mk:218:world] 错误 2


我的恩山、我的无线 The best wifi forum is right here.
头像被屏蔽
 楼主| 发表于 2019-8-8 17:54 | 显示全部楼层
提示: 该帖被管理员或版主屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-9-1 12:00 | 显示全部楼层
他的那个源是lede的吧?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-9-1 13:06 | 显示全部楼层
onllno 发表于 2019-9-1 12:00
他的那个源是lede的吧?

对  不过没关系 我已经编译好了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-9-2 21:01 | 显示全部楼层
能把cups.ipk分享下嘛,我一直编译不出来。同样的错误。或者告知下怎么解决的。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-9-2 22:04 | 显示全部楼层
能否告知下解决方案,我也是这个问题。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-9-3 20:27 | 显示全部楼层
本帖最后由 暴牙弟 于 2019-9-3 20:30 编辑
boboa 发表于 2019-9-2 22:04
能否告知下解决方案,我也是这个问题。


直接在cups的源码压缩包里建立这个报错的文件夹路径,然后把所需要的so文件放进去,(编译出错后so文件已经生成了,去对应的生成路径找,或者直接搜索LEDE文件夹。)然后重新打包成tar.gz 。并且要修改cups的makefile ,把最后几句所有.so改成.* (这里有4个需要复制库文件,自己搜索找出来放到源码包里。)
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-9-3 20:28 | 显示全部楼层
onllno 发表于 2019-9-2 21:01
能把cups.ipk分享下嘛,我一直编译不出来。同样的错误。或者告知下怎么解决的。

我回答楼下了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-9-5 08:45 | 显示全部楼层
最新版固件,地址直接下来的2.1.4可以直接编译通过,其它版不行。另一个固件用2.2.8编译通过。

点评

能过能用就行 新版本的log里面无非是一些 增加支持 xxx平台 修复bug而已  详情 回复 发表于 2019-9-5 14:12
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-9-5 14:12 | 显示全部楼层
onllno 发表于 2019-9-5 08:45
最新版固件,地址直接下来的2.1.4可以直接编译通过,其它版不行。另一个固件用2.2.8编译通过。

能过能用就行 新版本的log里面无非是一些 增加支持 xxx平台  修复bug而已
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头像被屏蔽
发表于 2020-2-23 05:52 来自手机 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-2-23 09:59 | 显示全部楼层
posuolove 发表于 2020-2-23 05:52
你好,cups.ipk文件能分享下么?小白一枚不会编译,想在openwrt固件里安装cups插件!实现关闭电脑情况下 ...

什么路由
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头像被屏蔽
发表于 2020-2-23 10:18 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-7-31 17:06 | 显示全部楼层
能分享下怎么编译的吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 12:55

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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