Hi Everyone.

Does any of you already have the problem I'm facing while compiling the
Python interpreter at UDK2010?

*I'm trying to do some tests with the Python interpreter but I'm having
some problems.*
**
*The first error I had was this:*

build...
c:\udk2010sr1\AppPkg\Applications\Python\PythonCore.inf(49): error 000E:
File/di
rectory not found in workspace
        c:\udk2010sr1\AppPkg\Applications\Python\Efi\edk2module.c

*After removing this file from PythonCre.inf, the compile process started
to work, but after some time I got this:*

        "C:\Program Files\Microsoft Visual Studio
10.0\Vc\bin\x86_amd64\cl.exe"
/Foc:\udk2010sr1\Build\AppPkg\RELEASE_VS2010\X64\AppPkg\Applications\Python\Pyth
onCore\OUTPUT\Python-2.7.2\Modules\selectmodule.obj /nologo /c /WX /GS- /X
/W4 /
Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Oi-
/wd4018 /w
d4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267
/wd4305 /w
d4310 /wd4389 /wd4701 /wd4702 /wd4706
/Ic:\udk2010sr1\AppPkg\Applications\Python
\X64 /Ic:\udk2010sr1\AppPkg\Applications\Python\Efi
/Ic:\udk2010sr1\AppPkg\Appli
cations\Python\Python-2.7.2\Include /X /Zc:wchar_t
/Ic:\udk2010sr1\AppPkg\Applic
ations\Python\Python-2.7.2\Objects
/Ic:\udk2010sr1\AppPkg\Applications\Python\P
ython-2.7.2\Modules\_io
/Ic:\udk2010sr1\AppPkg\Applications\Python\Python-2.7.2
\Modules\cjkcodecs
/Ic:\udk2010sr1\AppPkg\Applications\Python\Python-2.7.2\Modu
les  /Ic:\udk2010sr1\AppPkg\Applications\Python\Python-2.7.2\Python
/Ic:\udk201
0sr1\AppPkg\Applications\Python\Python-2.7.2\Parser
/Ic:\udk2010sr1\AppPkg\Appl
ications\Python\Efi  /Ic:\udk2010sr1\AppPkg\Applications\Python
/Ic:\udk2010sr1
\Build\AppPkg\RELEASE_VS2010\X64\AppPkg\Applications\Python\PythonCore\DEBUG
/I
c:\udk2010sr1\StdLib  /Ic:\udk2010sr1\StdLib\Include
/Ic:\udk2010sr1\StdLib\Inc
lude\X64  /Ic:\udk2010sr1\MdePkg  /Ic:\udk2010sr1\MdePkg\Include
/Ic:\udk2010sr
1\MdePkg\Include\X64
c:\udk2010sr1\AppPkg\Applications\Python\Python-2.7.2\Modul
es\selectmodule.c
cl : Command line warning D9025 : overriding '/Oi' with '/Oi-'
selectmodule.c
c:\udk2010sr1\AppPkg\Applications\Python\Python-2.7.2\Modules\selectmodule.c(30)
 : fatal error C1083: Cannot open include file: 'poll.h': No such file or
direct
ory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
10.0\Vc\bi
n\x86_amd64\cl.exe"' : return code '0x2'
Stop.

build...
 : error 7000: Failed to execute command
        C:\Program Files\Microsoft Visual Studio 10.0\Vc\bin\nmake.exe
/nologo t
build
[c:\udk2010sr1\Build\AppPkg\RELEASE_VS2010\X64\AppPkg\Applications\Python\
PythonCore]

build...
 : error F002: Failed to build module
        c:\udk2010sr1\AppPkg\Applications\Python\PythonCore.inf [X64,
VS2010, RE
LEASE]
- Failed -
Build end time: 12:30:42, Sep.21 2013
Build total time: 00:00:24


*After searching over the internet I found the poll.h file an copied it to
the correct place, but after that the compiler asked for the tcp.h file.*
**
*As far as I could check I did everything like it was discribed at the
documentation. I download the python 2.7.2 code and copied it to
"C:\UDK2010SR1\AppPkg\Applications\Python\Python-2.7.2" and after this
copied everything from PyMod-2.7.2 to the python directory.*
**
*Any idea about what can be the problem ?*
*
*
*Thanks Everyone*
*
*
*Rafael R. Machado*


2013/9/21 Rafael Machado <[email protected]>

