develooper Front page | perl.perl5.porters | Postings from September 2003

(21216) cd perl-5.6.2\win32 && nmake .. cd ..\ext\Socket .. ends up looking for ld.exe (should be link.exe)???

Thread Previous
From:
DH
Date:
September 14, 2003 19:46
Subject:
(21216) cd perl-5.6.2\win32 && nmake .. cd ..\ext\Socket .. ends up looking for ld.exe (should be link.exe)???
Message ID:
20030915024632.99807.qmail@web40201.mail.yahoo.com
I got perl-5.6.2  .patch says 21216.
I cd to win32 (like normal), and issue nmake.
when it gets to building ..\ext\Socket it somehow
issues ld.exe instead of link.exe to build Socket.
I do have cygwin installed with ld (it's last in my path), but all the stuff before Socket
used `link' to link, not ld.  See for yourself:


E:\dev\mytests\perl-5.6.2\win32>nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        del /f config.h
Could Not Find E:\dev\mytests\perl-5.6.2\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   -O1 -
MD -DNDEBUG  -DPERL_MSVCRT_READFIX -Foperlglob.obj perlglob.c
perlglob.c
        link -nologo -nodefaultlib -release  -libpath:"c:\perl\5.6.1\lib\MSWin32-x86\CORE" 
-machine:x86   oldnames.lib kernel32.l
ib 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 setarg
v.obj
        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   -O1 -MD -
DNDEBUG -DPERL_EXTERNAL_GLOB -Fo.\mini\av.obj ..\av.c
av.c

****************************SNIP**********************
****************************SNIP**********************

        xcopy /f /r /i /d ..\ext\DynaLoader\DynaLoader.pm ..\lib\
Overwrite E:\dev\mytests\perl-5.6.2\lib\DynaLoader.pm (Yes/No/All)? a
E:\dev\mytests\perl-5.6.2\ext\DynaLoader\DynaLoader.pm ->
E:\dev\mytests\perl-5.6.2\lib\DynaLoader.pm
1 File(s) copied
        xcopy /f /r /i /d ..\ext\DynaLoader\XSLoader.pm ..\lib\
Overwrite E:\dev\mytests\perl-5.6.2\lib\XSLoader.pm (Yes/No/All)? a
E:\dev\mytests\perl-5.6.2\ext\DynaLoader\XSLoader.pm -> E:\dev\mytests\perl-5.6.2\lib\XSLoader.pm
1 File(s) copied
        cd ..\ext\DynaLoader
        ..\..\miniperl.exe -I..\..\lib ..\..\lib\ExtUtils\xsubpp  -C++ -prototypes dl_win32.xs >
DynaLoader.c
        cd ..\..\win32
        cl -c -I..\ext\DynaLoader -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32
-D_CONSOLE -DNO_STRICT  -DPERLDLL -DP
ERL_CORE   -O1 -MD -DNDEBUG  -DPERL_MSVCRT_READFIX -Fo..\ext\DynaLoader\DynaLoader.obj
..\ext\DynaLoader\DynaLoader.c
DynaLoader.c
        link -dll -def:perldll.def -base:0x28000000 -out:..\perl56.dll
@C:\DOCUME~1\_\LOCALS~1\Temp\nmb01188.
   Creating library ..\perl56.lib and object ..\perl56.exp
        xcopy /f /r /i /d ..\perl56.lib ..\lib\CORE
Overwrite E:\dev\mytests\perl-5.6.2\lib\CORE\perl56.lib (Yes/No/All)? a
E:\dev\mytests\perl-5.6.2\perl56.lib -> E:\dev\mytests\perl-5.6.2\lib\CORE\perl56.lib
1 File(s) copied
        cl -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -D_CONSOLE -DNO_STRICT 
-DPERLDLL -DPERL_CORE   -O1 -MD -DND
EBUG  -DPERL_MSVCRT_READFIX -UPERLDLL -Foperlmain.obj -c perlmain.c
perlmain.c
        link -subsystem:console -out:..\perl.exe -stack:0x1000000 -nologo -nodefaultlib -release 
-libpath:"c:\perl\5.6.1\lib\MSWi
n32-x86\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 perlma
in.obj  ..\perl56.lib
        copy ..\perl.exe ..\wperl.exe
        1 file(s) copied.
        ..\miniperl.exe -I..\lib bin\exetype.pl ..\wperl.exe WINDOWS
        copy splittree.pl ..
        1 file(s) copied.
        ..\miniperl.exe -I..\lib ..\splittree.pl "../LIB" ..\lib\auto
AutoSplitting ../LIB\DynaLoader.pm (..\lib\auto\DynaLoader)
        cl -I..\x2p -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -D_CONSOLE
-DNO_STRICT  -DPERLDLL -DPERL_CORE   -O1
 -MD -DNDEBUG -Fo..\x2p\a2p.obj -c ..\x2p\a2p.c
a2p.c
        cl -I..\x2p  -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -D_CONSOLE
-DNO_STRICT  -DPERLDLL -DPERL_CORE   -O
1 -MD -DNDEBUG -Fo..\x2p\hash.obj -c ..\x2p\hash.c
hash.c
        cl -I..\x2p  -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -D_CONSOLE
-DNO_STRICT  -DPERLDLL -DPERL_CORE   -O
1 -MD -DNDEBUG -Fo..\x2p\str.obj -c ..\x2p\str.c
str.c
        cl -I..\x2p  -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -D_CONSOLE
-DNO_STRICT  -DPERLDLL -DPERL_CORE   -O
1 -MD -DNDEBUG -Fo..\x2p\util.obj -c ..\x2p\util.c
util.c
        cl -I..\x2p  -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -D_CONSOLE
-DNO_STRICT  -DPERLDLL -DPERL_CORE   -O
1 -MD -DNDEBUG -Fo..\x2p\walk.obj -c ..\x2p\walk.c
walk.c
        ..\miniperl.exe ..\x2p\find2perl.PL
Extracting find2perl (with variable substitutions)
        ..\miniperl.exe ..\x2p\s2p.PL
Extracting s2p (with variable substitutions)
        link -subsystem:console -out:..\x2p\a2p.exe @C:\DOCUME~1\_\LOCALS~1\Temp\nmc01188.
        cd ..\ext\Socket
        ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl PERL_CORE=1
Writing Makefile for Socket
        nmake -nologo
        cl -c    -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL_MSVCRT_READFIX -O1
-MD -DNDEBUG    -DVERSION=\"1.7
2\"  -DXS_VERSION=\"1.72\"  "-I..\..\lib\CORE"   Socket.c
Socket.c
Running Mkbootstrap for Socket ()
        ..\..\miniperl.exe "-I..\..\lib" "-I..\..\lib" -MExtUtils::Command -e chmod 644 Socket.bs
        ld -out:..\..\lib\auto\Socket\Socket.dll -dll -nologo -nodefaultlib -release 
-libpath:"c:\perl\5.6.1\lib\MSWin32-x86\CORE
"  -machine:x86 Socket.obj   ..\..\lib\CORE\perl56.lib oldnames.lib kernel32.lib user32.lib
gdi32.lib winspool.lib  comdlg32.lib a
dvapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib wsock32.lib mpr.lib
winmm.lib  version.lib odbc32.lib odbccp
32.lib msvcrt.lib -def:Socket.def
ld: unrecognised emulation mode: achine:x86
Supported emulations: i386pe
NMAKE : fatal error U1077: 'ld' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2\VC98\BIN\NMAKE.EXE' : return code '0x2'
Stop.

E:\dev\mytests\perl-5.6.2\win32>


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Thread Previous


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