harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5557) [build] Problem building Harmony on MSVC 2005
Date Thu, 27 Mar 2008 14:19:24 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582660#action_12582660
] 

Tim Ellison commented on HARMONY-5557:
--------------------------------------

Thanks Evgeny / Sergey.  Finally got a later version of the compiler to test with.

DRLVM build patch applied at repo revision r641826.
Please check it was applied as you expected.

Now, building with the MS VS 2008 compiler I get a failure in building APR as shown below.

It seems that the struct "group_source_req" is undefined. According to MSDN it is declared
in Ws2ipdef.h wich you get by including Ws2tcpip.h.  I don't see where that happens.


===============
<snip>
build-extra:

-setup:

get-src:
     [echo] Checking for C:\Harmony-federated\common_resources\depends/oss/apr/apr-1.2.6.tar.gz
    [mkdir] Created dir: C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr
    [untar] Expanding: C:\Harmony-federated\common_resources\depends\oss\apr\apr-1.2.6.tar.gz
into C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr
     [copy] Copying 5 files to C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr\src

apr-configure:

-make-apr-unix:

-plugin-cpptasks:
     [echo] Checking for C:\Harmony-federated\common_resources\depends/jars/cpptasks-1.0b4/cpptasks.jar

setup-native-build:

-build-win:
     [copy] Copying 1 file to C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr\src\include
     [echo] ## Building 'apr'
    [mkdir] Created dir: C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr\bin
    [mkdir] Created dir: C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr\obj
       [cc] 68 total files to be compiled.
       [cc] misc.c
       [cc] filepath.c
       [cc] apr_hash.c
       [cc] sockets.c
       [cc] otherchild.c
       [cc] version.c
       [cc] shm.c
       [cc] apr_app.c
       [cc] common.c
       [cc] multicast.c
       [cc] C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr\src\network_io\unix\multicast.c(137)
: error C2079: 'mip' uses undefined struct 'group_source_req'
       [cc] C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr\src\network_io\unix\multicast.c(168)
: error C2224: left of '.gsr_interface' must have struct/union type
       [cc] C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr\src\network_io\unix\multicast.c(169)
: error C2224: left of '.gsr_group' must have struct/union type
       [cc] C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr\src\network_io\unix\multicast.c(169)
: error C2224: left of '.gsr_group' must have struct/union type
       [cc] C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr\src\network_io\unix\multicast.c(169)
: error C2198: 'memcpy' : too few arguments for call
       [cc] C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr\src\network_io\unix\multicast.c(170)
: error C2224: left of '.gsr_source' must have struct/union type
       [cc] C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr\src\network_io\unix\multicast.c(170)
: error C2224: left of '.gsr_source' must have struct/union type
       [cc] C:\Harmony-federated\working_vm\build\windows_x86_msvc_release\semis\apr\src\network_io\unix\multicast.c(170)
: error C2198: 'memcpy' : too few arguments for call
<snip>
       [cc] Generating Code...

BUILD FAILED
C:\Harmony-federated\build.xml:396: The following error occurred while executing this line:
C:\Harmony-federated\working_vm\build.xml:115: The following error occurred while executing
this line:
C:\Harmony-federated\working_vm\make\extra\apr.xml:88: The following error occurred while
executing this line:
C:\Harmony-federated\working_vm\make\build-native.xml:196: cl failed with return code 2


> [build] Problem building Harmony on MSVC 2005
> ---------------------------------------------
>
>                 Key: HARMONY-5557
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5557
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: x86, MSVC 2005
>            Reporter: Evgeny Razinkin
>            Assignee: Tim Ellison
>         Attachments: code.txt, code1.txt, msvc2005.diff
>
>
> I have problem with harmony building. I installed all components, created repository,made
$ svn update. Then i made $ ant fetch-depends. And compiler showed successfull build.But when
i made $ ant and i had problems:
> NMAKE : fatal error U1077: retern code '0*2'
>    P.S. Please help me

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message