找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 5109|回复: 17

请问高手ubuntu编译环境问题

[复制链接]
本帖最后由 725216 于 2017-5-3 20:42 编辑

我试过几个版本的ubuntu,相互的错误都一样,我按教程来的,包也没少装,后来又找到一个帖子,里面说运行下面的命令让OpenWrt编译系统检查你的编译环境中缺失的软件包::
    make defconfig   
     
   make prereq

   make menuconfig
输入第一个命令后提示configuration written to .config请问高手要怎么搞?




我的恩山、我的无线 The best wifi forum is right here.
来自手机 | 显示全部楼层
那提示是生成默认config配置

点评

反正最后编译时出了错误,我发过请教贴,没解决  详情 回复 发表于 2017-5-4 16:12
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
99010 发表于 2017-5-4 13:34
那提示是生成默认config配置

反正最后编译时出了错误,我发过请教贴,没解决
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

...你倒是把错误提示贴上来啊

点评

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 whe  详情 回复 发表于 2017-5-4 17:39
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
xi452686571 发表于 2017-5-4 16:31
...你倒是把错误提示贴上来啊

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$
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
error: mbed TLS libraries not found.

点评

照着网上的教程安装过mbedtls-2.4.2-apache.tgz这个无效,也按别人的建议复制 https://github.com/wongsyrone/le ... ackage/libs/mbedtls 到 SDK的package里也不行  详情 回复 发表于 2017-5-5 10:54
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
mmmyc 发表于 2017-5-5 09:45
error: mbed TLS libraries not found.

照着网上的教程安装过mbedtls-2.4.2-apache.tgz这个无效,也按别人的建议复制 https://github.com/wongsyrone/le ... ackage/libs/mbedtls 到 SDK的package里也不行

点评

你是复制到sdk目录package/libs/mbedtlackage/libs/mbedtls中吗  详情 回复 发表于 2017-5-5 19:50
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

./scripts/feeds install libpolarssl

点评

不 行。。。。。。。。。。。。  详情 回复 发表于 2017-5-5 12:44
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
xi452686571 发表于 2017-5-5 11:55
./scripts/feeds install libpolarssl

不 行。。。。。。。。。。。。

点评

你编译的是哪个包, 用的哪个SDK  详情 回复 发表于 2017-5-5 14:01
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

725216 发表于 2017-5-5 12:44
不 行。。。。。。。。。。。。

你编译的是哪个包, 用的哪个SDK

点评

照着http://m.blog.csdn.net/article/details?id=62215033这个來的,试了潘多拉的也一样  详情 回复 发表于 2017-5-5 17:01
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
本帖最后由 725216 于 2017-5-5 17:06 编辑
xi452686571 发表http://m.blog.csdn.net/article/details?id=52931211于 2017-5-5 14:01你编译的是哪个包, 用的哪个SDK

照着这个來的,试了潘多拉的也一样http://m.blog.csdn.net/article/details?id=52931211
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
本帖最后由 缘亦如此1 于 2017-5-5 20:12 编辑
725216 发表于 2017-5-5 10:54
照着网上的教程安装过mbedtls-2.4.2-apache.tgz这个无效,也按别人的建议复制 https://github.com/wongsyr ...

你确定是复制到sdk/package/libs/mbedtls中了吗

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

使用道具 举报

本帖最后由 缘亦如此1 于 2017-5-5 21:09 编辑

我也是刚学会编译,没有错误,系统Xubuntu 16.04 LTS论坛会修改SS的关键字 所以用TIM吧
我分享了来自TIM的在线文档"无标题文档",点击查看:
https://1989385650.docs.qq.com/lxOgpMdNtc4?opendocxfrom=tim

点评

我电脑太老,安装16.04显卡无驱动,分辨率低,编译时出那图形界面时会报错,  详情 回复 发表于 2017-5-5 21:55
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
缘亦如此1 发表于 2017-5-5 20:13
我也是刚学会编译,没有错误,系统Xubuntu 16.04 LTS论坛会修改SS的关键字 所以用TIM吧
我分享了来自TIM的 ...

我电脑太老,安装16.04显卡无驱动,分辨率低,编译时出那图形界面时会报错,
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
我先把显卡驱动研究好才能装16.04

点评

你应该是是库不全,用下面的就可以。 git clone https://github.com/s-s/openwrt-feeds.git package/feeds  详情 回复 发表于 2017-5-5 22:30
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

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

GMT+8, 2024-4-29 05:55

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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