harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject [build] Compile error using MS VS 2008
Date Tue, 01 Apr 2008 12:02:30 GMT
I'm building the DRLVM tree with the MS VS 2008 compiler I get a failure 
in building the APR code as shown below.

It seems that the struct "group_source_req" is undefined (see below).

According to MSDN that struct is declared in Ws2ipdef.h which you get by 
including Ws2tcpip.h.  I don't see where that happens.

Anyone familiar with that area of code?

Regards,
Tim

===============
<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
      [move] Moving 459 files to 
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
        [cc] inet_ntop.c
<snip>
        [cc] Generating Code...

BUILD FAILED
C:\Harmony-federated\build.xml:445: 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


Mime
View raw message