harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <j...@kewlstuff.co.za>
Subject The Problem 7
Date Sun, 02 Mar 2008 07:03:51 GMT
===================================
Guys the mak files are pointing at
!include <$(HY_HDK)\build\make\defines.mak>
That folder does not exist!

What is happening is the MS compiler is just defaulting to ancient 
history...

This project has not been compiled on windows for a long long time...
Ouch!
> ==================================
> Just realized what the big problem is.... I was thinking about it and this 
> software would have to be
> older than my wife... thats ancient history ;)
> Look at the line below... where do I tell the ant script to UP that 
> windows version...
> NT 4 is too old for the functions called....
>
> IPPROTO_IPV6 needs _WIN32_WINNT >= 0x0501
> The stuff in the common_vm.xml
>
> ie this
> <defineset if="is.windows">
>
> <define name="PLATFORM_NT" />
>
> <define name="WIN32" />
>
> <define name="_WINDOWS" />
>
> <define name="_WIN32_WINNT" value="0x0501" />
>
> </defineset>
>
> is not getting thru to the compiler...
>
> ==================================
>
> [exec] 
> cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h -D_X86_=1  
> -DWIN32 -D_WIN32 -W3 -D_WIN95 -D_WIN32_WINDOWS=0x0400 
> /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400
>
>
>
>> -- missing a constant declaration headers ????
>>
>> [exec] hysock.c(353) : error C2065: 'IPPROTO_IPV6' : undeclared 
>> identifier
>> [exec] hysock.c(4117) : error C2065: 'IP_ADAPTER_UNICAST_ADDRESS' : 
>> undeclared identifier
>>
>> [exec] hysock.c(4117) : error C2065: 'currentIPAddress' : undeclared 
>> identifier
>>
>> [exec] hysock.c(4117) : warning C4047: '=' : 'int' differs in levels of 
>> indirection from 'void *'
>>
>> [exec] hysock.c(4117) : error C2106: '=' : left operand must be l-value
>>
>> [exec] hysock.c(4301) : warning C4047: '=' : 'int' differs in levels of 
>> indirection from 'PIP_ADAPTER_UNICAST_ADDRESS_XP'
>>
>> [exec] hysock.c(4305) : error C2223: left of '->Next' must point to 
>> struct/union
>>
>> [exec] hysock.c(4342) : warning C4047: '=' : 'int' differs in levels of 
>> indirection from 'PIP_ADAPTER_UNICAST_ADDRESS_XP'
>>
>> [exec] hysock.c(4346) : error C2223: left of '->Next' must point to 
>> struct/union
>>
>> [exec] hysock.c(4382) : warning C4047: '=' : 'int' differs in levels of 
>> indirection from 'PIP_ADAPTER_UNICAST_ADDRESS_XP'
>>
>> [exec] hysock.c(4385) : error C2223: left of '->Address' must point to 
>> struct/union
>>
>> [exec] hysock.c(4391) : error C2223: left of '->Address' must point to 
>> struct/union
>>
>> [exec] hysock.c(4393) : warning C4022: 'memcpy' : pointer mismatch for 
>> actual parameter 2
>>
>> [exec] hysock.c(4393) : error C2198: 'memcpy' : too few arguments for 
>> call
>>
>> [exec] hysock.c(4400) : error C2223: left of '->Address' must point to 
>> struct/union
>>
>> [exec] hysock.c(4402) : error C2223: left of '->Address' must point to 
>> struct/union
>>
>> [exec] hysock.c(4408) : error C2223: left of '->Address' must point to 
>> struct/union
>>
>> [exec] hysock.c(4410) : warning C4022: 'memcpy' : pointer mismatch for 
>> actual parameter 2
>>
>> [exec] hysock.c(4410) : error C2198: 'memcpy' : too few arguments for 
>> call
>>
>> [exec] hysock.c(4422) : error C2223: left of '->Address' must point to 
>> struct/union
>>
>> [exec] hysock.c(4431) : error C2223: left of '->Next' must point to 
>> struct/union
>>
>> [exec] hysock.c(4438) : warning C4047: '=' : 'int' differs in levels of 
>> indirection from 'PIP_ADAPTER_UNICAST_ADDRESS_XP'
>>
>> [exec] hysock.c(4441) : error C2223: left of '->Address' must point to 
>> struct/union
>>
>> [exec] hysock.c(4448) : error C2223: left of '->Address' must point to 
>> struct/union
>>
>> [exec] hysock.c(4450) : warning C4022: 'memcpy' : pointer mismatch for 
>> actual parameter 2
>>
>> [exec] hysock.c(4450) : error C2198: 'memcpy' : too few arguments for 
>> call
>>
>> [exec] hysock.c(4457) : error C2223: left of '->Address' must point to 
>> struct/union
>>
>> [exec] hysock.c(4459) : error C2223: left of '->Address' must point to 
>> struct/union
>>
>> [exec] hysock.c(4467) : error C2223: left of '->Address' must point to 
>> struct/union
>>
>> [exec] hysock.c(4469) : warning C4022: 'memcpy' : pointer mismatch for 
>> actual parameter 2
>>
>> [exec] hysock.c(4469) : error C2198: 'memcpy' : too few arguments for 
>> call
>>
>> [exec] hysock.c(4482) : error C2223: left of '->Address' must point to 
>> struct/union
>>
>> [exec] hysock.c(4490) : error C2223: left of '->Next' must point to 
>> struct/union
>>
>>
>>
>> =========================
>>>
>>>
>>> [exec] hyshmem.c(936) : error C2220: warning treated as error - no 
>>> 'object' file generated
>>>
>>> [exec] hyshmem.c(936) : warning C4013: 'SHGetFolderPath' undefined; 
>>> assuming extern returning int
>>>
>>>
>>> =============================
>>
>> This didnt work the solution is to add this
>> #include <ShFolder.h>
>>
>>> Even the headers have changed... lets buy the IBM guy a new test 
>>> system... Donations here ;)
>>
>>
>>> The above problem can be fixed with
>>> //Mod
>>> #define _WIN32_IE=0x500
>>>
>>> I've just realised what the problems is... the IBM windows test guys is 
>>> still on Windows 3.1  ha ha
>>> Common IBM, buy the poor guy an upgrade ;)  Shame man!
>>> =============================
>>>
>>>>
>>>>
>>>> In hyosdump.c itoa is rejected
>>>>
>>>> ====================================
>>>> My C is coming back slowly... and this should be done
>>>> in a nice define (macro) somewhere but a quick fix is to
>>>> change
>>>> sprintf to wsprintf
>>>>
>>>> and itoa to _itoa
>>>> ====================================
>>>>
>>>>
>>>>> Its compiling away nicely then this error happens....
>>>>>
>>>>>
>>>>>     [exec] 
>>>>> cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h
>>>>> -D_X86_=1  -DWIN32 -D_WIN32 -W3 -D_WIN95 -D_WIN32_WINDOWS=0x0400 
>>>>> /D_WIN32_DCOM -
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 
>>>>> =0x0500 -DWINVER=0x0400 -Zi -Od -WX -GF -Gs -MD -Zm400   -D_CRT_SECURE
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 
>>>>> EPRECATE  -D_CRT_SECURE_NO_WARNINGS  -D_SCL_SECURE_NO_DEPRECATE  -D_DLL