> *Hi everyone*
> **
> *I'm trying to do some tests with the Python interpreter but I'm having
> some problems.*
> **
> *The first error I had was this:*
>
> build...
> c:\udk2010sr1\AppPkg\Applications\Python\PythonCore.inf(49): error 000E:
> File/di
> rectory not found in workspace
>         c:\udk2010sr1\AppPkg\Applications\Python\Efi\edk2module.c
>
> *After removing this file from PythonCre.inf, the compile process started
> to work, but after some time I got this:*
>
>         "C:\Program Files\Microsoft Visual Studio
> 10.0\Vc\bin\x86_amd64\cl.exe"
>
> /Foc:\udk2010sr1\Build\AppPkg\RELEASE_VS2010\X64\AppPkg\Applications\Python\Pyth
> onCore\OUTPUT\Python-2.7.2\Modules\selectmodule.obj /nologo /c /WX /GS- /X
> /W4 /
> Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Oi-
> /wd4018 /w
> d4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267
> /wd4305 /w
> d4310 /wd4389 /wd4701 /wd4702 /wd4706
> /Ic:\udk2010sr1\AppPkg\Applications\Python
> \X64 /Ic:\udk2010sr1\AppPkg\Applications\Python\Efi
> /Ic:\udk2010sr1\AppPkg\Appli
> cations\Python\Python-2.7.2\Include /X /Zc:wchar_t
> /Ic:\udk2010sr1\AppPkg\Applic
> ations\Python\Python-2.7.2\Objects
> /Ic:\udk2010sr1\AppPkg\Applications\Python\P
> ython-2.7.2\Modules\_io
> /Ic:\udk2010sr1\AppPkg\Applications\Python\Python-2.7.2
> \Modules\cjkcodecs
> /Ic:\udk2010sr1\AppPkg\Applications\Python\Python-2.7.2\Modu
> les  /Ic:\udk2010sr1\AppPkg\Applications\Python\Python-2.7.2\Python
> /Ic:\udk201
> 0sr1\AppPkg\Applications\Python\Python-2.7.2\Parser
> /Ic:\udk2010sr1\AppPkg\Appl
> ications\Python\Efi  /Ic:\udk2010sr1\AppPkg\Applications\Python
> /Ic:\udk2010sr1
> \Build\AppPkg\RELEASE_VS2010\X64\AppPkg\Applications\Python\PythonCore\DEBUG
> /I
> c:\udk2010sr1\StdLib  /Ic:\udk2010sr1\StdLib\Include
> /Ic:\udk2010sr1\StdLib\Inc
> lude\X64  /Ic:\udk2010sr1\MdePkg  /Ic:\udk2010sr1\MdePkg\Include
> /Ic:\udk2010sr
> 1\MdePkg\Include\X64
> c:\udk2010sr1\AppPkg\Applications\Python\Python-2.7.2\Modul
> es\selectmodule.c
> cl : Command line warning D9025 : overriding '/Oi' with '/Oi-'
> selectmodule.c
>
> c:\udk2010sr1\AppPkg\Applications\Python\Python-2.7.2\Modules\selectmodule.c(30)
>  : fatal error C1083: Cannot open include file: 'poll.h': No such file or
> direct
> ory
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 10.0\Vc\bi
> n\x86_amd64\cl.exe"' : return code '0x2'
> Stop.
>
> build...
>  : error 7000: Failed to execute command
>         C:\Program Files\Microsoft Visual Studio 10.0\Vc\bin\nmake.exe
> /nologo t
> build
> [c:\udk2010sr1\Build\AppPkg\RELEASE_VS2010\X64\AppPkg\Applications\Python\
> PythonCore]
>
> build...
>  : error F002: Failed to build module
>         c:\udk2010sr1\AppPkg\Applications\Python\PythonCore.inf [X64,
> VS2010, RE
> LEASE]
> - Failed -
> Build end time: 12:30:42, Sep.21 2013
> Build total time: 00:00:24
>
>
> *After searching over the internet I found the poll.h file an copied it
> to the correct place, but after that the compiler asked for the tcp.h file.
> *
> **
> *As far as I could check I did everything like it was discribed at the
> documentation. I download the python 2.7.2 code and copied it to
> "C:\UDK2010SR1\AppPkg\Applications\Python\Python-2.7.2" and after this
> copied everything from PyMod-2.7.2 to the python directory.*
> **
> *Any idea about what can be the problem ?*
> **
> *Thanks everyone.*
> *Rafael R. Machado*
>
>
>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to