<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックError compiling Python 2.7 using LTIB for iMX35</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244340#M20957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Has anyone compiled python 2.7 using LTIB for imx35?&lt;/P&gt;&lt;P&gt;I have attached the spec file&lt;/P&gt;&lt;P&gt;These are the errors I get:&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from ./Modules/python.c:3:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/grammar1.c:4:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Include/pgenheaders.h:10,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/acceler.c:13:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/node.c:3:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/parser.c:8:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Include/pgenheaders.h:10,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/listnode.c:4:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Include/pgenheaders.h:10,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/bitset.c:4:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Include/pgenheaders.h:10,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/parsetok.c:4:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;make: *** [Modules/python.o] Error 1&lt;/P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I used the build commands spec file from this link&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.mail-archive.com%2Fltib%40nongnu.org%2Fmsg01259.html" rel="nofollow" target="_blank"&gt;Re: [Ltib] Building Python 2.7&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand if this error is related to the python source or the arm tools used by ltib. Can someone please help?&lt;/P&gt;&lt;P&gt;Has anyone compiled python successfully? if so, what am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336613"&gt;Python-2.7.3.spec.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2013 23:45:01 GMT</pubDate>
    <dc:creator>neo1</dc:creator>
    <dc:date>2013-01-31T23:45:01Z</dc:date>
    <item>
      <title>Error compiling Python 2.7 using LTIB for iMX35</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244340#M20957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Has anyone compiled python 2.7 using LTIB for imx35?&lt;/P&gt;&lt;P&gt;I have attached the spec file&lt;/P&gt;&lt;P&gt;These are the errors I get:&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from ./Modules/python.c:3:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/grammar1.c:4:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Include/pgenheaders.h:10,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/acceler.c:13:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/node.c:3:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/parser.c:8:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Include/pgenheaders.h:10,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/listnode.c:4:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Include/pgenheaders.h:10,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/bitset.c:4:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;In file included from Include/Python.h:58,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Include/pgenheaders.h:10,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Parser/parsetok.c:4:&lt;/P&gt;&lt;P&gt;Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"&lt;/P&gt;&lt;P&gt;make: *** [Modules/python.o] Error 1&lt;/P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I used the build commands spec file from this link&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.mail-archive.com%2Fltib%40nongnu.org%2Fmsg01259.html" rel="nofollow" target="_blank"&gt;Re: [Ltib] Building Python 2.7&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand if this error is related to the python source or the arm tools used by ltib. Can someone please help?&lt;/P&gt;&lt;P&gt;Has anyone compiled python successfully? if so, what am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336613"&gt;Python-2.7.3.spec.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 23:45:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244340#M20957</guid>
      <dc:creator>neo1</dc:creator>
      <dc:date>2013-01-31T23:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling Python 2.7 using LTIB for iMX35</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244341#M20958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not the same problem but try the proposed solution on this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/287583"&gt;Re: "FSL gnome release package" build fails at python build stage&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 15:28:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244341#M20958</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-02-01T15:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling Python 2.7 using LTIB for iMX35</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244342#M20959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Leonardo,&lt;/P&gt;&lt;P&gt;Unfortunately that did not work.&lt;/P&gt;&lt;P&gt;I made an interesting observation tho. I looked at the output of the ./configure scripts that created the makefiles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;checking size of size_t... 4&lt;/P&gt;
&lt;P&gt;checking size of pid_t... 4&lt;/P&gt;
&lt;P&gt;checking for long long support... yes&lt;/P&gt;
&lt;P&gt;checking size of long long... 8&lt;/P&gt;
&lt;P&gt;checking for long double support... yes&lt;/P&gt;
&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So if it does have support for long long, y doesn't it compile??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 18:45:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244342#M20959</guid>
      <dc:creator>neo1</dc:creator>
      <dc:date>2013-02-01T18:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling Python 2.7 using LTIB for iMX35</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244343#M20960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neeraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cnx-software.com/2011/02/04/cross-compiling-python-for-mips-and-arm-platforms/" title="http://www.cnx-software.com/2011/02/04/cross-compiling-python-for-mips-and-arm-platforms/"&gt;http://www.cnx-software.com/2011/02/04/cross-compiling-python-for-mips-and-arm-platforms/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are not the only one with this issue, but there is patch to solve it. Pyhon on LTIB is on rpm/BUILD/&amp;lt;python&amp;gt; so apply the patch from that folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 19:13:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244343#M20960</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-02-01T19:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling Python 2.7 using LTIB for iMX35</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244344#M20961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leonardo,&lt;/P&gt;&lt;P&gt;Thanks for the link.&lt;/P&gt;&lt;P&gt;I got sidetracked on other projects and wasnt able to follow up.&lt;/P&gt;&lt;P&gt;After using the patch I dont get the &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;PY_FORMAT_LONG_LONG&lt;/SPAN&gt; error any more.&lt;/P&gt;&lt;P&gt;However,&lt;/P&gt;&lt;P&gt;I get a ton of warning messages and python builds but with some key modules missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;cc1: warning: include location "/usr/include" is unsafe for cross-compilation&lt;/P&gt;
