I'm trying to build the SCA's REST extension, but I'm getting a strange
error in every attempt to link...it shows:
[exec] mt.exe : command line error c1010007: Unexpected/Unknown option
"Release\cpp\sca\runtime\core\src\.libs/tuscany_sca.dll;2". Use the /?
option for help on usage and samples.
Bellow the complete ant output:
E:\Adriano\Faculdade\Tuscany\Native Release\cpp\sca>ant
Buildfile: build.xml
all:
build.core:
build:
compile:
compile.core:
[cc] Starting dependency analysis for 5 files.
[cc] 5 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
compile.extension:
[cc] Starting dependency analysis for 4 files.
[cc] 4 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
compile.model:
[cc] Starting dependency analysis for 21 files.
[cc] 21 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
compile.util:
[cc] Starting dependency analysis for 12 files.
[cc] 12 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
link:
[cc] 0 total files to be compiled.
[exec] Microsoft (R) Manifest Tool version 5.2.3790.2014
[exec] Copyright (c) Microsoft Corporation 2005.
[exec] All rights reserved.
[exec]
[exec] mt.exe : command line error c1010007: Unexpected/Unknown option
"Release\cpp\sca\runtime\core\src\.libs/tuscany_sca.dll;2". Use the /?
option for help on usage and samples.
install.core:
install:
install.core:
[copy] Copying 5 files to E:\Adriano\Faculdade\Tuscany\Native
Release\cpp\sca\deploy\include\tuscany\sca\core
install.extension:
[copy] Copying 4 files to E:\Adriano\Faculdade\Tuscany\Native
Release\cpp\sca\deploy\include\tuscany\sca\extension
install.model:
[copy] Copying 21 files to E:\Adriano\Faculdade\Tuscany\Native
Release\cpp\sca\deploy\include\tuscany\sca\model
install.util:
[copy] Copying 13 files to E:\Adriano\Faculdade\Tuscany\Native
Release\cpp\sca\deploy\include\tuscany\sca\util
install.xsd:
[copy] Copying 12 files to E:\Adriano\Faculdade\Tuscany\Native
Release\cpp\sca\deploy\xsd
[copy] Copying 1 file to E:\Adriano\Faculdade\Tuscany\Native
Release\cpp\sca\deploy\include\tuscany\sca
[copy] Copying 1 file to E:\Adriano\Faculdade\Tuscany\Native
Release\cpp\sca\deploy\lib
[copy] Copying 1 file to E:\Adriano\Faculdade\Tuscany\Native
Release\cpp\sca\deploy\bin
build.extensions:
build:
build.extension.cpp:
build:
compile:
compile.cpp.osoa:
[cc] Starting dependency analysis for 2 files.
[cc] 2 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
compile.cpp.core:
[cc] Starting dependency analysis for 8 files.
[cc] 8 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
compile.cpp.model:
[cc] Starting dependency analysis for 4 files.
[cc] 4 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
init:
scagen.jar:
link:
[cc] 0 total files to be compiled.
[cc] Starting link
[cc] Creating library tuscany_sca_cpp.lib and object
tuscany_sca_cpp.exp
[exec] Microsoft (R) Manifest Tool version 5.2.3790.2014
[exec] Copyright (c) Microsoft Corporation 2005.
[exec] All rights reserved.
[exec]
[exec] mt.exe : command line error c1010007: Unexpected/Unknown option
"Release\cpp\sca\runtime\extensions\cpp\src\.libs/tuscany_sca_cpp.dll;2".
Use the /? option for help on usage and samples.
build.extension.php:
build:
compile:
check.php:
[echo] TuscanySCA php extension is not enabled
compile.php.core:
check.php:
[echo] TuscanySCA php extension is not enabled
compile.php.model:
check.php:
[echo] TuscanySCA php extension is not enabled
link:
build.extension.python:
build:
compile:
check.python:
[echo] TuscanySCA python extension is not enabled
compile.python.core:
check.python:
[echo] TuscanySCA python extension is not enabled
compile.python.model:
check.python:
[echo] TuscanySCA python extension is not enabled
link:
build.extension.rest:
build:
compile:
check.rest:
compile.rest.interface.core:
[cc] Starting dependency analysis for 1 files.
[cc] 1 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
check.rest:
compile.rest.interface.model:
[cc] Starting dependency analysis for 1 files.
[cc] 1 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
check.rest:
compile.rest.reference.core:
[echo] rest.curl.include.dir =
E:\Adriano\Faculdade\Tuscany\cpp\libcurl-7.15.5-win32-msvc\include
[cc] Starting dependency analysis for 2 files.
[cc] 2 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
check.rest:
compile.rest.reference.model:
[cc] Starting dependency analysis for 1 files.
[cc] 1 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
check.rest:
compile.rest.service.core:
[cc] Starting dependency analysis for 3 files.
[cc] 3 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
check.rest:
compile.rest.service.model:
[cc] Starting dependency analysis for 1 files.
[cc] 1 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
link:
check.rest:
link.rest.interface:
[cc] 0 total files to be compiled.
[cc] Starting link
[cc] Creating library tuscany_sca_rest_interface.lib and object
tuscany_sca_rest_interface.exp
[exec] Microsoft (R) Manifest Tool version 5.2.3790.2014
[exec] Copyright (c) Microsoft Corporation 2005.
[exec] All rights reserved.
[exec]
[exec] mt.exe : command line error c1010007: Unexpected/Unknown option
"Release\cpp\sca\runtime\extensions\rest\interface\src\.libs/tuscany_sca_rest_interface.dll;2".
Use the /? option for help on usage and samples.
check.rest:
link.rest.reference:
[cc] 0 total files to be compiled.
[cc] Starting link
[cc] Creating library tuscany_sca_rest_reference.lib and object
tuscany_sca_rest_reference.exp
[cc] RESTServiceWrapper.obj : error LNK2019: unresolved external
symbol __imp__curl_global_init referenced in function
[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z$0
[cc] RESTServiceWrapper.obj : error LNK2019: unresolved external
symbol __imp__curl_easy_cleanup referenced in function "public: virtual void
__thiscall tuscany::sca::rest::RESTServiceWrapper::invoke(class
tuscany::sca::Operation &)" ([EMAIL PROTECTED]@[EMAIL PROTECTED]@tuscany@@
[EMAIL PROTECTED]@@Z)
[cc] RESTServiceWrapper.obj : error LNK2019: unresolved external
symbol __imp__curl_formfree referenced in function "public: virtual void
__thiscall tuscany::sca::rest::RESTServiceWrapper::invoke(class
tuscany::sca::Operation &)" ([EMAIL PROTECTED]@[EMAIL PROTECTED]@tuscany@@
[EMAIL PROTECTED]@@Z)
[cc] RESTServiceWrapper.obj : error LNK2019: unresolved external
symbol __imp__curl_formadd referenced in function "public: virtual void
__thiscall tuscany::sca::rest::RESTServiceWrapper::invoke(class
tuscany::sca::Operation &)" ([EMAIL PROTECTED]@[EMAIL PROTECTED]@tuscany@@
[EMAIL PROTECTED]@@Z)
[cc] RESTServiceWrapper.obj : error LNK2019: unresolved external
symbol __imp__curl_slist_free_all referenced in function "public: virtual
void __thiscall tuscany::sca::rest::RESTServiceWrapper::invoke(class
tuscany::sca::Operation &)" ([EMAIL PROTECTED]@[EMAIL PROTECTED]@tuscany@@
[EMAIL PROTECTED]@@Z)
[cc] RESTServiceWrapper.obj : error LNK2019: unresolved external
symbol __imp__curl_slist_append referenced in function "public: virtual void
__thiscall tuscany::sca::rest::RESTServiceWrapper::invoke(class
tuscany::sca::Operation &)" ([EMAIL PROTECTED]@[EMAIL PROTECTED]@tuscany@@
[EMAIL PROTECTED]@@Z)
[cc] RESTServiceWrapper.obj : error LNK2019: unresolved external
symbol __imp__curl_easy_getinfo referenced in function "public: virtual void
__thiscall tuscany::sca::rest::RESTServiceWrapper::invoke(class
tuscany::sca::Operation &)" ([EMAIL PROTECTED]@[EMAIL PROTECTED]@tuscany@@
[EMAIL PROTECTED]@@Z)
[cc] RESTServiceWrapper.obj : error LNK2019: unresolved external
symbol __imp__curl_easy_strerror referenced in function "public: virtual
void __thiscall tuscany::sca::rest::RESTServiceWrapper::invoke(class
tuscany::sca::Operation &)" ([EMAIL PROTECTED]@[EMAIL PROTECTED]@tuscany@@
[EMAIL PROTECTED]@@Z)
[cc] RESTServiceWrapper.obj : error LNK2019: unresolved external
symbol __imp__curl_easy_perform referenced in function "public: virtual void
__thiscall tuscany::sca::rest::RESTServiceWrapper::invoke(class
tuscany::sca::Operation &)" ([EMAIL PROTECTED]@[EMAIL PROTECTED]@tuscany@@
[EMAIL PROTECTED]@@Z)
[cc] RESTServiceWrapper.obj : error LNK2019: unresolved external
symbol __imp__curl_easy_setopt referenced in function "public: virtual void
__thiscall tuscany::sca::rest::RESTServiceWrapper::invoke(class
tuscany::sca::Operation &)" ([EMAIL PROTECTED]@[EMAIL PROTECTED]@tuscany@@
[EMAIL PROTECTED]@@Z)
[cc] RESTServiceWrapper.obj : error LNK2019: unresolved external
symbol __imp__curl_easy_init referenced in function "public: virtual void
__thiscall tuscany::sca::rest::RESTServiceWrapper::invoke(class
tuscany::sca::Operation &)" ([EMAIL PROTECTED]@[EMAIL PROTECTED]@tuscany@@
[EMAIL PROTECTED]@@Z)
[cc] tuscany_sca_rest_reference.dll : fatal error LNK1120: 11
unresolved externals
Total time: 3 seconds
E:\Adriano\Faculdade\Tuscany\Native Release\cpp\sca>ant > error.txt
[exec] Result: 31
[exec] Result: 31
[exec] Result: 31
BUILD FAILED
E:\Adriano\Faculdade\Tuscany\Native Release\cpp\sca\build.xml:45: The
following
error occurred while executing this line:
E:\Adriano\Faculdade\Tuscany\Native Release\cpp\sca\build.xml:90: The
following
error occurred while executing this line:
E:\Adriano\Faculdade\Tuscany\Native
Release\cpp\sca\runtime\extensions\build.xml
:49: The following error occurred while executing this line:
E:\Adriano\Faculdade\Tuscany\Native
Release\cpp\sca\runtime\extensions\build.xml
:96: The following error occurred while executing this line:
E:\Adriano\Faculdade\Tuscany\Native
Release\cpp\sca\runtime\extensions\rest\buil
d.xml:109: The following error occurred while executing this line:
E:\Adriano\Faculdade\Tuscany\Native
Release\cpp\sca\runtime\extensions\rest\buil
d.xml:123: The following error occurred while executing this line:
E:\Adriano\Faculdade\Tuscany\Native
Release\cpp\sca\runtime\extensions\rest\buil
d.xml:240: The following error occurred while executing this line:
E:\Adriano\Faculdade\Tuscany\Native Release\cpp\sca\antscripts\compile-
targets.x
ml:100: link failed with return code 1120
Thanks,
Adriano Crestani