我實際上下載了libjingle,一旦我意識到它正在處理p2p,因爲我在類似的領域工作,想檢查出來。
我下載了外籍lib和它複製到第三方目錄,這樣編譯沒有問題:
# ../../swtoolkit/hammer.sh expat
而且這裏的結果:
scons: Reading SConscript files ...
scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "<myPath>/swtoolkit/site_scons/site_init.py", line 203, in BuildEnvironmentSConscripts
scons: done reading SConscript files.
scons: Building targets ...
________Compiling build/dbg/obj/third_party/expat-2.0.1/lib/xmlparse.o
________Compiling build/dbg/obj/third_party/expat-2.0.1/lib/xmlrole.o
________Compiling build/dbg/obj/third_party/expat-2.0.1/lib/xmltok.o
________Creating library build/dbg/obj/libexpat.a
________Indexing build/dbg/obj/libexpat.a
Install file: "build/dbg/obj/libexpat.a" as "build/dbg/lib/libexpat.a"
scons: done building targets.
難道是什麼像目錄權限一樣簡單?
這是我有:
# ls -al third_party/
...
drwxr-xr-x 12 notroot notroot 4096 2012-05-30 02:14 expat-2.0.1
...
# ls -al third_party/expat-2.0.1/
...
drwxr-xr-x 2 notroot notroot 4096 2012-05-30 02:09 lib
...
# ls -al third_party/expat-2.0.1/lib
...
-rwxr-xr-x 1 notroot notroot 193934 2012-05-30 02:09 xmlparse.c
...
其實都在third_party/expat-2.0.1/lib
目錄中的文件具有相同的權限,我只是沒有想在這裏一一列舉。
狂猜:你缺少xmlparse.c –
哈哈..:pi在'/third_party/expat-2.0.1/lib/xmlparse.c'中的同一個目錄中有xmlparse .c – wolfgang
仍然得到這個錯誤.. 。:/ – wolfgang