簡體   English   中英

運行交叉編譯的dart運行時時,“沒有此類文件或目錄”

[英]“No such file or directory” when running cross compiled dart runtime

我正在運行Dart運行時的交叉編譯版本。 該可執行文件是根據以下說明生成的: https : //code.google.com/p/dart/wiki/RaspberryPi

當我運行它時,出現此錯誤:

-bash: ./dart: No such file or directory

ldd輸出:

pi@raspberrypi ~/dart/runtime $ ldd dart 
    not a dynamic executable

file輸出:

pi@raspberrypi ~/dart/runtime $ file dart 
dart: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0xb0dc8037ff83ff0742749241be56d7b8935efa6f, not stripped

並不是一個真正的答案,但我發現使用Raspbian的最新版本(Debian Wheezy 2014-09-09)可執行文件可以正常工作。 因此,我認為原因是我當前的Raspbian安裝中存在一些舊問題(我已經用最近的更新對其進行了更新,但這還不夠)。

暫無
暫無

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

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