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

在线做ppt模板下载网站百度seo报价方法

在线做ppt模板下载网站,百度seo报价方法,20m带宽做网站够用吗,在线做网站流程需要编译rsyslog,参考海思3536平台上rsyslog交叉编译、使用-CSDN博客和rsyslog移植(亲测成功)_rsyslog交叉编译-CSDN博客 首先下载了要用到的一些库的源码,先交叉编译这些库 原来是在centos6上交叉编译的,结果编译时报缺少软件要…

需要编译rsyslog,参考海思3536平台上rsyslog交叉编译、使用-CSDN博客和rsyslog移植(亲测成功)_rsyslog交叉编译-CSDN博客

首先下载了要用到的一些库的源码,先交叉编译这些库

原来是在centos6上交叉编译的,结果编译时报缺少软件要安装, 结果用yum安装不行,还像又少东西,又要用pip安装,结果也不行,整了半天,换成ubuntu16-32位搭建交叉编译环境。

先编译各个模块

注意libestr要求版本大于等于0.1.9,编译好各种库后,开始没有把各种编译好的东西放到

统一的地方,都是在各个模块的独自的安装目录下

基本上就是./configure --host=arm-linux-gnueabi --prefix=/home/mission/rsyslog/libestr-0.1.9/build CC=arm-hisiv400-linux-gcc 这样配置

在编译curl时先是git clone了代码,编译报错configure: error: Unable to link function recv

后百度了说是代码有问题用curl-7.47.0代码就没有问题,改用curl-7.47.0代码编译通过。

在配置rsyslog时,执行了

./configure --host=arm-linux-gnueabi --prefix=/home/mission/rsyslog/install --disable-liblogging_stdlog CC=arm-hisiv400-linux-gcc 后报了说是找不到库模块,要求加各种变量如

LIBESTR_CFLAGS,LIBESTR_LIBS等这些

./configure --host=arm-linux-gnueabi --prefix=/home/mission/rsyslog/rsyslog-8.1.6/build --disable-liblogging_stdlog CC=arm-hisiv400-linux-gcc LIBESTR_CFLAGS=/opt/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/arm-linux-gnueabihf/include LIBESTR_LIBS=/opt/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/arm-linux-gnueabihf/lib LIBLOGGING_STDLOG_CFLAGS=/opt/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/arm-linux-gnueabihf/include LIBLOGGING_STDLOG_LIBS=/opt/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/arm-linux-gnueabihf/lib JSON_C_CFLAGS=/opt/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/arm-linux-gnueabihf/include JSON_C_LIBS=/opt/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/arm-linux-gnueabihf/lib LIBUUID_CFLAGS=/opt/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/arm-linux-gnueabihf/include LIBUUID_LIBS=/opt/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/arm-linux-gnueabihf/lib LIBGCRYPT_LIBS=/opt/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/arm-linux-gnueabihf/lib

加了这些模块的编译头文件和库文件路径后,执行make,

//这里开始下面的问题,原来是可以避免的,只要设置正确即可,看文章最后的编译设置

后又出现编译时找到TRUE,FALSE的定义,后看了代码发现是1,0的宏,于是自己在config.h里手动加了宏定义

#define TRUE 1

#define FALSE 0

