Hi Raymond, it seems that the signature for StrNDup (which is only used if compiling d8 with readline support) did not change when the implemenation did.
This has been fixed in bleeding_edge revision: 3342. Updating to that revision should fix the problem. Alternatively, remove the console=readline part when building d8. Thanks for reporting the problem! Cheers, -- Mads On Fri, Nov 20, 2009 at 1:47 PM, Raymond Wooninck <[email protected]> wrote: > > Hi, > > While trying to compile v8, I get the following error while linking the > libraries: > > obj/release/d8-readline.os: In function > `v8::ReadLineEditor::CompletionGenerator(char const*, int)': > d8-readline.cc:(.text._ZN2v814ReadLineEditor19CompletionGeneratorEPKci+0x11a): > undefined reference to `v8::internal::StrNDup(char const*, unsigned long)' > collect2: ld returned 1 exit status > scons: *** [d8] Error 1 > scons: building terminated because of errors. > error: Bad exit status from /var/tmp/rpm-tmp.nhxuXh (%build) > > Anybody a clue how to resolve this ? > > Regards > > Raym > > > > --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
