On Mon, May 11, 2009 at 6:41 PM, Ojan Vafai <[email protected]> wrote:

> Nope. I have yet to find a fix for this. That said, I've been working on
> WebKit stuff recently, so I haven't tried too hard. The other guy in this
> office who had the same error also hasn't found a fix.


Looks like this is not the first time this has caused problems, either:

http://groups.google.com/group/chromium-dev/browse_thread/thread/b7a35f7e734a4c2e


> Please let the list know if you figure out what's wrong as I expect we're
> not the last people that will hit this. I kind of wonder if a clean checkout
> + build is actually broken for everyone.
>

Well, after some tinkering, and copious cursing, it went away.  (General
feeling in the Montreal office is
that the cursing is key, preferably in Quebecois).

When I was looking into it, it seemed as if libraries.cc in v8_nosnapshot
was not found.  Being
a generated file, the path leads through $(OutDir), and I had a hunch that
$(OutDir) was not set correctly.
Just as I was about to test this theory, the problem went away.

It might be coincidental, but right before it started working, I reverted
chrome.sln (I had been
tinkering with the project dependencies at one point to try to get it to
work).  Hopefully that
might lead someone to a real diagnosis.

Stephen


> On Tue, May 12, 2009 at 12:06 AM, Stephen White 
> <[email protected]<[email protected]>
> > wrote:
>
>> Hi Ojan,
>> Did you ever find a fix for this?  I just did a clobber build, and it
>> started to do the same thing (failure in v8::internal::NativesCollection).
>>
>> Thanks,
>>
>>  Stephen
>>
>> On Thu, May 7, 2009 at 11:49 PM, Ojan Vafai <[email protected]> wrote:
>>
>>> I've been getting the following build error for the past couple days on
>>> Windows. It happens if I use Incredibuild or VS. It happens on a totally
>>> fresh checkout. Any one have any ideas as to what could be causing this?
>>>
>>> 9>------ Build started: Project: mksnapshot, Configuration: Debug Win32
>>> ------
>>> 9>Compiling...
>>> 9>mksnapshot.cc
>>> 9>Linking...
>>> 9>mksnapshot.obj : error LNK2019: unresolved external symbol "public:
>>> static int __cdecl
>>> v8::internal::NativesCollection<0>::GetBuiltinsCount(void)"
>>> (?getbuiltinsco...@?$nativescollection@$0A@@inter...@v8@@SAHXZ)
>>> referenced in function _main
>>> 9>v8_base.lib(heap.obj) : error LNK2001: unresolved external symbol
>>> "public: static int __cdecl
>>> v8::internal::NativesCollection<0>::GetBuiltinsCount(void)"
>>> (?getbuiltinsco...@?$nativescollection@$0A@@inter...@v8@@SAHXZ)
>>> 9>v8_base.lib(bootstrapper.obj) : error LNK2001: unresolved external
>>> symbol "public: static int __cdecl
>>> v8::internal::NativesCollection<0>::GetBuiltinsCount(void)"
>>> (?getbuiltinsco...@?$nativescollection@$0A@@inter...@v8@@SAHXZ)
>>> 9>v8_base.lib(bootstrapper.obj) : error LNK2019: unresolved external
>>> symbol "public: static class v8::internal::Vector<char const > __cdecl
>>> v8::internal::NativesCollection<0>::GetScriptSource(int)" (?GetScriptSource@
>>> ?$nativescollect...@$0a@@inter...@v8@@sa?av?$vec...@$$cbd@2...@h@Z)
>>> referenced in function "public: static class v8::internal::Handle<class
>>> v8::internal::String> __cdecl
>>> v8::internal::Bootstrapper::NativesSourceLookup(int)"
>>> (?nativessourceloo...@bootstrapper@inter...@v8@@sa?av?$han...@vstring
>>> @inter...@v8@@@2...@h@Z)
>>> 9>v8_base.lib(bootstrapper.obj) : error LNK2019: unresolved external
>>> symbol "public: static class v8::internal::Vector<char const > __cdecl
>>> v8::internal::NativesCollection<0>::GetScriptName(int)" (?GetScriptName@
>>> ?$nativescollect...@$0a@@inter...@v8@@sa?av?$vec...@$$cbd@2...@h@Z)
>>> referenced in function "private: static bool __cdecl
>>> v8::internal::Genesis::CompileBuiltin(int)" (?compilebuil...@genesis
>>> @inter...@v8@@ca...@z)
>>> 9>v8_base.lib(debug.obj) : error LNK2001: unresolved external symbol
>>> "public: static class v8::internal::Vector<char const > __cdecl
>>> v8::internal::NativesCollection<0>::GetScriptName(int)" (?GetScriptName@
>>> ?$nativescollect...@$0a@@inter...@v8@@sa?av?$vec...@$$cbd@2...@h@Z)
>>> 9>v8_base.lib(handles.obj) : error LNK2001: unresolved external symbol
>>> "public: static class v8::internal::Vector<char const > __cdecl
>>> v8::internal::NativesCollection<0>::GetScriptName(int)" (?GetScriptName@
>>> ?$nativescollect...@$0a@@inter...@v8@@sa?av?$vec...@$$cbd@2...@h@Z)
>>> 9>v8_base.lib(bootstrapper.obj) : error LNK2019: unresolved external
>>> symbol "public: static int __cdecl
>>> v8::internal::NativesCollection<0>::GetIndex(char const *)" (?GetIndex@
>>> ?$nativescollect...@$0a@@inter...@v8@@sah...@z) referenced in function
>>> "private: bool __thiscall v8::internal::Genesis::InstallNatives(void)"
>>> (?installnati...@genesis@inter...@v8@@AAE_NXZ)
>>> 9>v8_base.lib(debug.obj) : error LNK2001: unresolved external symbol
>>> "public: static int __cdecl
>>> v8::internal::NativesCollection<0>::GetIndex(char const *)" (?GetIndex@
>>> ?$nativescollect...@$0a@@inter...@v8@@sah...@z)
>>> 9>v8_base.lib(bootstrapper.obj) : error LNK2019: unresolved external
>>> symbol "public: static int __cdecl
>>> v8::internal::NativesCollection<0>::GetDelayCount(void)" (?GetDelayCount@
>>> ?$nativescollect...@$0a@@inter...@v8@@SAHXZ) referenced in function
>>> "private: bool __thiscall v8::internal::Genesis::InstallNatives(void)"
>>> (?installnati...@genesis@inter...@v8@@AAE_NXZ)
>>> 9>v8_base.lib(snapshot-common.obj) : error LNK2001: unresolved external
>>> symbol "private: static unsigned char const * const
>>> v8::internal::Snapshot::data_" (?da...@snapshot@inter...@v8@@0QBEB)
>>> 9>v8_base.lib(snapshot-common.obj) : error LNK2001: unresolved external
>>> symbol "private: static int v8::internal::Snapshot::size_" (?si...@snapshot
>>> @inter...@v8@@0HA)
>>> 9>E:\chromium\src\chrome\Debug\mksnapshot.exe : fatal error LNK1120: 7
>>> unresolved externals
>>> 9>Build log was saved at
>>> "file://E:\chromium\src\chrome\Debug\obj\mksnapshot\BuildLog.htm"
>>> 9>mksnapshot - 13 error(s), 0 warning(s)
>>>
>>> >>>
>>>
>>
>>
>> --
>> All truth passes through three stages. First, it is ridiculed. Second, it
>> is violently opposed. Third, it is accepted as being self-evident. --
>> Schopenhauer
>>
>
>


-- 
All truth passes through three stages. First, it is ridiculed. Second, it is
violently opposed. Third, it is accepted as being self-evident. --
Schopenhauer

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to