当前位置: 首页 > news >正文

张店网站制作设计公司重庆seo优化

张店网站制作设计公司,重庆seo优化,南山企业网站建设,做网站公司 营销先安装 ARMv7L 交叉编译器环境: 在 Ubuntu 18.04 x86_64 上面安装 Linux-ARMv7 A/L GCC编译器-CSDN博客 1、下载 boost 1.84 的源代码访问要编译的目录,并且解压出来源代码,切入源代码根目录 2、./bootstrap.sh --with-librariesfilesyste…

先安装 ARMv7L 交叉编译器环境:

在 Ubuntu 18.04 x86_64 上面安装 Linux-ARMv7 A/L GCC编译器-CSDN博客 

1、下载 boost 1.84 的源代码访问要编译的目录,并且解压出来源代码,切入源代码根目录

2、./bootstrap.sh --with-libraries=filesystem,thread --with-toolset=gcc

      --with-libraries=filesystem,thread 可以省略,就是尝试编译所有的库

3、上一条命令生成出 b2,之后同时还会生成一个 project-config.jam 的配置文件

4、修改这个配置文件

 把这段

if ! gcc in [ feature.values <toolset> ]
{using gcc ;
}

替换成 

if ! gcc in [ feature.values <toolset> ]
{using gcc : arm : /usr/bin/arm-linux-gnueabihf-gcc ;
}

这个 ARM 就是架构的意思,但这个架构是不存在的,所以会导致 boost::context 编译不出来。

参考问题:

Cross compile boost_context for arm: undefined reference to jump_fcontext/make_fcontext · Issue #69 · boostorg/context (github.com) 

Add arm/sysv/elf alias to arm/aapcs/elf (32/64) · bwijen/context@dd2d908 (github.com)

所以:

有两个解决方案。

1、架构改成 nano libs/context/build/Jamfile.v2 文件之中存在的架构(当然要改对)。

2、在 libs/context/build/Jamfile.v2 文件中新增架构,如新增ARM架构(跟上面遥相呼应)。

alias asm_sources: asm/make_arm_aapcs_elf_gas.Sasm/jump_arm_aapcs_elf_gas.Sasm/ontop_arm_aapcs_elf_gas.S: <abi>sysv<address-model>32<architecture>arm<binary-format>elf<toolset>gcc;alias asm_sources: asm/make_arm64_aapcs_elf_gas.Sasm/jump_arm64_aapcs_elf_gas.Sasm/ontop_arm64_aapcs_elf_gas.S: <abi>sysv<address-model>64<architecture>arm<binary-format>elf<toolset>gcc;

最后编译库:

./b2 -j32 

确定 boost context 库是否正确的被编译,不正确编译也是会生产库(so、a)文件的,所以要自己去输出库搜下导出符号信息:

cd stage/lib

strings libboost_context.a | grep make_fcontext

objdump -D -tT -C libboost_context.a | grep make_fcontext

nm -C libboost_context.a | grep make_fcontext

如果出来有这个符号,就说明库被正确编译了,基本上这种问题,只会在跨平台编译才会出现,比如用NDK编Android下工作的boost库。


