這是哥的內部文檔,僅供大家參考!/**********************************************************************************************************************/gedit ~/.bashrc添加以下內容:#for_arm_9_buildexport ARMROOT=~/ARMexport ARMINCLUDE=$ARMROOT/RVCT/Data/2.2/349/include/windowsexport ARMTOOLS=RVCT221export ARMLIB=$ARMROOT/RVCT/Data/2.2/349/libexport ARMINC=$ARMINCLUDEexport ARMBIN=$ARMROOT/RVCT/Programs/2.2/349/win_32-pentiumexport PATH=$PYTHON_PATH:$ARMBIN:$PATHexport ARMHOME=$ARMROOTexport LM_LICENSE_FILE=$ARMROOT/crack/license.dat#for_arm_9_build_end然後儲存並重新啟動機器/**********************************************************************************************************************/複製ARM檔案夾到你的主目錄然後chmod +x ~/ARM/RVCT/Programs/2.2/349/win_32-pentium/*/**********************************************************************************************************************/編譯:cd AMSS/products/76XX/build/ms因為複製過程中以下檔案的屬性被改了。所以糾正一下chmod +x `find . -name "*.pl" -o -name "*.exe" -o -name "*.cmd"`AMSS/products/76XX/build/ms$ ./TFNCKNLYM.cmd如果出現以下錯誤:Error: C3397E: Cannot obtain license for Compiler (feature compiler) with license version >= 2.2: cd到Crack目錄下,執行:wine keygen.exe 產生一個新的license替換原有的即可!如果編譯後期出現以下錯誤:————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————Error: L6630E: Invalid token start expected number or ( but found A at position 15 on line 11535Error: L6629E: Unmatched parentheses expecting ) but found A at position 15 on line 11535M76XXTTFNCKNLYM____.scl(line 11535, col 15) Error: L6268E: Non-word aligned address 4294967295 specified for region MSM_NOTPAGED.M76XXTTFNCKNLYM____.scl(line 11535, col 15) Error: L6292E: Ignoring unknown attribute 'An' specified for region MSM_NOTPAGED.M76XXTTFNCKNLYM____.scl(line 11535, col 18) Error: L6292E: Ignoring unknown attribute 'error' specified for region MSM_NOTPAGED.M76XXTTFNCKNLYM____.scl(line 11535, col 24) Error: L6292E: Ignoring unknown attribute 'occurred:' specified for region MSM_NOTPAGED.M76XXTTFNCKNLYM____.scl(line 11535, col 34) Error: L6292E: Ignoring unknown attribute 'Bad' specified for region MSM_NOTPAGED.M76XXTTFNCKNLYM____.scl(line 11535, col 38) Error: L6292E: Ignoring unknown attribute 'magic' specified for region MSM_NOTPAGED.M76XXTTFNCKNLYM____.scl(line 11535, col 44) Error: L6292E: Ignoring unknown attribute 'number' specified for region MSM_NOTPAGED.M76XXTTFNCKNLYM____.scl(line 11535, col 51) Error: L6292E: Ignoring unknown attribute 'in' specified for region MSM_NOTPAGED.M76XXTTFNCKNLYM____.scl(line 11535, col 54) Error: L6292E: Ignoring unknown attribute '/home/cpp/i700t_arm9/i700t_arm9/AMSS/platform/l4/tools/pyelf/weaver/__init__' specified for region MSM_NOTPAGED.M76XXTTFNCKNLYM____.scl(line 11535, col 131) Error: L6292E: Ignoring unknown attribute '.' specified for region MSM_NOTPAGED.M76XXTTFNCKNLYM____.scl(line 11535, col 133) Error: L6292E: Ignoring unknown attribute 'pyc' specified for region MSM_NOTPAGED.M76XXTTFNCKNLYM____.scl(line 11535, col 136) Error: L6228E: Expected '{', found ')...'.Not enough information to produce a SYMDEFs file.Not enough information to list image symbols.Not enough information to list the image map.Finished: 3 information, 27 warning and 14 error messages.make: *** [link_only] 錯誤 1cpp@cpp:~/i700t_arm9/i700t_arm9/AMSS/products/76XX/build/ms$ cpp@cpp:~/i700t_arm9/i700t_arm9/AMSS/products/76XX/build/ms$ ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————/**********************************************************************************************************************/則需要安裝Python-2.4.3,下載到源碼後執行1../configure2.make如果在make過程出錯:____________________________________________________________________________________________________________________*** buffer overflow detected ***: ./python terminated======= Backtrace: =========/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0x40275390]/lib/tls/i686/cmov/libc.so.6(+0xe12ca)[0x402742ca]/lib/tls/i686/cmov/libc.so.6(+0xe19e8)[0x402749e8]./python(PySys_SetArgv+0x279)[0x80e6e19]./python(Py_Main+0x4d8)[0x8057298]./python(main+0x1b)[0x8056c9b]/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x401a9bd6]./python[0x8056be1]======= Memory map: ========08048000-08125000 r-xp 00000000 08:09 4202539 /home/cpp/Downloads/Python-2.4.3/python08125000-08126000 r--p 000dc000 08:09 4202539 /home/cpp/Downloads/Python-2.4.3/python____________________________________________________________________________________________________________________按照以下操作處理:a.make distcleanb../configure BASECFLAGS=-U_FORTIFY_SOURCEc.make3.sudo make install/**********************************************************************************************************************/完了後就可以編譯AMSS了,而且很成功,可是後來卻發現repo不能用了,提示錯誤是:————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————cpp@cpp:~$ repoTraceback (most recent call last): File "/home/cpp/bin/repo", line 91, in ? import readlineImportError: No module named readlinecpp@cpp:~$ ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————系統裡明明有readline,可是repo指令碼卻無法匯入,後來查到應該是python安裝導致的錯誤,應該在python編譯時間加上關於readline的編譯選項,應該按照如下操作安裝python首先安裝readline軟體包:sudo apt-get install libreadline5-devsudo apt-get install zlib1g-dev然後:1.make distclean2../configure --enable-readline BASECFLAGS=-U_FORTIFY_SOURCE3.make -j44.sudo make install注意,我同時發現在python-2.4.3版本是支援該編譯選項的,而在3.1.3版本中是不能識別這個--enable-readline編譯參數的。所以我目前使用2.4.3版本。總結一下:這狗日的pythom指令碼我還沒時間學習一下呢,媽的這兩天忙的像狗一樣!我想老闆應該給我漲漲工資了,老闆也不主動一點,這樣是不對的!哥是不太滿意的……以下是網上另一個關於readline的解決方案,我沒有試過,________________________________________________________________________________________________________________________http://www.velocityreviews.com/forums/t361627-realine-not-found-error.htmlIn fact, more for my own records in case I get this again. I had the same problem with SUSE10.2. I had installed Python2.5 using YAST along with Numpy, Scipy, IPython and some other packages. I'd also attempted to install these packages without YAST (probably causing the error in the first place). Turns out, all these packages were being installed to '/usr/lib/python2.5/site-packages'.Inspection of the path Python was using via>>> import sys>>> sys.pathshowed python was using /usr/local/lib/python2.5/site-packagesThe path was modified by editing the 'site.py' file, to include the following in the main() routine, just below the 'abs__file__()' line.# Add new paths to the python search path, derived# from those in sys.path. Current entries contain # '\local\'. They should not. Added 29/June/07, MSa = sys.pathfor i in a:if '/local/' in i:sys.path.append(i.replace('/local',''))This updates the path with entries not including the '/local' entry. This fixed my Scipy and my readline error on startup.Mark.________________________________________________________________________________________________________________________