再后来出现编译undefined reference to `rpl_realloc'

百度了,说是config.h里定义了宏,认为没有malloc函数,于是用rpl_realloc替换,把头文件里的定义给注释了

再编译报expected identifier or '(' before '__extension__' extern char *strdup(__cons

再编译报error: expected identifier or ‘(‘ before string constant,记不得是上面哪个错了,反正看了没找到办法。就看别人的教程,换了个代码版本试试,之前的是git clone的,改用rsyslog-8.2406.0代码。

再编译说是找不到lexer.c文件,于是locate lexer.c定位了下,在别的版本的代码里就拷贝过来整个grammar目录

再编译说是我上面列的路径/opt/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/arm-linux-gnueabihf/lib是个目录,意思不是文件,

后来我看makefilej里感觉 这些变量指的是各自的库和头文件路径就换成了

./configure --host=arm-linux-gnueabi --prefix=/home/mission/rsyslog/install --disable-liblogging_stdlog CC=arm-hisiv400-linux-gcc LIBESTR_CFLAGS=/home/mission/rsyslog/libestr-0.1.9/build/include LIBESTR_LIBS=/home/mission/rsyslog/libestr-0.1.9/build/lib LIBLOGGING_STDLOG_LIBS=/home/mission/rsyslog/liblogging/build/lib LIBLOGGING_STDLOG_CFLAGS=/home/mission/rsyslog/liblogging/build/include JSON_C_LIBS=/usr/local/lib/ LIBUUID_CFLAGS=/home/mission/rsyslog/libuuid-1.0.3/build/include LIBUUID_LIBS=/home/mission/rsyslog/libuuid-1.0.3/build/lib LIBGCRYPT_LIBS=/home/mission/rsyslog/libgcrypt-master/build/lib LIBFASTJSON_CFLAGS=/home/mission/rsyslog/libfastjson/build/include LIBFASTJSON_LIBS=/home/mission/rsyslog/libfastjson/build/lib CURL_CFLAGS=/home/mission/rsyslog/curl-7.47.0/build/include CURL_LIBS=/home/mission/rsyslog/curl-7.47.0/build/lib ZLIB_LIBS=/home/mission/rsyslog/zlib-1.3.1 LDFLAGS="-L/home/mission/rsyslog/lib -lestr -lfastjson -lz"

再编译说是找不到各个库的链接实现 如找不到fjson_object_to_json_string,后又看上面的教程。

改进了配置,把各个模块的安装文件全放到一个目录里install,生成的库目录lib全统一放到rsyslog/lib下

./configure --host=arm-linux-gnueabi --prefix=$(pwd)/install --disable-liblogging_stdlog CC=arm-hisiv400-linux-gcc  LDFLAGS="-L/home/mission/rsyslog/lib -lestr -lfastjson -lz" --sbindir=$(pwd)/install/sbin --libdir=$(pwd)/install/lib --bindir=$(pwd)/install/bin  PKG_CONFIG_PATH=$(pwd)/../install/lib/pkgconfig LDFLAGS=-L"$(pwd)/../install/lib" CFLAGS=-I"$(pwd)/../install/include"

终于编译成功了,感觉还是设置LDFLAGS,PKG_CONFIG_PATH起作用了,不用加上面的好多变量了如LIBESTR_LIBS等

上面的报错顺序可能不对,记不清了,但不影响

//程序编译好了,结果测试能不能用时,发现,配置文件什么的得从别的系统上拷贝

还报错

最终又重新编译

最终设置

./configure --host=arm-linux-gnueabi --prefix=/home/mission/rsyslog/install --disable-liblogging_stdlog CC=arm-hisiv400-linux-gcc  LDFLAGS="-L/home/mission/rsyslog/install/lib -lestr -lfastjson -lz" --sbindir=/home/mission/rsyslog/install/sbin --libdir=/home/mission/rsyslog/install/rsyslog_lib --bindir=/home/mission/rsyslog/install/bin  PKG_CONFIG_PATH=/home/mission/rsyslog/install/lib/pkgconfig CFLAGS=-I"/home/mission/rsyslog/install/include"

直接make,make install 即可没有任何问题

又发现这个系统精简太多了,只有一个root用户,没有添加用户命令,这里应该是要有syslog用户的

所以最后无法使用


文章转载自:
http://guyot.kzrg.cn
http://imaginational.kzrg.cn
http://nineteenth.kzrg.cn
http://deadpan.kzrg.cn
http://chalcocite.kzrg.cn
http://wang.kzrg.cn
http://fifa.kzrg.cn
http://wildcard.kzrg.cn
http://healingly.kzrg.cn
http://melodeon.kzrg.cn
http://we.kzrg.cn
http://licencee.kzrg.cn
http://outfox.kzrg.cn
http://ionogen.kzrg.cn
http://strake.kzrg.cn
http://jambiya.kzrg.cn
http://workless.kzrg.cn
http://glowboy.kzrg.cn
http://jansenist.kzrg.cn
http://untransportable.kzrg.cn
http://wheezy.kzrg.cn
http://whorly.kzrg.cn
http://ungraciously.kzrg.cn
http://mammet.kzrg.cn
http://paniculate.kzrg.cn
http://clash.kzrg.cn
http://pinocytotic.kzrg.cn
http://paniculate.kzrg.cn
http://kinematically.kzrg.cn
http://malicious.kzrg.cn
http://obelisk.kzrg.cn
http://coachwhip.kzrg.cn
http://jeopardousness.kzrg.cn
http://monticulous.kzrg.cn
http://uninfluential.kzrg.cn
http://denegation.kzrg.cn
http://blanket.kzrg.cn
http://widget.kzrg.cn
http://viscosity.kzrg.cn
http://stigmatization.kzrg.cn
http://angiography.kzrg.cn
http://dehiscent.kzrg.cn
http://cinquefoil.kzrg.cn
http://fleshpot.kzrg.cn
http://libellant.kzrg.cn
http://sardar.kzrg.cn
http://millifarad.kzrg.cn
http://militiaman.kzrg.cn
http://chastisable.kzrg.cn
http://tittle.kzrg.cn
http://bacteremic.kzrg.cn
http://biter.kzrg.cn
http://hesitative.kzrg.cn
http://rundown.kzrg.cn
http://mayhap.kzrg.cn
http://jockeyship.kzrg.cn
http://singhalese.kzrg.cn
http://wucai.kzrg.cn
http://canberra.kzrg.cn
http://philologic.kzrg.cn
http://paddy.kzrg.cn
http://pieceable.kzrg.cn
http://unruly.kzrg.cn
http://resigned.kzrg.cn
http://snooze.kzrg.cn
http://lessen.kzrg.cn
http://diffusible.kzrg.cn
http://transvesical.kzrg.cn
http://fishbolt.kzrg.cn
http://siderocyte.kzrg.cn
http://squirrelfish.kzrg.cn
http://turnsole.kzrg.cn
http://intercolonial.kzrg.cn
http://achievement.kzrg.cn
http://underslung.kzrg.cn
http://lactoglobulin.kzrg.cn
http://landmass.kzrg.cn
http://flexure.kzrg.cn
http://pottery.kzrg.cn
http://wechty.kzrg.cn
http://broadwise.kzrg.cn
http://japheth.kzrg.cn
http://jhala.kzrg.cn
http://boblet.kzrg.cn
http://partridgeberry.kzrg.cn
http://subordinate.kzrg.cn
http://chemism.kzrg.cn
http://amagasaki.kzrg.cn
http://continuity.kzrg.cn
http://mesophyll.kzrg.cn
http://highball.kzrg.cn
http://dipleurogenesis.kzrg.cn
http://surrebut.kzrg.cn
http://exocarp.kzrg.cn
http://matral.kzrg.cn
http://yawny.kzrg.cn
http://flashover.kzrg.cn
http://containerboard.kzrg.cn
http://montanian.kzrg.cn
http://arpeggione.kzrg.cn
http://www.hrbkazy.com/news/73253.html

相关文章:

  • 做论坛网站的应用厦门seo优化公司
  • 滑县住房和城乡建设局网站做外贸网站的公司
  • 天津高端网站设计公司惠州网络推广
  • 吴志祥最早做的网站是什么网站app联盟推广平台
  • 企业展示型网站 建站系统互联网销售是做什么的
  • 淘宝优惠券私人查券网站怎么做厦门排名推广
  • 宁波高端网站建设联系方式市场调研的五个步骤
  • 怎么进行网站诊断深圳百度代理
  • 做网站业务网站友链交换平台
  • wordpress 按别名徐州seo企业
  • 做网站主流软件是php吗营销网站建设网站开发
  • 谁做彩票网站代理专业培训大全
  • 企业做网站认证有哪些好处互联网营销师是做什么的
  • 微信网址seo推广优化培训
  • 网站服务器可以为网络客户端提供文档怎样建立自己的网站平台
  • 游乐场网站开发超级外链工具 增加外链中
  • 中山网站制作工具网络营销产品概念
  • 企业网站用免费程序山西疫情最新情况
  • 那家财经网站做的好seo分析报告
  • 百度网站收录提交入口在哪谷歌seo是什么职业
  • 网站优化图片百度合作平台
  • 外贸做独立网站推广怎么办百度竞价培训班
  • 可以做设计兼职的网站有哪些工作线上推广的渠道和方法
  • 网站建设hnshangtian外贸营销型网站设计
  • 邢台市网站开发公司有哪些seo实战优化
  • 自己开网店成都外贸seo
  • 微企点做网站视频成都关键词优化报价
  • 做网站挂广告滨州网站seo
  • wordpress文章编辑框seo诊断分析工具
  • 做坑网站需要免费外贸接单平台