找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: 兔***

折腾OSCAM之一---OSCAM交叉编译详细步骤

  [复制链接]
 楼主| 发表于 2015-4-2 13:20 来自手机 | 显示全部楼层
使用openwrt源码的话,编译比较耗时呀。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-4-4 23:44 | 显示全部楼层
LazyZhu 发表于 2015-4-2 00:50
先编译依赖:
libopenssl
libusb-1.0

求教一下,依赖如何编译的,有没有一个例子?谢谢了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-4-4 23:45 | 显示全部楼层
LazyZhu 发表于 2015-4-2 00:50
先编译依赖:
libopenssl
libusb-1.0

求教一下,依赖如何编译的,有没有一个例子?谢谢了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-5-6 18:42 | 显示全部楼层
兔巴哥 发表于 2015-4-2 11:46
今天重新尝试了一下楼上“99010”和“LazyZhu”的Makefile文件,情况如下:

1 ...

99的MAKE 是没问题的,问题在于,你需要先把PCSC 驱动给编译出来,官方不是自带了么  

点评

你说的官方自带是指用openwrt源码编译吗?  详情 回复 发表于 2015-11-15 21:49
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-5-16 20:33 | 显示全部楼层
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... yes
checking for vprintf... yes
checking for _doprnt... no
checking for daemon... yes
checking for flock... yes
checking for getopt_long... yes
checking for nanosleep... yes
checking for strerror... yes
checking for vsnprintf... yes
checking for strlcpy... no
checking for strlcat... no
checking for inline... inline
checking for -fvisibility=hidden... yes
checking for dlopen in -ldl... yes
checking for socket in -lsocket... no
checking for mq_getattr in -lrt... yes
checking for LIBUSB... yes
checking libusb.h usability... yes
checking libusb.h presence... yes
checking for libusb.h... yes
checking for libusb_init... configure: error: libusb not found, use ./configure LIBUSB_LIBS=...

我现在的情况是在configure这一步,无论如何都过不了这个错误。折腾了10来天了,也没有找到办法。libusb1.0.9已经安装了,也在相应目前下生成了相关的文件,就是PCSC无论如何都说找不到libusb,楼主可有遇见过?
如果不加PCSC驱动,直接编译是可以成功并且正常运行的。

点评

没有遇见过这种情况。 我的记录是这样的: checking for LIBUSB... yes checking libusb.h usability... yes checking libusb.h presence... yes checking for libusb.h... yes checking for libusb_init... y  详情 回复 发表于 2015-5-20 20:45
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2015-5-20 20:45 | 显示全部楼层
本帖最后由 兔巴哥 于 2015-5-20 20:52 编辑
micropro 发表于 2015-5-16 20:33
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empt ...

没有遇见过这种情况。
我的记录是这样的:
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... yes
checking for vprintf... yes
checking for _doprnt... no
checking for daemon... yes
checking for flock... yes
checking for getopt_long... yes
checking for nanosleep... yes
checking for strerror... yes
checking for vsnprintf... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for inline... inline
checking for -fvisibility=hidden... yes
checking for library containing dlopen... -ldl
checking for socket in -lsocket... no
checking for mq_getattr in -lrt... yes
checking for LIBUSB... yes
checking libusb.h usability... yes
checking libusb.h presence... yes
checking for libusb.h... yes
checking for libusb_init... yes

PC/SC lite has been configured with following options:
.....................................
你可能是哪一步没有做对。

点评

这几天天天在搞这个编译。 我试了一下,用openwrt.org.cn上下载的HG255D用的SDK包,编译成功。 而用TOOLCHAIN包,打死都是错在libusb not found这一步。  详情 回复 发表于 2015-5-23 16:39
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-5-23 16:39 | 显示全部楼层
兔巴哥 发表于 2015-5-20 20:45
没有遇见过这种情况。
我的记录是这样的:
checking whether lstat correctly handles trailing slash. ...

这几天天天在搞这个编译。
我试了一下,用openwrt.org.cn上下载的HG255D用的SDK包,编译成功。
而用TOOLCHAIN包,打死都是错在libusb not found这一步。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2015-5-23 20:09 | 显示全部楼层
你可以比照我的步骤仔细检查一下看看是哪里不对。
还有,只用TOOLCHAIN包也是不行的;还有,是不是文件所在的目录原因而导致权限不够.....
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-5-23 20:58 | 显示全部楼层
这个包是做什么用的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2015-5-24 21:02 | 显示全部楼层
编译固件(或者插件)开发包撒。

点评

我说的是oscam是干什么用的,并不是压缩包里的内容哦  详情 回复 发表于 2015-5-24 21:25
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-5-24 21:25 | 显示全部楼层
兔巴哥 发表于 2015-5-24 21:02
编译固件(或者插件)开发包撒。

我说的是oscam是干什么用的,并不是压缩包里的内容哦

点评

数字电视共享插件用的。自己百度一下不就知道啦。  详情 回复 发表于 2015-5-25 15:46
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2015-5-25 15:46 | 显示全部楼层
wangshuoyao 发表于 2015-5-24 21:25
我说的是oscam是干什么用的,并不是压缩包里的内容哦

数字电视共享插件用的。自己百度一下不就知道啦。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2015-11-15 21:49 | 显示全部楼层
尐子 发表于 2015-5-6 18:42
99的MAKE 是没问题的,问题在于,你需要先把PCSC 驱动给编译出来,官方不是自带了么

你说的官方自带是指用openwrt源码编译吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-1-9 17:32 | 显示全部楼层
我晕死了,终于让我的账号复活了。真心痛苦
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-4-22 14:07 | 显示全部楼层
Mark
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-26 09:14

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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