完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我正在开发一个需要TCP / IP协议等功能的项目,并将信息作为xml文件传递给目标服务器。 我成功创建了一个带有lwIP SOCKET API的客户端套接字现在的问题是我需要解析要作为xml发送的信息,我找到了以下库(轻量级并与gcc兼容)http://www.minixml.org。 当我在应用程序中添加库libmxml.a时出现问题: 右键单击c app name - > C / C ++ Build Settings - > MicroBlaze gcc linker - > Libraries 在库(-l)输入我键入mxml“删除lib”和库搜索路径(-L)$ {LIBDIR}(目录绝对路径) 我查询了回答31256ww.xilinx.com/support/answers/31256.htm,据我说我正在正确配置gcc命令。 但是,当SDK尝试生成.elf文件时,我收到以下错误: / microblaze-xilinx-elf / bin / ld:jumps /home/jorgekano/Descargas/mxml-2.7/libmxml.a搜索-lmxml时不兼容 找不到-lmxml 做所有 构建目标:sock_xml.elf 调用:MicroBlaze gcc链接器 mb-gcc -L / home / jorgekano / Descargas / mxml-2.7 -L ../../ xilkernel_bsp_xmllib / microblaze_0 / lib -mxl-barrel-shift -mxl-pattern-compare -mcpu = v8.20.a -mno -xl-soft-mul -o“sock_xml.elf”./ src / main.o -lmxml -lxilkernel -llwip4 /opt/Xilinx/13.3/ISE_DS/EDK/gnu/microblaze/lin/bin/../lib/gcc/microblaze-xilinx-elf/4.1.2/../../../../microblaze- xilinx-elf / bin / ld:se salta el /home/jorgekano/Descargas/mxml-2.7/libmxml.a不兼容的mientras se busca -lmxml /opt/Xilinx/13.3/ISE_DS/EDK/gnu/microblaze/lin/bin/../lib/gcc/microblaze-xilinx-elf/4.1.2/../../../../microblaze- xilinx-elf / bin / ld:找不到-lmxml collect2:ld返回1退出状态 make:*** [sock_xml.elf]错误1 请,如果有人有任何建议或想法如何解决这个问题将是非常有帮助的 感谢您的帮助和帮助 支持 以上来自于谷歌翻译 以下为原文 Hello, I'm working on a project which needs some features as TCP/IP protocol and deliver information as xml files to the target server. I created a client socket with lwIP SOCKET API successfully the issue now is that I need to parse the information to be sent as xml, I found the following library (lightweight and compatible with gcc) http://www.minixml.org. The problem arises when I add the library libmxml.a in the application: right click on c app name--> C/C++ Build Settings --> MicroBlaze gcc linker --> Libraries on Libraries (-l) input I typed mxml "removing lib" and on Library search path(-L) ${LIBDIR} (directory absolute path) I queried answer 31256 ww.xilinx.com/support/answers/31256.htm, and according to me I'm configuring the gcc command correctly. However when SDK tries to generate the .elf file I 'm getting the following error: /microblaze-xilinx-elf/bin/ld: jumps /home/jorgekano/Descargas/mxml-2.7/libmxml.a Incompatible while searching -lmxml cannot find -lmxml make all Building target: sock_xml.elfInvoking: MicroBlaze gcc linkermb-gcc -L/home/jorgekano/Descargas/mxml-2.7 -L../../xilkernel_bsp_xmllib/microblaze_0/lib -mxl-barrel-shift -mxl-pattern-compare -mcpu=v8.20.a -mno-xl-soft-mul -o"sock_xml.elf" ./src/main.o -lmxml -lxilkernel -llwip4/opt/Xilinx/13.3/ISE_DS/EDK/gnu/microblaze/lin/bin/../lib/gcc/microblaze-xilinx-elf/4.1.2/../../../../microblaze-xilinx-elf/bin/ld: se salta el /home/jorgekano/Descargas/mxml-2.7/libmxml.a incompatible mientras se busca -lmxml/opt/Xilinx/13.3/ISE_DS/EDK/gnu/microblaze/lin/bin/../lib/gcc/microblaze-xilinx-elf/4.1.2/../../../../microblaze-xilinx-elf/bin/ld: cannot find -lmxmlcollect2: ld returned 1 exit statusmake: *** [sock_xml.elf] Error 1 Please, if somebody has any advice or idea how to figure this issue out would be very helpful I appreciate your help & support |
|
相关推荐
1个回答
|
|
请问任何建议?
C& gcc知识? 专家贡献者? 还是Xilinx的员工? 我会非常感激:( 以上来自于谷歌翻译 以下为原文 Please any advice? Anyone with C & gcc knowledge? Expert Contributor? or Xilinx employee? I' ll really appreciate :( |
|
|
|
只有小组成员才能发言,加入小组>>
2388 浏览 7 评论
2804 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2270 浏览 9 评论
3338 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2440 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
768浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
551浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
386浏览 1评论
1975浏览 0评论
692浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-29 03:31 , Processed in 1.443938 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号