[webkit-dev] errors in Carbide but not on command line

Jack Wootton jackwootton at gmail.com
Thu Jul 17 01:50:49 PDT 2008


Hi,

The WebKit bld.inf contains the following lines:

#ifndef __BROWSER_SDK
#include <domain/osextensions/platform_paths.hrh>
#endif

This seems simple enough and, I can just remove the line '#include
<domain/osextensions/platform_paths.hrh>'.

However, in the JavaScriptCore bld.inf it looks likes this:

/************** Start horrible code extract *************************/

#ifndef __BROWSER_SDK
#include <domain/osextensions/platform_paths.hrh>
..\kjs\internal.h         MW_LAYER_SDK_EXPORT_PATH(javascriptcore\internal.h)
..\kjs\interpreter.h      MW_LAYER_SDK_EXPORT_PATH(javascriptcore\interpreter.h)
..\kjs\object.h           MW_LAYER_SDK_EXPORT_PATH(javascriptcore\object.h)
..\kjs\protect.h          MW_LAYER_SDK_EXPORT_PATH(javascriptcore\protect.h)
..\kjs\stdint.h           MW_LAYER_SDK_EXPORT_PATH(javascriptcore\stdint.h)

..\bindings\npruntime.h
MW_LAYER_SDK_EXPORT_PATH(javascriptcore\npruntime.h)
..\bindings\npruntime_impl.h
MW_LAYER_SDK_EXPORT_PATH(javascriptcore\npruntime_impl.h)
..\bindings\npruntime_priv.h
MW_LAYER_SDK_EXPORT_PATH(javascriptcore\npruntime_priv.h)
..\bindings\runtime.h
MW_LAYER_SDK_EXPORT_PATH(javascriptcore\runtime.h)
..\bindings\runtime_object.h
MW_LAYER_SDK_EXPORT_PATH(javascriptcore\runtime_object.h)
..\bindings\runtime_root.h
MW_LAYER_SDK_EXPORT_PATH(javascriptcore\runtime_root.h)
..\bindings\NP_jsobject.h
MW_LAYER_SDK_EXPORT_PATH(javascriptcore\NP_jsobject.h)
..\bindings\c\c_utility.h
MW_LAYER_SDK_EXPORT_PATH(javascriptcore\c_utility.h)
#else
..\kjs\internal.h         \epoc32\include\oem\javascriptcore\internal.h
..\kjs\interpreter.h      \epoc32\include\oem\javascriptcore\interpreter.h
..\kjs\object.h           \epoc32\include\oem\javascriptcore\object.h
..\kjs\protect.h          \epoc32\include\oem\javascriptcore\protect.h
..\kjs\stdint.h           \epoc32\include\oem\javascriptcore\stdint.h

..\bindings\npruntime.h
\epoc32\include\oem\javascriptcore\npruntime.h
..\bindings\npruntime_impl.h
\epoc32\include\oem\javascriptcore\npruntime_impl.h
..\bindings\npruntime_priv.h
\epoc32\include\oem\javascriptcore\npruntime_priv.h
..\bindings\runtime.h            \epoc32\include\oem\javascriptcore\runtime.h
..\bindings\runtime_object.h
\epoc32\include\oem\javascriptcore\runtime_object.h
..\bindings\runtime_root.h
\epoc32\include\oem\javascriptcore\runtime_root.h
..\bindings\NP_jsobject.h
\epoc32\include\oem\javascriptcore\NP_jsobject.h
..\bindings\c\c_utility.h
\epoc32\include\oem\javascriptcore\c_utility.h
#endif //#ifndef __BROWSER_SDK

/************** End horrible code extract *************************/

So, presumably it's the first section that needs to go, but can all of
it be removed, or just the offending line

'#include <domain/osextensions/platform_paths.hrh>'

?





On Wed, Jul 16, 2008 at 6:19 PM, Zalan Bujtas <zbujtas at gmail.com> wrote:
>>#include <domain/osextensions/platform_paths.hrh>
> it is #ifdef-ed out in the bld.inf. Carbide does not manage #ifdefs in
> the build files properly.
>
> Zalan.
>
> On Wed, Jul 16, 2008 at 12:41 PM, Jack Wootton <jackwootton at gmail.com> wrote:
>> To add, the following two files are displaying errors in Carbide:
>>
>> S60\JavaScriptCore\group\bld.inf
>> S60\WebKit\group\bld.inf
>>
>> JavaScriptCore bld.inf both have a problem with the following line:
>>
>> #include <domain/osextensions/platform_paths.hrh>
>>
>> Presumably it can't find the file.
>>
>>
>>
>> On Wed, Jul 16, 2008 at 5:11 PM, Jack Wootton <jackwootton at gmail.com> wrote:
>>> Hi all,
>>>
>>> Having successfully built S60 WebKit on the command line (using an
>>> older version (21772 )), I decided to try building it in Carbide. I
>>> get the following errors:
>>>
>>> /********************************** Start Errors
>>> **********************************/
>>>
>>> In file included from .\BLD.INF:50:
>>> .\.\JavaScriptCore\group\bld.inf:28:
>>> domain/osextensions/platform_paths.hrh: No such file or directory
>>>
>>> In file included from .\BLD.INF:52:
>>> .\.\WEBKIT\group\bld.inf:42: domain/osextensions/platform_paths.hrh:
>>> No such file or directory
>>> BLDMAKE ERROR: ERROR: cpp.exe returned non-zero exit status (8448)
>>>        cpp.EXE -undef -nostdinc -+  -I ..\epoc32\include -I . -I .\  -I
>>> "..\epoc32\include\variant" -include
>>> ..\epoc32\include\variant\Symbian_OS_v9.1.hrh ".\BLD.INF"
>>>
>>> /********************************** End Errors
>>> **********************************/
>>>
>>> The build target inside Carbide was set to Emulator Debug (WINSCW).
>>>
>>> Can anyone help?
>>>
>>> --
>>> Regards
>>> Jack
>>>
>>
>>
>>
>> --
>> Regards
>> Jack
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>
>



-- 
Regards
Jack


More information about the webkit-dev mailing list