>>>>>  -D_
>>>>> MT -D_WINSOCKAPI_  /IE:\Harmony_SVN\working_classlib\deploy\include 
>>>>> /IE:\Harmony
>>>>> _SVN\working_classlib\deploy\jdk\include /I. -DHYPORT_LIBRARY_DEFINE

>>>>> /I..\shared
>>>>> \ -Fohyerrorhelpers.obj hyerrorhelpers.c
>>>>>     [exec] hyerrorhelpers.c
>>>>>     [exec] hyerrorhelpers.c(122) : error C2220: warning treated as 
>>>>> error - no '
>>>>> object' file generated
>>>>>     [exec] hyerrorhelpers.c(122) : warning C4013: 'sprintf' undefined;

>>>>> assuming
>>>>> extern returning int
>>>>>     [exec] NMAKE : fatal error U1077: '"C:\Program Files\Microsoft 
>>>>> Visual Studi
>>>>> o 8\VC\BIN\cl.EXE"' : return code '0x2'
>>>>>     [exec] Stop.
>>>>>
>>>>> BUILD FAILED
>>>>> E:\Harmony_SVN\working_classlib\build.xml:148: The following error 
>>>>> occurred whil
>>>>> e executing this line:
>>>>> E:\Harmony_SVN\working_classlib\make\build-native.xml:73: The 
>>>>> following error oc
>>>>> curred while executing this line:
>>>>> E:\Harmony_SVN\working_classlib\modules\portlib\build.xml:158: The 
>>>>> following err
>>>>> or occurred while executing this line:
>>>>> E:\Harmony_SVN\working_classlib\make\properties.xml:492: exec 
>>>>> returned: 2
>>>>>
>>>>>
>>>>> ==========================================
>>>>> This problem below solved by downloading all the source for the 
>>>>> Windows
>>>>> and copy missing folder across ??
>>>>> ==========================================
>>>>>
>>>>>
>>>>> After SVN and populate source and fetch-depends
>>>>> You get this error building classes
>>>>>
>>>>> The problem is that the STANDARD folder is not there????
>>>>>
>>>>>
>>>>> BUILD FAILED
>>>>> E:\Harmony_SVN\working_classlib\build.xml:113: The following error 
>>>>> occurred whil
>>>>> e executing this line:
>>>>> E:\Harmony_SVN\working_classlib\make\build-java.xml:120: srcdir 
>>>>> "E:\Harmony_SVN\
>>>>> working_classlib\modules\concurrent\standard\src\main\java" does not

>>>>> exist!
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


Mime
View raw message