恩山无线论坛

标题: 请问高手,请问编译潘多拉ipk时,出现的这个错误怎么解决? [打印本页]

作者: 725216    时间: 2017-4-25 18:46
标题: 请问高手,请问编译潘多拉ipk时,出现的这个错误怎么解决?
本帖最后由 725216 于 2017-4-25 18:46 编辑

   光装ubuntu都搞了几天,以前装的32位的系统失败,因为电脑太老,装64位的14.04和16.04因为不支持电脑的集成显卡,失败,后换成13.04的成了,但要修改下源地址,照这http://blog.csdn.net/lvshaorong/article/details/52931211这个帖子做的,这个版本的没有14.04和16.04的那些错误,但是还是有问题,请高手指教:
hecking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mipsel-openwrt-linux-uclibc-gcc accepts -g... yes
checking for mipsel-openwrt-linux-uclibc-gcc option to accept ISO C89... none needed
checking whether mipsel-openwrt-linux-uclibc-gcc understands -c and -o together... yes
checking how to run the C preprocessor... mipsel-openwrt-linux-uclibc-gcc -E
checking for grep that handles long lines and -e... /home/rxy/a/staging_dir/host/bin/grep
checking for egrep... /home/rxy/a/staging_dir/host/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mipsel-openwrt-linux-strip... mipsel-openwrt-linux-uclibc-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of mipsel-openwrt-linux-uclibc-gcc... gcc3
checking for mipsel-openwrt-linux-ar... mipsel-openwrt-linux-uclibc-gcc-ar
checking the archiver (mipsel-openwrt-linux-uclibc-gcc-ar) interface... ar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... mipsel-openwrt-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /home/rxy/a/staging_dir/host/bin/sed
checking for fgrep... /home/rxy/a/staging_dir/host/bin/grep -F
checking for ld used by mipsel-openwrt-linux-uclibc-gcc... mipsel-openwrt-linux-uclibc-ld
checking if the linker (mipsel-openwrt-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mipsel-openwrt-linux-uclibc-gcc-nm
checking the name lister (mipsel-openwrt-linux-uclibc-gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to mipsel-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for mipsel-openwrt-linux-uclibc-ld option to reload object files... -r
checking for mipsel-openwrt-linux-objdump... mipsel-openwrt-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mipsel-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mipsel-openwrt-linux-ar... (cached) mipsel-openwrt-linux-uclibc-gcc-ar
checking for archiver @FILE support... @
checking for mipsel-openwrt-linux-strip... (cached) mipsel-openwrt-linux-uclibc-strip
checking for mipsel-openwrt-linux-ranlib... mipsel-openwrt-linux-uclibc-gcc-ranlib
checking command to parse mipsel-openwrt-linux-uclibc-gcc-nm output from mipsel-openwrt-linux-uclibc-gcc object... ok
checking for sysroot... no
checking for mipsel-openwrt-linux-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mipsel-openwrt-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mipsel-openwrt-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if mipsel-openwrt-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if mipsel-openwrt-linux-uclibc-gcc static flag -static works... no
checking if mipsel-openwrt-linux-uclibc-gcc supports -c -o file.o... yes
checking if mipsel-openwrt-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the mipsel-openwrt-linux-uclibc-gcc linker (mipsel-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... cross
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for pcre-config... pcre-config
checking for pcre headers in ... not found
checking for library containing pcre_exec... -lpcre
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking for mipsel-openwrt-linux-gcc... (cached) mipsel-openwrt-linux-uclibc-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether mipsel-openwrt-linux-uclibc-gcc accepts -g... (cached) yes
checking for mipsel-openwrt-linux-uclibc-gcc option to accept ISO C89... (cached) none needed
checking whether mipsel-openwrt-linux-uclibc-gcc understands -c and -o together... (cached) yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for thread local storage (TLS) class... __thread
checking for mbedtls_cipher_setup in -lmbedcrypto... no
configure: error: mbed TLS libraries not found.
make[2]: *** [/home/rxy/a/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/s-s-libev//s-s-libev-3.0.5-1/.configured_yyyy] Error 1
make[2]: Leaving directory `/home/rxy/a/package/s-s-libev'
make[1]: *** [package/s-s-libev/compile] Error 2
make[1]: Leaving directory `/home/rxy/a'
make: *** [package/s-s-libev/compile] 错误 2
rxy@rxy-laptop:~/a$






作者: zhouruixi    时间: 2017-4-25 20:11
先安装mbed库
作者: 缘亦如此1    时间: 2017-4-25 21:09
本帖最后由 缘亦如此1 于 2017-4-25 21:11 编辑

复制 https://github.com/wongsyrone/le ... ackage/libs/mbedtls 到 SDK的package目录里面,重新编译。
作者: 725216    时间: 2017-4-25 21:25
按教程编了个luci倒是成功了,普通的ipk就不行
作者: lcsuper    时间: 2017-4-25 22:05
那帖子写的很完整,按着做出问题,一般是编译环境搭建缺东西,二是潘多拉的feed是空的,你要自己添加feed的库地址,并且要把base,package都安装一下,再者就是缺第三方库,自己自己编译就行了

作者: 725216    时间: 2017-4-25 22:06
缘亦如此1 发表于 2017-4-25 21:09
复制 https://github.com/wongsyrone/lede-1/tree/master/package/libs/mbedtls 到 SDK的package目录里面, ...

奇怪,我怎么找不到下载的按钮?
作者: 725216    时间: 2017-4-25 22:07
缘亦如此1 发表于 2017-4-25 21:09
复制 https://github.com/wongsyrone/lede-1/tree/master/package/libs/mbedtls 到 SDK的package目录里面, ...

奇怪,我怎么找不到下载的按钮?
作者: 缘亦如此1    时间: 2017-4-25 22:17
本帖最后由 缘亦如此1 于 2017-4-25 22:34 编辑
725216 发表于 2017-4-25 22:07
奇怪,我怎么找不到下载的按钮?

svn checkout https://github.com/wongsyrone/lede-1/trunk/package/libs/mbedtls package/libs/mbedtls


作者: 缘亦如此1    时间: 2017-4-25 22:19
725216 发表于 2017-4-25 21:25
按教程编了个luci倒是成功了,普通的ipk就不行

你编译的SS吧
作者: 725216    时间: 2017-4-25 22:41
缘亦如此1 发表于 2017-4-25 22:19
你编译的SS吧

我 只是 先做个 实验,为了 编别的 东西
作者: 725216    时间: 2017-4-26 11:03
zhouruixi 发表于 2017-4-25 20:11
先安装mbed库

按楼下的弄了无效?应该也不是编译器问题,按教程的试过
作者: downas    时间: 2017-5-1 09:35
多找几份源码编译一下,有时候能自动补全所缺的库。
作者: 血洗刀锋    时间: 2017-5-1 19:58
明显是库没装全
作者: 725216    时间: 2017-5-1 20:15
照着几个教程装的库,怎么会不全?
作者: hello_limin    时间: 2017-11-21 22:43
缘亦如此1 发表于 2017-4-25 21:09
复制 https://github.com/wongsyrone/lede-1/tree/master/package/libs/mbedtls 到 SDK的package目录里面, ...

有用,谢谢解惑,
作者: robinher    时间: 2017-12-4 16:40
lcsuper 发表于 2017-4-25 22:05
那帖子写的很完整,按着做出问题,一般是编译环境搭建缺东西,二是潘多拉的feed是空的,你要自己添加feed的 ...

感谢指点,原来我这报错是feeds的问题。





欢迎光临 恩山无线论坛 (https://www.right.com.cn/forum/) Powered by Discuz! X3.5