Howto: configure the AMSS compiling environment in Ubuntu

Source: Internet
Author: User

This is the internal document of elder brother. It is for your reference only! /*************************************** **************************************** ***************************************/ Gedit ~ /. Add the following content to 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 and then save and restart the machine /****************************** ************** **************************************** * *********************************/Copy the arm folder to you chmod + x ~ /ARM/rvct/programs/2.2/349/win_32-pentium /*/************************* **************************************** **************************************** * ************/compilation: cd amss/products/76xx/build/MS was changed because of the attributes of the following files during the copy process. So correct chmod + x' find. -Name "*. PL "-o-name "*. EXE "-o-name "*. cmd "'amss/products/76xx/build/MS $. /tfncknlym. CMD if the following error occurs: Error: c3397e: cannot obtain license for Compiler (feature compiler) with license version> = 2.2: CD to the crack directory, run: wine keygen.exe generates a new license to replace the original license! If the following error occurs after compilation: Invalid error: l6630e: Invalid token start expected number or (but found a at position 15 on line 11535 error: 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 ____. error: l6292e: Ignoring unknown attribute 'ance' specified for Region msm_notpaged.m76xxttfncknlym ____. error: l6292e: Ignoring unknown attribute 'error' specified for Region msm_notpaged.m76xxttfncknlym ____. SCL (line 11535, Col 24) error: l6292e: Ignoring unknown attribute 'ccurred: 'spe Cified for Region msm_notpaged.m76xxttfncknlym ____. error: l6292e: Ignoring unknown attribute 'bad' specified for Region msm_notpaged.m76xxttfncknlym ____. 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: ig Noring unknown attribute '. 'specified for Region msm_notpaged.m76xxttfncknlym ____. 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 lis T the image map. Finished: 3 Information, 27 Warning and 14 error messages. Make: *** [link_only] Error 1cpp @ CPP :~ /I700t_arm9/i700t_arm9/AMSS/products/76xx/build/MS $ CPP @ CPP :~ /I700t_arm9/i700t_arm9/AMSS/products/76xx/build/MS $ assets ------------------------------------------------------------------------------------------------------------------------/*********************** **************************************** **************************************** */Python-2.4.3 must be installed, download to the source code and execute 1 .. /configure2.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 4202539/home/CPP/downloads/Python-2.4.3/python08125000-08126000 r -- p 000dc000 08:09 4202539/home/CPP/ downloads/Python-2.4.3/Python _____________________________________________________________________________________________________________ _______ Perform the following operations:. make distcleanb .. /configure basecflags =-u_fortify_sourcec.make3.sudo make install /******************************* **************************************** **************************************** * ******/after completion, You can compile AMSS, it was very successful, but later it was found that the repo could not be used, and the error message was: Too CPP @ CPP :~ $ Repotraceback (most recent call last): file "/home/CPP/bin/repo", line 91, in? Import readlineimporterror: No module named readlinecpp @ CPP :~ $ Readline exists in the prepare system, but the repo script cannot be imported. Later I found the error caused by Python installation. I should add the Readline compilation option during Python compilation, install Python first install the Readline package: sudo apt-Get install libreadline5-devsudo apt-Get install zlib1g-dev then: 1. make distclean2 .. /configure -- enable-Readline basecflags =-u_fortify_source3.make-j44.sudo Mak E install Note: I also found that python-2.4.3 supports this compilation option, but this -- enable-Readline compilation parameter cannot be identified in version 3.1.3. So I currently use version 2.4.3. To sum up, I have no time to learn the pythom script of this dog day. I am just as busy as a dog in the past two days! I think the boss should raise my salary, and the boss will not take the initiative. This is wrong! Brother is not satisfied ...... The following is another online Readline solution, I have not tried, ________________________________________________________________________________________________________________________ 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 shocould 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. ________________________________________________________________________________________________________________________

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.