You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Francis ANDRE <fr...@easynet.fr> on 2008/03/18 16:20:18 UTC
[build][WXP]: Unresoved external symbol on svn 638306
Hi Harmonists
Got an link error: unresolved external symbol on WXP:
vmi:
-plugin-cpptasks:
[echo] Checking for
D:\DEV\Harmony\common_resources\depends/jars/cpptasks-1.0b4/cpptasks.jar
setup-native-build:
init-compression-mode:
-common-vm:
build:
[echo] ## Building 'vmi'
[cc] Starting dependency analysis for 2 files.
[cc] 0 files are up to date.
[cc] 2 files to be recompiled from dependency analysis.
[cc] 2 total files to be compiled.
[cc] j9vmls.cpp
[cc] vmi.cpp
[cc] Génération de code en cours...
[cc] Starting link
[cc] CrÚation de la bibliothÞque vmi.lib et de l'objet vmi.exp
[cc] vmi.obj : error LNK2019: symbole externe non rÚsolu
_hyport_init_library rÚfÚrencÚ dans
la fonction _GetPortLibrary@4
[cc] vmi.obj : error LNK2019: symbole externe non rÚsolu
_zipCachePool_new rÚfÚrencÚ dans la
fonction _GetZipCachePool@4
[cc] vmi.dll : fatal error LNK1120: 2 externes non rÚsolus
BUILD FAILED
D:\DEV\Harmony\working_vm\build.xml:157: The following error occurred
while executing this line:
D:\DEV\Harmony\working_vm\make\vm\vmi.xml:26: The following error
occurred while executing this line
:
D:\DEV\Harmony\working_vm\make\build-native.xml:196: link failed with
return code 1120
Total time: 8 minutes 10 seconds
D:\DEV\Harmony\working_vm>
Here is the result of ant echo:
echo:
[echo]
[echo] Harmony release configuration property:
[echo]
[echo] hy.cfg = debug
[echo]
[echo] Harmony javac properties:
[echo]
[echo] hy.javac.compiler = org.eclipse.jdt.core.JDTCompilerAdapter
[echo] hy.javac.target = 1.5
[echo] hy.javac.source = 1.5
[echo] hy.javac.debug = on
[echo] hy.javac.maxmem = 384M
[echo] build.compilerarg = -nowarn -g
[echo]
[echo] Harmony test properties:
[echo]
[echo] hy.test.forkmode = once
[echo] hy.test.timeout = 900000
[echo] hy.test.vm.name = drl
[echo] hy.test.vmargs =
[echo]
[echo] Harmony platform properties:
[echo]
[echo] hy.os = windows
[echo] hy.os.family = windows
[echo] hy.arch = x86
[echo] hy.bits = 32
[echo] hy.platform = windows.x86
[echo] hy.platform.path = windows/x86
[echo]
[echo] is.windows = true
[echo] is.unix = ${is.unix}
[echo] is.linux = ${is.linux}
[echo] is.freebsd = ${is.freebsd}
[echo] is.macosx = ${is.macosx}
[echo] is.aix = ${is.aix}
[echo] is.zos = ${is.zos}
[echo] is.32bit = true
[echo] is.64bit = ${is.64bit}
[echo] is.x86 = true
[echo] is.x86_64 = ${is.x86_64}
[echo] is.ia64 = ${is.ia64}
[echo] is.ppc32 = ${is.ppc32}
[echo] is.ppc64 = ${is.ppc64}
[echo] is.s390 = ${is.s390}
[echo] is.s390x = ${is.s390x}
[echo]
[echo] exe.suffix = .exe
[echo] shlib.prefix =
[echo] shlib.suffix = .dll
[echo] make.command = nmake.exe
[echo]
[echo] hy.hdk = D:\DEV\Harmony\working_classlib/deploy
[echo]
[echo]
[echo] The following property is only set if the "svn-prop"
target has been
[echo] called:
[echo]
[echo] svn.revision = 638306
[echo]
[echo]
[echo] The following property is only set if the "svn-info"
target has been
[echo] called:
[echo]
[echo] svn.info = http://svn.apache.org/repos/asf 638306
[echo]
[echo] Ant native properties, for information, but please use Harmony
[echo] properties in preference to these:
[echo]
[echo] os.name = Windows XP
[echo] os.arch = x86
[echo]
[echo]
Re: [build][WXP]: Unresoved external symbol on svn 638306
Posted by Francis ANDRE <fr...@easynet.fr>.
No Tim. The problem was the building of vm before classlib and jdktools.
Sorry for the inconvenience and the time you spent for this request.
Francis
Tim Ellison a écrit :
> Do you still have this problem Francis?
>
> I just rebuilt using r638754 on WinXP 32-bit and it worked for me. If
> it still fails I'll look a bit closer.
>
> Regards,
> Tim
>
>
> Francis ANDRE wrote:
>> Hi Harmonists
>>
>> Got an link error: unresolved external symbol on WXP:
>>
>> vmi:
>>
>> -plugin-cpptasks:
>> [echo] Checking for
>> D:\DEV\Harmony\common_resources\depends/jars/cpptasks-1.0b4/cpptasks.jar
>>
>> setup-native-build:
>>
>> init-compression-mode:
>>
>> -common-vm:
>>
>> build:
>> [echo] ## Building 'vmi'
>> [cc] Starting dependency analysis for 2 files.
>> [cc] 0 files are up to date.
>> [cc] 2 files to be recompiled from dependency analysis.
>> [cc] 2 total files to be compiled.
>> [cc] j9vmls.cpp
>> [cc] vmi.cpp
>> [cc] Génération de code en cours...
>> [cc] Starting link
>> [cc] CrÚation de la bibliothÞque vmi.lib et de l'objet vmi.exp
>> [cc] vmi.obj : error LNK2019: symbole externe non rÚsolu
>> _hyport_init_library rÚfÚrencÚ dans
>> la fonction _GetPortLibrary@4
>> [cc] vmi.obj : error LNK2019: symbole externe non rÚsolu
>> _zipCachePool_new rÚfÚrencÚ dans la
>> fonction _GetZipCachePool@4
>> [cc] vmi.dll : fatal error LNK1120: 2 externes non rÚsolus
>>
>> BUILD FAILED
>> D:\DEV\Harmony\working_vm\build.xml:157: The following error occurred
>> while executing this line:
>> D:\DEV\Harmony\working_vm\make\vm\vmi.xml:26: The following error
>> occurred while executing this line
>> :
>> D:\DEV\Harmony\working_vm\make\build-native.xml:196: link failed with
>> return code 1120
>>
>> Total time: 8 minutes 10 seconds
>> D:\DEV\Harmony\working_vm>
>>
>>
>> Here is the result of ant echo:
>> echo:
>> [echo]
>> [echo] Harmony release configuration property:
>> [echo]
>> [echo] hy.cfg = debug
>> [echo]
>> [echo] Harmony javac properties:
>> [echo]
>> [echo] hy.javac.compiler = org.eclipse.jdt.core.JDTCompilerAdapter
>> [echo] hy.javac.target = 1.5
>> [echo] hy.javac.source = 1.5
>> [echo] hy.javac.debug = on
>> [echo] hy.javac.maxmem = 384M
>> [echo] build.compilerarg = -nowarn -g
>> [echo]
>> [echo] Harmony test properties:
>> [echo]
>> [echo] hy.test.forkmode = once
>> [echo] hy.test.timeout = 900000
>> [echo] hy.test.vm.name = drl
>> [echo] hy.test.vmargs =
>> [echo]
>> [echo] Harmony platform properties:
>> [echo]
>> [echo] hy.os = windows
>> [echo] hy.os.family = windows
>> [echo] hy.arch = x86
>> [echo] hy.bits = 32
>> [echo] hy.platform = windows.x86
>> [echo] hy.platform.path = windows/x86
>> [echo]
>> [echo] is.windows = true
>> [echo] is.unix = ${is.unix}
>> [echo] is.linux = ${is.linux}
>> [echo] is.freebsd = ${is.freebsd}
>> [echo] is.macosx = ${is.macosx}
>> [echo] is.aix = ${is.aix}
>> [echo] is.zos = ${is.zos}
>> [echo] is.32bit = true
>> [echo] is.64bit = ${is.64bit}
>> [echo] is.x86 = true
>> [echo] is.x86_64 = ${is.x86_64}
>> [echo] is.ia64 = ${is.ia64}
>> [echo] is.ppc32 = ${is.ppc32}
>> [echo] is.ppc64 = ${is.ppc64}
>> [echo] is.s390 = ${is.s390}
>> [echo] is.s390x = ${is.s390x}
>> [echo]
>> [echo] exe.suffix = .exe
>> [echo] shlib.prefix =
>> [echo] shlib.suffix = .dll
>> [echo] make.command = nmake.exe
>> [echo]
>> [echo] hy.hdk = D:\DEV\Harmony\working_classlib/deploy
>> [echo]
>> [echo]
>> [echo] The following property is only set if the "svn-prop"
>> target has been
>> [echo] called:
>> [echo]
>> [echo] svn.revision = 638306
>> [echo]
>> [echo]
>> [echo] The following property is only set if the "svn-info"
>> target has been
>> [echo] called:
>> [echo]
>> [echo] svn.info = http://svn.apache.org/repos/asf 638306
>> [echo]
>> [echo] Ant native properties, for information, but please use
>> Harmony
>> [echo] properties in preference to these:
>> [echo]
>> [echo] os.name = Windows XP
>> [echo] os.arch = x86
>> [echo]
>> [echo]
>>
>>
>>
>
>
Re: [build][WXP]: Unresoved external symbol on svn 638306
Posted by Tim Ellison <t....@gmail.com>.
Do you still have this problem Francis?
I just rebuilt using r638754 on WinXP 32-bit and it worked for me. If
it still fails I'll look a bit closer.
Regards,
Tim
Francis ANDRE wrote:
> Hi Harmonists
>
> Got an link error: unresolved external symbol on WXP:
>
> vmi:
>
> -plugin-cpptasks:
> [echo] Checking for
> D:\DEV\Harmony\common_resources\depends/jars/cpptasks-1.0b4/cpptasks.jar
>
> setup-native-build:
>
> init-compression-mode:
>
> -common-vm:
>
> build:
> [echo] ## Building 'vmi'
> [cc] Starting dependency analysis for 2 files.
> [cc] 0 files are up to date.
> [cc] 2 files to be recompiled from dependency analysis.
> [cc] 2 total files to be compiled.
> [cc] j9vmls.cpp
> [cc] vmi.cpp
> [cc] Génération de code en cours...
> [cc] Starting link
> [cc] CrÚation de la bibliothÞque vmi.lib et de l'objet vmi.exp
> [cc] vmi.obj : error LNK2019: symbole externe non rÚsolu
> _hyport_init_library rÚfÚrencÚ dans
> la fonction _GetPortLibrary@4
> [cc] vmi.obj : error LNK2019: symbole externe non rÚsolu
> _zipCachePool_new rÚfÚrencÚ dans la
> fonction _GetZipCachePool@4
> [cc] vmi.dll : fatal error LNK1120: 2 externes non rÚsolus
>
> BUILD FAILED
> D:\DEV\Harmony\working_vm\build.xml:157: The following error occurred
> while executing this line:
> D:\DEV\Harmony\working_vm\make\vm\vmi.xml:26: The following error
> occurred while executing this line
> :
> D:\DEV\Harmony\working_vm\make\build-native.xml:196: link failed with
> return code 1120
>
> Total time: 8 minutes 10 seconds
> D:\DEV\Harmony\working_vm>
>
>
> Here is the result of ant echo:
> echo:
> [echo]
> [echo] Harmony release configuration property:
> [echo]
> [echo] hy.cfg = debug
> [echo]
> [echo] Harmony javac properties:
> [echo]
> [echo] hy.javac.compiler = org.eclipse.jdt.core.JDTCompilerAdapter
> [echo] hy.javac.target = 1.5
> [echo] hy.javac.source = 1.5
> [echo] hy.javac.debug = on
> [echo] hy.javac.maxmem = 384M
> [echo] build.compilerarg = -nowarn -g
> [echo]
> [echo] Harmony test properties:
> [echo]
> [echo] hy.test.forkmode = once
> [echo] hy.test.timeout = 900000
> [echo] hy.test.vm.name = drl
> [echo] hy.test.vmargs =
> [echo]
> [echo] Harmony platform properties:
> [echo]
> [echo] hy.os = windows
> [echo] hy.os.family = windows
> [echo] hy.arch = x86
> [echo] hy.bits = 32
> [echo] hy.platform = windows.x86
> [echo] hy.platform.path = windows/x86
> [echo]
> [echo] is.windows = true
> [echo] is.unix = ${is.unix}
> [echo] is.linux = ${is.linux}
> [echo] is.freebsd = ${is.freebsd}
> [echo] is.macosx = ${is.macosx}
> [echo] is.aix = ${is.aix}
> [echo] is.zos = ${is.zos}
> [echo] is.32bit = true
> [echo] is.64bit = ${is.64bit}
> [echo] is.x86 = true
> [echo] is.x86_64 = ${is.x86_64}
> [echo] is.ia64 = ${is.ia64}
> [echo] is.ppc32 = ${is.ppc32}
> [echo] is.ppc64 = ${is.ppc64}
> [echo] is.s390 = ${is.s390}
> [echo] is.s390x = ${is.s390x}
> [echo]
> [echo] exe.suffix = .exe
> [echo] shlib.prefix =
> [echo] shlib.suffix = .dll
> [echo] make.command = nmake.exe
> [echo]
> [echo] hy.hdk = D:\DEV\Harmony\working_classlib/deploy
> [echo]
> [echo]
> [echo] The following property is only set if the "svn-prop" target
> has been
> [echo] called:
> [echo]
> [echo] svn.revision = 638306
> [echo]
> [echo]
> [echo] The following property is only set if the "svn-info" target
> has been
> [echo] called:
> [echo]
> [echo] svn.info = http://svn.apache.org/repos/asf 638306
> [echo]
> [echo] Ant native properties, for information, but please use Harmony
> [echo] properties in preference to these:
> [echo]
> [echo] os.name = Windows XP
> [echo] os.arch = x86
> [echo]
> [echo]
>
>
>