develooper Front page | perl.perl5.porters | Postings from May 2012

[perl #6012] -libpath not supported by VisualC ?

Thread Next
From:
Brian Fraser via RT
Date:
May 26, 2012 15:50
Subject:
[perl #6012] -libpath not supported by VisualC ?
Message ID:
rt-3.6.HEAD-7788-1338072592-1636.6012-15-0@perl.org
On Mon Mar 12 01:10:46 2001, eckert@climber.org wrote:
> 
> >        cl -c -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I..
>    -DWIN32 -D_CONSOLE -DNO_STRICT  -DPERLDLL -DPERL_CORE   -Od -MD
>    -DNDEBUG -Fo.\mini\win32thread.obj win32thread.c
> >win32thread.c
> >        link -subsystem:console -out:..\miniperl.exe
>    @D:\TEMP\nma00232.
> >LINK : warning LNK4044: unrecognized option
>    "libpath:\software\perl\lib\CORE"; ignored
> >win32.obj : error LNK2001: unresolved external symbol
>    __imp____pioinfo
> >..\miniperl.exe : fatal error LNK1120: 1 unresolved externals
> >NMAKE : fatal error U1077: 'link' : return code '0x19'
> >Stop.
> 
> 
> I searched ActiveState's email list, and others have had the same
>    problem:
> http://mailarchive.activestate.com/mail/msg/perl-win32-users:491969
> 
> 
> Couldn't find any resolution to the problem, so I scanned my
>    transcript
> again and discovered a NON-fatal error, also '-linkpath' had occurred
> near the beginning. Looks lik that's NOT a supported option for Visual
>    C++ 4.
> 
> 
> >D:\temp\PERL-5.6.0\win32> nmake
> >
> >Microsoft (R) Program Maintenance Utility   Version 1.60.5270
> >Copyright (c) Microsoft Corp 1988-1995. All rights reserved.
> >
> >        del /f config.h
> >Could Not Find D:\temp\PERL-5~1.0\win32\config.h
> >        copy config_H.vc config.h
> >        1 file(s) copied.
> >        cl -c -I. -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I..
>    -DWIN32 -D_CONSOLE -DNO_STRICT  -DPERLDLL -DPERL_CORE   -Od -MD
>    -DNDEBUG  -DPERL_MSVCRT_READFIX -Foperlglob.obj perlglob.c
> >perlglob.c
> >        link -nologo -nodefaultlib -release
>    -libpath:"d:\software\perl\lib\CORE"  -machine:x86   oldnames.lib
>    kernel32.lib user32.lib gdi32.lib winspool.lib  comdlg32.lib
>    advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib
>    uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib
>    odbccp32.lib msvcrt.lib -out:..\perlglob.exe -subsystem:console
>    perlglob.obj setargv.obj
> >LINK : warning LNK4044: unrecognized option
>    "libpath:d:\software\perl\lib\CORE"; ignored
> >        if not exist ".\mini" mkdir ".\mini"
> >        cl -c -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I..
>    -DWIN32 -D_CONSOLE -DNO_STRICT  -DPERLDLL -DPERL_CORE   -Od -MD
>    -DNDEBUG -DPERL_EXTERNAL_GLOB -Fo.\mini\av.obj ..\av.c
> 
> 
> For reference, here are the tools I have installed:
> 
> link
> >Microsoft (R) 32-Bit Incremental Linker Version 3.00.5270
> >Copyright (C) Microsoft Corp 1992-1995. All rights reserved.
> 
> cl
> >Microsoft (R) 32-bit C/C++ Standard Compiler Version 10.00.6002 for
>    80x86
> >Copyright (C) Microsoft Corp 1984-1996. All rights reserved.
> 
> nmake
> >Microsoft (R) Program Maintenance Utility   Version 1.60.5270
> >Copyright (c) Microsoft Corp 1988-1995. All rights reserved.
> 

Windows porters: Is this still an issue in any of the Win32 compilers
that Perl supports, or can this ticket be closed?

--hugmeir


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=6012

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About