Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #37158] [BUG] building ParTcl on windows

0 views
Skip to first unread message

Jerry Gay

unread,
Sep 13, 2005, 9:45:56 AM9/13/05
to bugs-bi...@rt.perl.org
# New Ticket Created by jerry gay
# Please include the string: [perl #37158]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37158 >


the linker is failing to build ParTcl with MSVC, due to unresolved
external symbols. i'm swamped at the moment, and won't have a chance
to investigate further.

~jerry


### error ###
link -nologo -nodefaultlib -debug -dll -def:..\libparrot.def
-out:tcl_group.dll -def:tcl_group.def "lib-tcl_group.obj"
"tclobject.obj" "tclstring.obj" "tclint.obj" "tclfloat.obj"
"tcllist.obj" "tclarray.obj" oldnames.lib kernel32.lib user32.lib
gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib
version.lib odbc32.lib odbccp32.lib msvcrt.lib
"D:/usr/local/parrot-HEAD/branches/leo-ctx5/parrot.lib"
LINK : LNK6004: tcl_group.dll not found or not built by the last
incremental link; performing full link
tcl_group.def : error LNK2001: unresolved external symbol
Parrot_TclFloat_interpret
tcl_group.def : error LNK2001: unresolved external symbol
Parrot_TclInt_interpret
tcl_group.lib : fatal error LNK1120: 2 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
partial link tcl_group.dll failed (29952)
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

Jonathan Worthington

unread,
Sep 14, 2005, 1:20:05 PM9/14/05
to perl6-i...@perl.org, bugs-bi...@rt.perl.org
"jerry gay (via RT)" <parrotbug...@parrotcode.org> wrote:
>
> the linker is failing to build ParTcl with MSVC, due to unresolved
> external symbols. i'm swamped at the moment, and won't have a chance
> to investigate further.
>
I'm unable to re-produce this, but I haven't checked out the latest Parrot
for a while. I reckon that tcl_group.def contains stuff it shouldn't
because it doesn't get re-generated as needed - a makefile issue. I'll fix
that soon.

Thanks,

Jonathan

Will Coleda via RT

unread,
Sep 16, 2005, 10:13:24 AM9/16/05
to perl6-i...@perl.org
Please try again with the leo-ctx5 branch, I suspect this should be working again, at least for
now.

> [jonathan - Wed Sep 14 10:18:59 2005]:

Jerry Gay

unread,
Sep 16, 2005, 10:28:29 AM9/16/05
to parrotbug...@parrotcode.org
On 9/16/05, Will Coleda via RT <parrotbug...@parrotcode.org> wrote:
> Please try again with the leo-ctx5 branch, I suspect this should be working again, at least for
> now.
>
ParTcl builds fine now. there is, however, one failing test:

t\cmd_inline...........NOK 2# Failed test (t\cmd_inline.t at line 18)
# got: 'ok
# Can't spawn ".\parrot.exe --gc-debug languages/tcl/tcl.pbc
C:\Temp\cmd_inline_2.tcl": Bad file descriptor at
../../lib/Parrot/Test.pm line 238.
# '
# expected: 'ok
# '
# '.\parrot.exe --gc-debug languages/tcl/tcl.pbc
C:\Temp\cmd_inline_2.tcl' failed with exit code 255
t\cmd_inline...........ok 3/3# Looks like you failed 1 test of 3.
t\cmd_inline...........dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
Failed 1/3 tests, 66.67% okay

...but this seems to be an ongoing issue that pops up sporatically
with Parrot::Test on windows, and not a ParTcl specific error.

> > [jonathan - Wed Sep 14 10:18:59 2005]:
> >
> > "jerry gay (via RT)" <parrotbug...@parrotcode.org> wrote:
> > >
> > > the linker is failing to build ParTcl with MSVC, due to unresolved
> > > external symbols. i'm swamped at the moment, and won't have a chance
> > > to investigate further.
> > >
> > I'm unable to re-produce this, but I haven't checked out the latest Parrot
> > for a while. I reckon that tcl_group.def contains stuff it shouldn't
> > because it doesn't get re-generated as needed - a makefile issue. I'll fix
> > that soon.
> >
> > Thanks,
> >
> > Jonathan
> >

i have closed this ticket.
great work, will!

~jerry

0 new messages