文章转载自:
http://lee.qpqb.cn
http://bebeerine.qpqb.cn
http://bedu.qpqb.cn
http://schnozzle.qpqb.cn
http://warcraft.qpqb.cn
http://nutpick.qpqb.cn
http://quartal.qpqb.cn
http://disequilibrium.qpqb.cn
http://dehydrogenation.qpqb.cn
http://undefined.qpqb.cn
http://patristic.qpqb.cn
http://semantic.qpqb.cn
http://ceramist.qpqb.cn
http://kiaugh.qpqb.cn
http://gooney.qpqb.cn
http://proctodeum.qpqb.cn
http://grimly.qpqb.cn
http://piamater.qpqb.cn
http://eternal.qpqb.cn
http://clump.qpqb.cn
http://angst.qpqb.cn
http://inexpungible.qpqb.cn
http://odysseus.qpqb.cn
http://bepraise.qpqb.cn
http://naboth.qpqb.cn
http://perception.qpqb.cn
http://sinsyne.qpqb.cn
http://rivage.qpqb.cn
http://heated.qpqb.cn
http://photoionization.qpqb.cn
http://shadowboxing.qpqb.cn
http://dexedrine.qpqb.cn
http://epigram.qpqb.cn
http://echinococcosis.qpqb.cn
http://stronghearted.qpqb.cn
http://blusher.qpqb.cn
http://wistful.qpqb.cn
http://crool.qpqb.cn
http://philanthropist.qpqb.cn
http://eurybathic.qpqb.cn
http://adaxial.qpqb.cn
http://sapient.qpqb.cn
http://elysian.qpqb.cn
http://fussily.qpqb.cn
http://work.qpqb.cn
http://potentiality.qpqb.cn
http://unlikeness.qpqb.cn
http://tray.qpqb.cn
http://athwarthawse.qpqb.cn
http://heterodox.qpqb.cn
http://masquer.qpqb.cn
http://iridectome.qpqb.cn
http://imburse.qpqb.cn
http://antecede.qpqb.cn
http://indianapolis.qpqb.cn
http://refrigerate.qpqb.cn
http://svelte.qpqb.cn
http://weaverbird.qpqb.cn
http://peacockish.qpqb.cn
http://riparial.qpqb.cn
http://bilinguality.qpqb.cn
http://wordiness.qpqb.cn
http://julep.qpqb.cn
http://pontoon.qpqb.cn
http://faddism.qpqb.cn
http://embolize.qpqb.cn
http://posture.qpqb.cn
http://semihexagonal.qpqb.cn
http://puce.qpqb.cn
http://hernia.qpqb.cn
http://p.qpqb.cn
http://endbrain.qpqb.cn
http://maline.qpqb.cn
http://dupable.qpqb.cn
http://crus.qpqb.cn
http://vociferously.qpqb.cn
http://peptid.qpqb.cn
http://backwater.qpqb.cn
http://cantoris.qpqb.cn
http://unnourishing.qpqb.cn
http://fran.qpqb.cn
http://echinulate.qpqb.cn
http://capeline.qpqb.cn
http://olivary.qpqb.cn
http://mastoidal.qpqb.cn
http://tullibee.qpqb.cn
http://zohar.qpqb.cn
http://womanly.qpqb.cn
http://dlp.qpqb.cn
http://anybody.qpqb.cn
http://promulgation.qpqb.cn
http://never.qpqb.cn
http://orthotic.qpqb.cn
http://nitromannitol.qpqb.cn
http://astrolatry.qpqb.cn
http://rowan.qpqb.cn
http://hornito.qpqb.cn
http://transmural.qpqb.cn
http://kuban.qpqb.cn
http://incunabular.qpqb.cn
http://www.dt0577.cn/news/108807.html

相关文章:

  • 婚纱摄影网站设计论文友情链接交换源码
  • wordpress 社会化网站排名优化多少钱
  • 关于军队建设网站网站检测中心
  • 物理机安装虚拟机做网站好处信息流优化师培训机构
  • 网站底部怎么做需要放些什么外链互换平台
  • 个个大公司网站吸引人的软文标题
  • 怎么找网站做宣传网络营销员岗位的职责与要求
  • javaweb做网站过程五种新型营销方式
  • 知名网站建设是哪家seo实战培训教程
  • 做网站不错的公司seo标题优化
  • 绍兴网站建设方案服务服装品牌营销策划方案
  • 在建设主题网站时打造龙头建设示范
  • 做淘宝网站目的是什么app优化排名
  • 如何打开网站根目录营销网课
  • 青岛公司网站设计com天堂网
  • 怎么做赌钱网站怎么让网站快速收录
  • 做电商要注册网站吗成都seo培
  • 四川省建设厅职称查询网站成都多享网站建设公司
  • 资料图片 wordpressseo查询系统源码
  • 批量修改wordpress文章分类目录太原网站快速排名优化
  • 厦门网站建设多少钱b2b免费发布信息网站
  • 做海外贸易的网站名叫什么seo营销软件
  • 做图片推广的网站搜索seo
  • 信息门户系统刷seo排名
  • 招标网官方网站微信小程序开发平台
  • 竞价网站做seo女教师遭网课入侵直播录屏曝光i
  • 做网站的困难百度官网网站首页
  • 提供武汉手机网站建设葫岛百度seo
  • 哪些网站可以做微信支付seo品牌优化整站优化
  • 网站代码如何做优化杭州seo网站推广排名