Skip to content

Instantly share code, notes, and snippets.

@TooTallNate
Created March 3, 2012 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TooTallNate/575c1a006eee25cf5510 to your computer and use it in GitHub Desktop.
Save TooTallNate/575c1a006eee25cf5510 to your computer and use it in GitHub Desktop.
Administrator@NATHAN-90D06B0E /c/node-ffi (master)
$ rm -rf build/
Administrator@NATHAN-90D06B0E /c/node-ffi (master)
$ node-gyp -v configure
info it worked if it ends with ok
verb command 'configure' []
verb no --target version specified, falling back to host node version '0.6'
verb command 'install' [ '0.6' ]
verb installing version '0.6'
verb installing legacy version? true
verb --ensure was passed, so won't reinstall if already installed
verb version is already installed, need to check "installVersion"
verb got "installVersion": 2
verb needs "installVersion": 2
verb version is good
verb target arch not specified, using the current host architecture 'ia32'
spawn python [ 'c:\\Documents and Settings\\Administrator\\.node-gyp\\0.6\\tools\\gyp_addon',
'-Dtarget_arch=ia32' ]
info done ok
Administrator@NATHAN-90D06B0E /c/node-ffi (master)
$ ls build/
bindings.sln deps ffi_bindings.vcxproj ffi_bindings.vcxproj.filters
Administrator@NATHAN-90D06B0E /c/node-ffi (master)
$ node-gyp -v build
info it worked if it ends with ok
verb command 'build' []
verb build args []
verb found first Solution file 'build/bindings.sln'
verb could not find "msbuild.exe". guessing location
spawn C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe [ 'build/bindings.sln', '/nologo', '/p:Configuration=Rel
ease' ]
Build started 3/3/2012 12:31:03 PM.
Project "c:\node-ffi\build\bindings.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Release|Win32".
Project "c:\node-ffi\build\bindings.sln" (1) is building "c:\node-ffi\build\deps\dlfcn-win32\dlfcn.vcxproj" (2) on node
1 (default targets).
PrepareForBuild:
Creating directory "Release\obj\dlfcn\".
Creating directory "c:\node-ffi\build\Release\".
InitializeBuildStatus:
Creating "Release\obj\dlfcn\dlfcn.unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I"..\..\..\..\Documents and Settings\Administrator\.n
ode-gyp\0.6\src" /I"..\..\..\..\Documents and Settings\Administrator\.node-gyp\0.6\deps\uv\include" /I"..\..\..\..\Do
cuments and Settings\Administrator\.node-gyp\0.6\deps\v8\include" /I"..\..\..\deps\dlfcn-win32" /Zi /nologo /W3 /WX-
/Ox /Ob2 /Oi /Ot /Oy /GL /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D BUILDING_V8_SHARED=1 /D
BUILDING_UV_SHARED=1 /D NDEBUG /GF /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /GR- /Fo"Release\obj\dlfcn\
\" /Fd"Release\obj\dlfcn\vc100.pdb" /Gd /TC /analyze- /errorReport:queue "..\..\..\deps\dlfcn-win32\dlfcn.c" /MP
dlfcn.c
MakeDirsForLib:
Creating directory "c:\node-ffi\build\Release\lib".
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(c:\node-ffi
\build\Release\dlfcn.lib) does not match the Library's OutputFile property value (c:\node-ffi\build\Release\lib\dlfcn.n
ode). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName)
and $(TargetExt) property values match the value specified in %(Lib.OutputFile). [c:\node-ffi\build\deps\dlfcn-win32\d
lfcn.vcxproj]
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1152,5): warning MSB8012: TargetExt(.lib) does n
ot match the Library's OutputFile property value (.node). This may cause your project to build incorrectly. To correct
this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Li
b.OutputFile). [c:\node-ffi\build\deps\dlfcn-win32\dlfcn.vcxproj]
Lib:
C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\Lib.exe /OUT:"c:\node-ffi\build\Release\lib\dlfcn.node" /NOLOGO
Release\obj\dlfcn\dlfcn.obj /LTCG
dlfcn.vcxproj -> c:\node-ffi\build\Release\dlfcn.lib
FinalizeBuildStatus:
Deleting file "Release\obj\dlfcn\dlfcn.unsuccessfulbuild".
Touching "Release\obj\dlfcn\dlfcn.lastbuildstate".
Done Building Project "c:\node-ffi\build\deps\dlfcn-win32\dlfcn.vcxproj" (default targets).
Project "c:\node-ffi\build\bindings.sln" (1) is building "c:\node-ffi\build\deps\pthreads-win32\pthread.vcxproj" (3) on
node 1 (default targets).
PrepareForBuild:
Creating directory "Release\obj\pthread\".
InitializeBuildStatus:
Creating "Release\obj\pthread\pthread.unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I"..\..\..\..\Documents and Settings\Administrator\.n
ode-gyp\0.6\src" /I"..\..\..\..\Documents and Settings\Administrator\.node-gyp\0.6\deps\uv\include" /I"..\..\..\..\Do
cuments and Settings\Administrator\.node-gyp\0.6\deps\v8\include" /I"..\..\..\deps\pthreads-win32" /Zi /nologo /W3 /W
X- /Ox /Ob2 /Oi /Ot /Oy /GL /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D BUILDING_V8_SHARED=1
/D BUILDING_UV_SHARED=1 /D HAVE_PTW32_CONFIG_H /D PTW32_STATIC_LIB /D NDEBUG /GF /Gm- /MT /GS /Gy /fp:precise /Zc:wc
har_t /Zc:forScope /GR- /Fo"Release\obj\pthread\\" /Fd"Release\obj\pthread\vc100.pdb" /Gd /TC /analyze- /errorReport:
queue "..\..\..\deps\pthreads-win32\pthread.c" /MP
pthread.c
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(c:\node-ffi
\build\Release\pthread.lib) does not match the Library's OutputFile property value (c:\node-ffi\build\Release\lib\pthre
ad.node). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetN
ame) and $(TargetExt) property values match the value specified in %(Lib.OutputFile). [c:\node-ffi\build\deps\pthreads-
win32\pthread.vcxproj]
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1152,5): warning MSB8012: TargetExt(.lib) does n
ot match the Library's OutputFile property value (.node). This may cause your project to build incorrectly. To correct
this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Li
b.OutputFile). [c:\node-ffi\build\deps\pthreads-win32\pthread.vcxproj]
Lib:
C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\Lib.exe /OUT:"c:\node-ffi\build\Release\lib\pthread.node" /NOLOG
O Release\obj\pthread\pthread.obj /LTCG
pthread.vcxproj -> c:\node-ffi\build\Release\pthread.lib
FinalizeBuildStatus:
Deleting file "Release\obj\pthread\pthread.unsuccessfulbuild".
Touching "Release\obj\pthread\pthread.lastbuildstate".
Done Building Project "c:\node-ffi\build\deps\pthreads-win32\pthread.vcxproj" (default targets).
Project "c:\node-ffi\build\bindings.sln" (1) is building "c:\node-ffi\build\ffi_bindings.vcxproj.metaproj" (4) on node
1 (default targets).
Project "c:\node-ffi\build\ffi_bindings.vcxproj.metaproj" (4) is building "c:\node-ffi\build\ffi_bindings.vcxproj" (5)
on node 1 (default targets).
PrepareForBuild:
Creating directory "Release\obj\ffi_bindings\".
InitializeBuildStatus:
Creating "Release\obj\ffi_bindings\ffi_bindings.unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I"..\..\Documents and Settings\Administrator\.node-gy
p\0.6\src" /I"..\..\Documents and Settings\Administrator\.node-gyp\0.6\deps\uv\include" /I"..\..\Documents and Settin
gs\Administrator\.node-gyp\0.6\deps\v8\include" /I..\deps\libffi\include /I"..\deps\dlfcn-win32" /I"..\deps\pthreads-
win32" /Zi /nologo /W3 /WX- /Ox /Ob2 /Oi /Ot /Oy /GL /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECAT
E /D BUILDING_V8_SHARED=1 /D BUILDING_UV_SHARED=1 /D PTW32_STATIC_LIB /D _WINDLL /GF /Gm- /MT /GS /Gy /fp:precise /Zc
:wchar_t /Zc:forScope /GR- /Fo"Release\obj\ffi_bindings\\" /Fd"Release\obj\ffi_bindings\vc100.pdb" /Gd /TP /analyze-
/errorReport:queue ..\src\pointer.cc ..\src\threaded_callback_invokation.cc ..\src\callback_info.cc ..\src\ffi.cc ..\
src\foreign_caller.cc /MP
pointer.cc
..\src\pointer.cc(188): warning C4244: 'initializing' : conversion from 'int64_t' to 'size_t', possible loss of data [c
:\node-ffi\build\ffi_bindings.vcxproj]
..\src\pointer.cc(519): warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data [c:\
node-ffi\build\ffi_bindings.vcxproj]
threaded_callback_invokation.cc
callback_info.cc
ffi.cc
foreign_caller.cc
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(c:\node-ffi\
build\Release\ffi_bindings.dll) does not match the Linker's OutputFile property value (c:\node-ffi\build\Release\ffi_bi
ndings.node). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(Tar
getName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). [c:\node-ffi\build\ffi_bindi
ngs.vcxproj]
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(991,5): warning MSB8012: TargetExt(.dll) does no
t match the Linker's OutputFile property value (.node). This may cause your project to build incorrectly. To correct th
is, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link
.OutputFile). [c:\node-ffi\build\ffi_bindings.vcxproj]
Link:
C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"c:\node-ffi\build\Release\ffi_
bindings.node" /INCREMENTAL:NO /NOLOGO "c:\Documents and Settings\Administrator\.node-gyp\0.6\Release\node.lib" ..\de
ps\libffi\.libs\libffi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32
.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"Release\obj\ffi_bindings\ffi_bindings.dll
.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"c:\node-ffi\build\Release\ffi_
bindings.pdb" /OPT:REF /OPT:ICF /LTCG /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /DLL Release\obj\ffi_bindings\poin
ter.obj
Release\obj\ffi_bindings\threaded_callback_invokation.obj
Release\obj\ffi_bindings\callback_info.obj
Release\obj\ffi_bindings\ffi.obj
Release\obj\ffi_bindings\foreign_caller.obj
"c:\node-ffi\build\Release\lib\dlfcn.node"
"c:\node-ffi\build\Release\lib\pthread.node"
MSVCRT.lib(MSVCR100.dll) : error LNK2005: _abort already defined in LIBCMT.lib(abort.obj) [c:\node-ffi\build\ffi_bindin
gs.vcxproj]
MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_i
nfo@@AAE@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj) [c:\node-ffi\build\ffi_bindings.vcxproj]
MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info co
nst &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj) [c:\node-ffi\build\ffi_bindings.vcxp
roj]
Creating library c:\node-ffi\build\Release\ffi_bindings.lib and object c:\node-ffi\build\Release\ffi_bindings.exp
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library [c:\node-ffi\bu
ild\ffi_bindings.vcxproj]
c:\node-ffi\build\Release\ffi_bindings.node : fatal error LNK1169: one or more multiply defined symbols found [c:\node-
ffi\build\ffi_bindings.vcxproj]
Done Building Project "c:\node-ffi\build\ffi_bindings.vcxproj" (default targets) -- FAILED.
Done Building Project "c:\node-ffi\build\ffi_bindings.vcxproj.metaproj" (default targets) -- FAILED.
Done Building Project "c:\node-ffi\build\bindings.sln" (default targets) -- FAILED.
Build FAILED.
"c:\node-ffi\build\bindings.sln" (default target) (1) ->
"c:\node-ffi\build\deps\dlfcn-win32\dlfcn.vcxproj" (default target) (2) ->
(DoLibOutputFilesMatch target) ->
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(c:\node-f
fi\build\Release\dlfcn.lib) does not match the Library's OutputFile property value (c:\node-ffi\build\Release\lib\dlfcn
.node). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetNam
e) and $(TargetExt) property values match the value specified in %(Lib.OutputFile). [c:\node-ffi\build\deps\dlfcn-win32
\dlfcn.vcxproj]
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1152,5): warning MSB8012: TargetExt(.lib) does
not match the Library's OutputFile property value (.node). This may cause your project to build incorrectly. To correc
t this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(
Lib.OutputFile). [c:\node-ffi\build\deps\dlfcn-win32\dlfcn.vcxproj]
"c:\node-ffi\build\bindings.sln" (default target) (1) ->
"c:\node-ffi\build\deps\pthreads-win32\pthread.vcxproj" (default target) (3) ->
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(c:\node-f
fi\build\Release\pthread.lib) does not match the Library's OutputFile property value (c:\node-ffi\build\Release\lib\pth
read.node). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(Targe
tName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile). [c:\node-ffi\build\deps\pthread
s-win32\pthread.vcxproj]
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1152,5): warning MSB8012: TargetExt(.lib) does
not match the Library's OutputFile property value (.node). This may cause your project to build incorrectly. To correc
t this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(
Lib.OutputFile). [c:\node-ffi\build\deps\pthreads-win32\pthread.vcxproj]
"c:\node-ffi\build\bindings.sln" (default target) (1) ->
"c:\node-ffi\build\ffi_bindings.vcxproj.metaproj" (default target) (4) ->
"c:\node-ffi\build\ffi_bindings.vcxproj" (default target) (5) ->
(ClCompile target) ->
..\src\pointer.cc(188): warning C4244: 'initializing' : conversion from 'int64_t' to 'size_t', possible loss of data
[c:\node-ffi\build\ffi_bindings.vcxproj]
..\src\pointer.cc(519): warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data [c
:\node-ffi\build\ffi_bindings.vcxproj]
"c:\node-ffi\build\bindings.sln" (default target) (1) ->
"c:\node-ffi\build\ffi_bindings.vcxproj.metaproj" (default target) (4) ->
"c:\node-ffi\build\ffi_bindings.vcxproj" (default target) (5) ->
(DoLinkOutputFilesMatch target) ->
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(c:\node-ff
i\build\Release\ffi_bindings.dll) does not match the Linker's OutputFile property value (c:\node-ffi\build\Release\ffi_
bindings.node). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(T
argetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). [c:\node-ffi\build\ffi_bin
dings.vcxproj]
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(991,5): warning MSB8012: TargetExt(.dll) does
not match the Linker's OutputFile property value (.node). This may cause your project to build incorrectly. To correct
this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Li
nk.OutputFile). [c:\node-ffi\build\ffi_bindings.vcxproj]
"c:\node-ffi\build\bindings.sln" (default target) (1) ->
"c:\node-ffi\build\ffi_bindings.vcxproj.metaproj" (default target) (4) ->
"c:\node-ffi\build\ffi_bindings.vcxproj" (default target) (5) ->
(Link target) ->
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library [c:\node-ffi\
build\ffi_bindings.vcxproj]
"c:\node-ffi\build\bindings.sln" (default target) (1) ->
"c:\node-ffi\build\ffi_bindings.vcxproj.metaproj" (default target) (4) ->
"c:\node-ffi\build\ffi_bindings.vcxproj" (default target) (5) ->
(Link target) ->
MSVCRT.lib(MSVCR100.dll) : error LNK2005: _abort already defined in LIBCMT.lib(abort.obj) [c:\node-ffi\build\ffi_bind
ings.vcxproj]
MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type
_info@@AAE@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj) [c:\node-ffi\build\ffi_bindings.vcxproj]
MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info
const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj) [c:\node-ffi\build\ffi_bindings.vc
xproj]
c:\node-ffi\build\Release\ffi_bindings.node : fatal error LNK1169: one or more multiply defined symbols found [c:\nod
e-ffi\build\ffi_bindings.vcxproj]
9 Warning(s)
4 Error(s)
Time Elapsed 00:00:05.67
ERR! Error: `C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
at Array.0 (c:\Documents and Settings\Administrator\Application Data\npm\node_modules\node-gyp\lib\build.js:139:25)
at EventEmitter._tickCallback (node.js:192:40)
ERR! not ok
Administrator@NATHAN-90D06B0E /c/node-ffi (master)
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment