I have just checked out the latest revision of V8 from SVN and tried to
build a DLL using MinGW but encountered a couple of problems.

The first problem was that the type "intptr_t" which is used in various
places in the source was not being recognised.  I fixed this by simply
including <inttypes.h> in v8.h but maybe this points to some other issue?

Anyway, everything then compiles successfully and I am able to build a
static library but when I try to build the DLL I get dozens of errors like
these:

*obj\release\allocation.o:allocation.cc:(.text$strtod+0x0): multiple
definition of `_strtod'
obj\release\accessors.o:accessors.cc:(.text$strtod+0x0): first defined here
obj\release\api.o:api.cc:(.text$strtod+0x0): multiple definition of
`_strtod'
obj\release\accessors.o:accessors.cc:(.text$strtod+0x0): first defined here
obj\release\assembler.o:assembler.cc:(.text$strtod+0x0): multiple definition
of `_strtod'
obj\release\accessors.o:accessors.cc:(.text$strtod+0x0): first defined here
obj\release\ast.o:ast.cc:(.text$strtod+0x0): multiple definition of
`_strtod'
obj\release\accessors.o:accessors.cc:(.text$strtod+0x0): first defined here
obj\release\bootstrapper.o:bootstrapper.cc:(.text$strtod+0x0): multiple
definition of `_strtod'
obj\release\accessors.o:accessors.cc:(.text$strtod+0x0): first defined here
obj\release\builtins.o:builtins.cc:(.text$strtod+0x0): multiple definition
of `_strtod'
obj\release\accessors.o:accessors.cc:(.text$strtod+0x0): first defined here
obj\release\checks.o:checks.cc:(.text$strtod+0x0): multiple definition of
`_strtod'
obj\release\accessors.o:accessors.cc:(.text$strtod+0x0): first defined here
*
Can anyone tell me what these errors mean and how to get rid of them?

Thanks,

-Qu0ll

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

Reply via email to