&lt;P&gt;cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation&lt;/P&gt;
&lt;P&gt;cc1: warning: include location "/usr/include" is unsafe for cross-compilation&lt;/P&gt;
&lt;P&gt;cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation&lt;/P&gt;
&lt;P&gt;/home/neeraj/Development/Freescale/ltib/rpm/BUILD/Python-2.7.1/Modules/_ctypes/libffi/src/arm/ffi.c:205: warning: function declaration isn't a prototype&lt;/P&gt;
&lt;P&gt;/opt/freescale/usr/local/gcc-4.3.3-glibc-2.8-cs2009q1-203/arm-none-linux-gnueabi/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: library search path "/usr/local/lib" is unsafe for cross-compilation&lt;/P&gt;
&lt;P&gt;*** WARNING: renaming "_ctypes" since importing it failed: build/lib.linux-i686-2.7/_ctypes.so: cannot open shared object file: No such file or directory&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Python build finished, but the necessary bits to build these modules were not found:&lt;/P&gt;
&lt;P&gt;_bsddb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _hashlib&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _sqlite3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;_tkinter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bsddb185&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;gdbm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sunaudiodev&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;To find the necessary bits, look in setup.py in detect_modules() for the module's name.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Failed to build these modules:&lt;/P&gt;
&lt;P&gt;_multiprocessing&amp;nbsp;&amp;nbsp; _socket&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linuxaudiodev&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;ossaudiodev&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; readline&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;+ exit 0&lt;/P&gt;
&lt;P&gt;Build time for Python-2.7.1: 128 seconds&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Line 356 and 357 have hardcoded /usr/local/include and /usr/local/lib&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also get errors like these higher up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;*** WARNING: renaming "dl" since importing it failed: build/lib.linux-i686-2.7/dl.so: cannot open shared object file: No such file or directory&lt;/P&gt;
&lt;P&gt;cc1: warning: include location "/usr/include" is unsafe for cross-compilation&lt;/P&gt;
&lt;P&gt;cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation&lt;/P&gt;
&lt;P&gt;cc1: warning: include location "/usr/include" is unsafe for cross-compilation&lt;/P&gt;
&lt;P&gt;cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation&lt;/P&gt;
&lt;P&gt;/home/neeraj/Development/Freescale/ltib/rpm/BUILD/Python-2.7.1/Modules/_multiprocessing/connection.h: In function 'connection_poll':&lt;/P&gt;
&lt;P&gt;/home/neeraj/Development/Freescale/ltib/rpm/BUILD/Python-2.7.1/Modules/_multiprocessing/socket_connection.c:173: error: impossible constraint in 'asm'&lt;/P&gt;
&lt;P&gt;cc1: warning: include location "/usr/include" is unsafe for cross-compilation&lt;/P&gt;
&lt;P&gt;cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation&lt;/P&gt;
&lt;P&gt;/home/neeraj/Development/Freescale/ltib/rpm/BUILD/Python-2.7.1/Modules/linuxaudiodev.c: In function 'lad_write':&lt;/P&gt;
&lt;P&gt;/home/neeraj/Development/Freescale/ltib/rpm/BUILD/Python-2.7.1/Modules/linuxaudiodev.c:192: error: impossible constraint in 'asm'&lt;/P&gt;
&lt;P&gt;cc1: warning: include location "/usr/include" is unsafe for cross-compilation&lt;/P&gt;
&lt;P&gt;cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation&lt;/P&gt;
&lt;P&gt;/home/neeraj/Development/Freescale/ltib/rpm/BUILD/Python-2.7.1/Modules/ossaudiodev.c: In function 'oss_writeall':&lt;/P&gt;
&lt;P&gt;/home/neeraj/Development/Freescale/ltib/rpm/BUILD/Python-2.7.1/Modules/ossaudiodev.c:429: error: impossible constraint in 'asm'&lt;/P&gt;
&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 20:56:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244344#M20961</guid>
      <dc:creator>neo1</dc:creator>
      <dc:date>2013-03-07T20:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling Python 2.7 using LTIB for iMX35</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244345#M20962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are compiling python with ltib, right? something like './ltib -p python -scbuild' ? Seems that the header files are being taken from the host filesystem, instead of the ltib filesystem.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 21:49:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244345#M20962</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-03-07T21:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling Python 2.7 using LTIB for iMX35</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244346#M20963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I am using ./ltib -p Python-2.7.1.spec -m scbuild&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching the spec file. I have changed the spec file after going thru some of the above links.&lt;/P&gt;&lt;P&gt;What am I doing wrong here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 23:45:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244346#M20963</guid>
      <dc:creator>neo1</dc:creator>
      <dc:date>2013-03-07T23:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error compiling Python 2.7 using LTIB for iMX35</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244347#M20964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/neo1"&gt;neo1&lt;/A&gt;, could you please generate a patch instead of the whole .spec? try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ cd &amp;lt;original spec folder&amp;gt;&lt;/P&gt;&lt;P&gt;$ git init&lt;/P&gt;&lt;P&gt;$ git add *.spec&lt;/P&gt;&lt;P&gt;$ git commit -m 'first commit'&lt;/P&gt;&lt;P&gt;$ # do your changes here&lt;/P&gt;&lt;P&gt;$ git commit -a -m 'changes'&lt;/P&gt;&lt;P&gt;$ git format-patch -1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then send me the generated .patch file please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 15:59:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-compiling-Python-2-7-using-LTIB-for-iMX35/m-p/244347#M20964</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-03-08T15:59:22Z</dc:date>
    </item>
  </channel>
</rss>

