harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manju Vijayakumar <manju.b...@gmail.com>
Subject Harmony build - MSVS2008 - cl.exe failed
Date Thu, 23 Apr 2009 04:06:29 GMT
Hi,

Ok my build worked before with VS 2003 but for some reason I had to
uninstall it and now I have VS 2008.
I had particular issues and now I am down to this one: cl.exe fails and
returns some error code.

I looked at related issues on JIRA:
http://issues.apache.org/jira/browse/HARMONY-5557

Heres the error trace:

-----------------------------------------------
-build-win:
     [copy] Copying 1 file to
c:\Users\ChanduS\workspace\Harmony\working_vm\buil
d\windows_x86_msvc_release\semis\apr\src\include
     [echo] ## Building 'apr'
    [mkdir] Created dir:
c:\Users\ChanduS\workspace\Harmony\working_vm\build\win
dows_x86_msvc_release\semis\apr\bin
    [mkdir] Created dir:
c:\Users\ChanduS\workspace\Harmony\working_vm\build\win
dows_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:\Users\ChanduS\workspace\Harmony\working_vm\build\windows_x86_msvc
_release\semis\apr\src\network_io\unix\multicast.c(140) : error C2079: 'mip'
use
s undefined struct 'group_source_req'
       [cc]
c:\Users\ChanduS\workspace\Harmony\working_vm\build\windows_x86_msvc
_release\semis\apr\src\network_io\unix\multicast.c(171) : error C2224: left
of '
.gsr_interface' must have struct/union type
       [cc]
c:\Users\ChanduS\workspace\Harmony\working_vm\build\windows_x86_msvc
_release\semis\apr\src\network_io\unix\multicast.c(172) : error C2224: left
of '
.gsr_group' must have struct/union type
       [cc]
c:\Users\ChanduS\workspace\Harmony\working_vm\build\windows_x86_msvc
_release\semis\apr\src\network_io\unix\multicast.c(172) : error C2224: left
of '
.gsr_group' must have struct/union type
       [cc]
c:\Users\ChanduS\workspace\Harmony\working_vm\build\windows_x86_msvc
_release\semis\apr\src\network_io\unix\multicast.c(172) : error C2198:
'memcpy'
: too few arguments for call
       [cc]
c:\Users\ChanduS\workspace\Harmony\working_vm\build\windows_x86_msvc
_release\semis\apr\src\network_io\unix\multicast.c(173) : error C2224: left
of '
.gsr_source' must have struct/union type
       [cc]
c:\Users\ChanduS\workspace\Harmony\working_vm\build\windows_x86_msvc
_release\semis\apr\src\network_io\unix\multicast.c(173) : error C2224: left
of '
.gsr_source' must have struct/union type
       [cc]
c:\Users\ChanduS\workspace\Harmony\working_vm\build\windows_x86_msvc
_release\semis\apr\src\network_io\unix\multicast.c(173) : error C2198:
'memcpy'
: too few arguments for call
       [cc] inet_ntop.c
       [cc] waitio.c
       [cc] apr_snprintf.c
       [cc] filestat.c
       [cc] errorcodes.c
       [cc] filepath_util.c
       [cc] charset.c
       [cc] fileacc.c
       [cc] proc_mutex.c
       [cc] getopt.c
       [cc] Generating Code...
       [cc] Compiling...
       [cc] internal.c
       [cc] apr_cpystrn.c
       [cc] flock.c
       [cc] apr_random.c
       [cc] utf8.c
       [cc] thread_mutex.c
       [cc] proc.c
       [cc] copy.c
       [cc] fullrw.c
       [cc] time.c
       [cc] filesys.c
       [cc] access.c
       [cc] signals.c
       [cc] sha2.c
       [cc] apr_strtok.c
       [cc] thread_rwlock.c
       [cc] open.c
       [cc] thread_cond.c
       [cc] apr_strnatcmp.c
       [cc] userinfo.c
       [cc] Generating Code...
       [cc] Compiling...
       [cc] seek.c
       [cc] apr_strings.c
       [cc] apr_pools.c
       [cc] dir.c
       [cc] rand.c
       [cc] apr_fnmatch.c
       [cc] apr_atomic.c
       [cc] dso.c
       [cc] pipe.c
       [cc] groupinfo.c
       [cc] sha2_glue.c
       [cc] readwrite.c
       [cc] start.c
       [cc] apr_tables.c
       [cc] thread.c
       [cc] env.c
       [cc] timestr.c
       [cc] threadpriv.c
       [cc] inet_pton.c
       [cc] sendrecv.c
       [cc] Generating Code...
       [cc] Compiling...
       [cc] apr_getpass.c
       [cc] mmap.c
       [cc] sockopt.c
       [cc] mktemp.c
       [cc] tempdir.c
       [cc] sockaddr.c
       [cc] filedup.c
       [cc] select.c
       [cc] Generating Code...

BUILD FAILED
c:\Users\ChanduS\workspace\Harmony\build.xml:448: The following error
occurred w
hile executing this line:
c:\Users\ChanduS\workspace\Harmony\working_vm\build.xml:114: The following
error
 occurred while executing this line:
c:\Users\ChanduS\workspace\Harmony\working_vm\make\extra\apr.xml:85: The
followi
ng error occurred while executing this line:
c:\Users\ChanduS\workspace\Harmony\working_vm\make\build-native.xml:159: cl
fail
ed with return code 2
-------------------------------------------


undefined struct 'group_source_req' : Do I need to include some header file?
If yes, where?

Help much appreciated.



-- 
Thanks,
Manju Vijayakumar
Masters Student, Computer Science
Texas A&M University
College Station, TX

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message