簡體   English   中英

更新的庫不兼容

[英]updated libraries are incompatible

操作系統 - > ubuntu 11.10(是的,它的版本非常老但不幸的是我們無法升級它)

更新了驅動程序 - >從libftd2xx.so.1.1.1到libftd2xx.so.1.1.12的ftdi驅動程序

IDE - > ecillpse

問題 - >未能包含更新庫

錯誤 - >

  1. / usr / bin / ld:在搜索-lftd2xx時跳過不兼容的/usr/local/lib/libftd2xx.so

  2. / usr / bin / ld:搜索-lftd2xx時跳過不兼容的/usr/local/lib/libftd2xx.a

概述:
我有使用ftdi芯片的嵌入式系統。 我必須在編碼中包含一些新功能,因此我升級了庫。 以下是我遵循的以下步驟

  • tar xfvz libftd2xx1.1.12.tar.gz

  • cd build / arm926

  • cp lib * / usr / local / lib

將庫復制到中心位置。

  • chmod 0755 /usr/local/lib/libftd2xx.so.1.1.12
  • ln -sf /usr/local/lib/libftd2xx.so.1.1.12 /usr/local/lib/libftd2xx.so

構建共享對象示例。

  • cd例子

  • make -B(我按照文檔中的說明執行了這些步驟,但不明白我為什么這樣做)

運行ldconfig

  • sudo ldconfig -l /usr/local/lib/libftd2xx.so.1.1.12

運行文件libftd2xx.a

o / p libftd2xx.a:當前的ar檔案

願你們幫助我,或者指出我犯錯誤的地方。 非常感謝

對不起,伙計們,我是按照ftdi coument的指示,而不是進入i386目錄,我進入了arm986。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM