Building V8 works fine (including the shell). It seems you are building d8
with readline support which is what is causing trouble. We should fix that.

-- Mads

On Tue, Apr 26, 2011 at 12:59 PM, Paweł Hajdan, Jr. <[email protected]
> wrote:

> I'm having trouble building v8-3.2.10.3 as a shared library on Linux. Could
> you please test this build configuration before doing releases? Please add a
> continuous builder for Linux shared library build.
>
> i686-pc-linux-gnu-g++ -o obj/release/d8-readline.os -c -O2 -march=i686
> -pipe -fno-strict-aliasing -Wall -W -Wno-unused-parameter -Wnon-virtual-dtor
> -pedantic -m32 -fomit-frame-pointer -fdata-sections -ffunction-sections
> -ansi -fno-rtti -fno-exceptions -Wall -W -Wno-unused-parameter
> -Wnon-virtual-dtor -pedantic -m32 -fomit-frame-pointer -fdata-sections
> -ffunction-sections -ansi -fPIC -DV8_TARGET_ARCH_IA32 -DV8_SHARED
> -DV8_FAST_TLS -DENABLE_DEBUGGER_SUPPORT -DENABLE_VMSTATE_TRACKING
> -DENABLE_LOGGING_AND_PROFILING -Isrc src/d8-readline.cc
> In file included from src/scanner-base.h:36,
>                  from src/conversions.h:31,
>                  from src/conversions-inl.h:38,
>                  from src/objects-inl.h:40,
>                  from src/v8.h:63,
>                  from src/d8.h:31,
>                  from src/d8-readline.cc:34:
> src/token.h:185: error: expected identifier before '(' token
> src/token.h:185: error: expected '}' before '(' token
> src/token.h:185: error: expected unqualified-id before 'M'
> src/token.h:185: error: expected ')' before 'M'
> src/token.h:185: error: expected ')' before 'M'
> src/token.h:185: error: expected ')' before 'M'
> src/token.h: In function 'const char* v8::internal::Name(v8::Value)':
> src/token.h:194: error: 'name_' was not declared in this scope
> src/token.h: In function 'bool v8::internal::IsKeyword(v8::Value)':
> src/token.h:199: error: 'token_type' was not declared in this scope
> src/token.h: In function 'bool v8::internal::IsAssignmentOp(v8::Value)':
> src/token.h:203: error: 'INIT_VAR' was not declared in this scope
> src/token.h:203: error: 'ASSIGN_MOD' was not declared in this scope
> src/token.h: In function 'bool v8::internal::IsBinaryOp(v8::Value)':
> src/token.h:207: error: 'COMMA' was not declared in this scope
> src/token.h:207: error: 'MOD' was not declared in this scope
> src/token.h: In function 'bool v8::internal::IsCompareOp(v8::Value)':
> src/token.h:211: error: 'EQ' was not declared in this scope
> src/token.h:211: error: 'IN' was not declared in this scope
> src/token.h: In function 'bool
> v8::internal::IsOrderedCompareOp(v8::Value)':
> src/token.h:215: error: 'LT' was not declared in this scope
> src/token.h:215: error: 'LTE' was not declared in this scope
> src/token.h:215: error: 'GT' was not declared in this scope
> src/token.h:215: error: 'GTE' was not declared in this scope
> src/token.h: In function 'v8::Value
> v8::internal::NegateCompareOp(v8::Value)':
> src/token.h:220: error: switch quantity not an integer
> src/token.h:221: error: 'EQ' was not declared in this scope
> src/token.h:221: error: 'NE' was not declared in this scope
> src/token.h:222: error: 'NE' cannot appear in a constant-expression
> src/token.h:223: error: 'EQ_STRICT' was not declared in this scope
> src/token.h:223: error: 'NE_STRICT' was not declared in this scope
> src/token.h:224: error: 'LT' was not declared in this scope
> src/token.h:224: error: 'GTE' was not declared in this scope
> src/token.h:225: error: 'GT' was not declared in this scope
> src/token.h:225: error: 'LTE' was not declared in this scope
> src/token.h:226: error: 'LTE' cannot appear in a constant-expression
> src/token.h:227: error: 'GTE' cannot appear in a constant-expression
> src/token.h: In function 'v8::Value
> v8::internal::InvertCompareOp(v8::Value)':
> src/token.h:235: error: switch quantity not an integer
> src/token.h:236: error: 'EQ' was not declared in this scope
> src/token.h:236: error: 'NE' was not declared in this scope
> src/token.h:237: error: 'NE' cannot appear in a constant-expression
> src/token.h:238: error: 'EQ_STRICT' was not declared in this scope
> src/token.h:238: error: 'NE_STRICT' was not declared in this scope
> src/token.h:239: error: 'LT' was not declared in this scope
> src/token.h:239: error: 'GT' was not declared in this scope
> src/token.h:240: error: 'GT' cannot appear in a constant-expression
> src/token.h:241: error: 'LTE' was not declared in this scope
> src/token.h:241: error: 'GTE' was not declared in this scope
> src/token.h:242: error: 'GTE' cannot appear in a constant-expression
> src/token.h: In function 'bool v8::internal::IsBitOp(v8::Value)':
> src/token.h:249: error: 'BIT_OR' was not declared in this scope
> src/token.h:249: error: 'SHR' was not declared in this scope
> src/token.h:249: error: 'BIT_NOT' was not declared in this scope
> src/token.h: In function 'bool v8::internal::IsUnaryOp(v8::Value)':
> src/token.h:253: error: 'NOT' was not declared in this scope
> src/token.h:253: error: 'VOID' was not declared in this scope
> src/token.h:253: error: 'ADD' was not declared in this scope
> src/token.h:253: error: 'SUB' was not declared in this scope
> src/token.h: In function 'bool v8::internal::IsCountOp(v8::Value)':
> src/token.h:257: error: 'INC' was not declared in this scope
> src/token.h:257: error: 'DEC' was not declared in this scope
> src/token.h: In function 'bool v8::internal::IsShiftOp(v8::Value)':
> src/token.h:261: error: 'SHL' was not declared in this scope
> src/token.h:261: error: 'SHR' was not declared in this scope
> src/token.h: In function 'const char* v8::internal::String(v8::Value)':
> src/token.h:269: error: 'string_' was not declared in this scope
> src/token.h: In function 'int v8::internal::Precedence(v8::Value)':
> src/token.h:276: error: 'precedence_' was not declared in this scope
> src/token.h: At global scope:
> src/token.h:279: error: expected unqualified-id before 'private'
> src/token.h:281: error: 'NUM_TOKENS' was not declared in this scope
> src/token.h:282: error: 'NUM_TOKENS' was not declared in this scope
> src/token.h:283: error: 'NUM_TOKENS' was not declared in this scope
> src/token.h:284: warning: extra ';'
> src/token.h:286: error: expected declaration before '}' token
>
> I'm also attaching the full build log.
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to