[ 
https://issues.apache.org/jira/browse/HADOOP-11691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14375902#comment-14375902
 ] 

Remus Rusanu commented on HADOOP-11691:
---------------------------------------

Can you please tell me the midl command line you get?  For me is this one:
{code}
E:\HW\tools\OACR\bin\midl.exe /W2 /WX /nologo /char signed /env win32 /Oicf 
/app_config /out"E:\HW\project\hadoop-common\hadoop-common-project\hadoo
p-common\target/winutils/" /h "hadoopwinutilsvc_h.h" /tlb 
"E:\HW\project\hadoop-common\hadoop-common-project\hadoop-common\target/winutils/libwinutils
.tlb" /robust hadoopwinutilsvc.idl
{code}
which passes in `/env win32` as per the MIDL MSbuild Task spec, but apparently 
midl.exe wants `/win32` instead. I'm courious in your case what does the midl  
command line look like. 

> X86 build of libwinutils is broken
> ----------------------------------
>
>                 Key: HADOOP-11691
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11691
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build, native
>    Affects Versions: 3.0.0
>            Reporter: Remus Rusanu
>            Assignee: Kiran Kumar M R
>         Attachments: HADOOP-11691-001.patch, HADOOP-11691-002.patch, 
> HADOOP-11691-003.patch
>
>
> Hadoop-9922 recently fixed x86 build. After YARN-2190 compiling x86 results 
> in error:
> {code}
> (Link target) ->
>   
> E:\HW\project\hadoop-common\hadoop-common-project\hadoop-common\target/winutils/hadoopwinutilsvc_s.obj
>  : fatal error LNK1112: module machine type 'x64' conflicts with target 
> machine type 'X86' 
> [E:\HW\project\hadoop-common\hadoop-common-project\hadoop-common\src\main\winutils\winutils.vcxproj]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to