You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Laurent Moss (JIRA)" <ji...@apache.org> on 2012/07/22 18:50:33 UTC

[jira] [Created] (AVRO-1131) Generated build makefiles for MSYS/MinGW use Visual Studio compiler flags

Laurent Moss created AVRO-1131:
----------------------------------

             Summary: Generated build makefiles for MSYS/MinGW use Visual Studio compiler flags
                 Key: AVRO-1131
                 URL: https://issues.apache.org/jira/browse/AVRO-1131
             Project: Avro
          Issue Type: Bug
          Components: c++
    Affects Versions: 1.7.1
         Environment: Windows XP Professional 32-bit SP3, MSYS, MinGW GCC 4.5.1


            Reporter: Laurent Moss
            Priority: Minor


I generated MSYS Makefiles for Avro C++ by executing the following command in the avro/lang/c++ directory:
cmake -G "MSYS Makefiles"

However, when trying to "make" Avro C++ with the generated makefiles and with MinGW GCC, the build fails with the following error:
g++.exe: C:/msys/EHa: No such file or directory
make[2]: *** [CMakeFiles/avrocpp_s.dir/impl/Compiler.cc.obj] Error 1
make[1]: *** [CMakeFiles/avrocpp_s.dir/all] Error 2
make: *** [all] Error 2

It turns out that the Visual Studio compiler flag "/Eha" was added to the generated makefiles, which MSYS then interpreted as a file path. MinGW GCC would not understand or need that flag anyway.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-1131) Generated build makefiles for MSYS/MinGW use Visual Studio compiler flags

Posted by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiruvalluvan M. G. updated AVRO-1131:
--------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed revision 1364872.

                
> Generated build makefiles for MSYS/MinGW use Visual Studio compiler flags
> -------------------------------------------------------------------------
>
>                 Key: AVRO-1131
>                 URL: https://issues.apache.org/jira/browse/AVRO-1131
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.7.1
>         Environment: Windows XP Professional 32-bit SP3, MSYS, MinGW GCC 4.5.1
>            Reporter: Laurent Moss
>            Assignee: Laurent Moss
>            Priority: Minor
>              Labels: build
>         Attachments: AVRO-1131.diff
>
>
> I generated MSYS Makefiles for Avro C++ by executing the following command in the avro/lang/c++ directory:
> cmake -G "MSYS Makefiles"
> However, when trying to "make" Avro C++ with the generated makefiles and with MinGW GCC, the build fails with the following error:
> g++.exe: C:/msys/EHa: No such file or directory
> make[2]: *** [CMakeFiles/avrocpp_s.dir/impl/Compiler.cc.obj] Error 1
> make[1]: *** [CMakeFiles/avrocpp_s.dir/all] Error 2
> make: *** [all] Error 2
> It turns out that the Visual Studio compiler flag "/Eha" was added to the generated makefiles, which MSYS then interpreted as a file path. MinGW GCC would not understand or need that flag anyway.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-1131) Generated build makefiles for MSYS/MinGW use Visual Studio compiler flags

Posted by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiruvalluvan M. G. updated AVRO-1131:
--------------------------------------

    Assignee: Laurent Moss
      Status: Patch Available  (was: Open)
    
> Generated build makefiles for MSYS/MinGW use Visual Studio compiler flags
> -------------------------------------------------------------------------
>
>                 Key: AVRO-1131
>                 URL: https://issues.apache.org/jira/browse/AVRO-1131
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.7.1
>         Environment: Windows XP Professional 32-bit SP3, MSYS, MinGW GCC 4.5.1
>            Reporter: Laurent Moss
>            Assignee: Laurent Moss
>            Priority: Minor
>              Labels: build
>         Attachments: AVRO-1131.diff
>
>
> I generated MSYS Makefiles for Avro C++ by executing the following command in the avro/lang/c++ directory:
> cmake -G "MSYS Makefiles"
> However, when trying to "make" Avro C++ with the generated makefiles and with MinGW GCC, the build fails with the following error:
> g++.exe: C:/msys/EHa: No such file or directory
> make[2]: *** [CMakeFiles/avrocpp_s.dir/impl/Compiler.cc.obj] Error 1
> make[1]: *** [CMakeFiles/avrocpp_s.dir/all] Error 2
> make: *** [all] Error 2
> It turns out that the Visual Studio compiler flag "/Eha" was added to the generated makefiles, which MSYS then interpreted as a file path. MinGW GCC would not understand or need that flag anyway.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-1131) Generated build makefiles for MSYS/MinGW use Visual Studio compiler flags

Posted by "Laurent Moss (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laurent Moss updated AVRO-1131:
-------------------------------

    Attachment: AVRO-1131.diff

This patch fixes the issue for me by treating MSYS/MinGW similarly to Cygwin.
                
> Generated build makefiles for MSYS/MinGW use Visual Studio compiler flags
> -------------------------------------------------------------------------
>
>                 Key: AVRO-1131
>                 URL: https://issues.apache.org/jira/browse/AVRO-1131
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.7.1
>         Environment: Windows XP Professional 32-bit SP3, MSYS, MinGW GCC 4.5.1
>            Reporter: Laurent Moss
>            Priority: Minor
>              Labels: build
>         Attachments: AVRO-1131.diff
>
>
> I generated MSYS Makefiles for Avro C++ by executing the following command in the avro/lang/c++ directory:
> cmake -G "MSYS Makefiles"
> However, when trying to "make" Avro C++ with the generated makefiles and with MinGW GCC, the build fails with the following error:
> g++.exe: C:/msys/EHa: No such file or directory
> make[2]: *** [CMakeFiles/avrocpp_s.dir/impl/Compiler.cc.obj] Error 1
> make[1]: *** [CMakeFiles/avrocpp_s.dir/all] Error 2
> make: *** [all] Error 2
> It turns out that the Visual Studio compiler flag "/Eha" was added to the generated makefiles, which MSYS then interpreted as a file path. MinGW GCC would not understand or need that flag anyway.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira