Schupp Roderich (extern) Com MD PD SWP 2 CM MCH wrote:

>>I've attached my Config.pm (.tar.gz'ed).  Can you see 
>>anything wrong in it?
>>    
>>
>
>Looks reasonable, ditto for myldr/Makefile.
>
>(scratches head) Somehow myldr/static.exe seems to get linked
>to libperl58.dll, isn't it? 
>
Yes:

        link static.obj -release   -nologo -nodefaultlib -debug 
-opt:ref,icf  -libpath:"C:\perl5\lib\CORE"  -machine:x86  
C:\perl5\lib\CORE\perl58.lib C:\PROGRA~1\MICROS~2\VC98\lib\oldnames.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\kernel32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\user32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\gdi32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\winspool.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\comdlg32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\advapi32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\shell32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\ole32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\oleaut32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\netapi32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\uuid.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\ws2_32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\mpr.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\winmm.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\version.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\odbc32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\odbccp32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\msvcrt.lib win32.obj -out:.\static.exe


>If yes,
>could you perform the following experiment
>in sub directory myldr:
>
>- in Makefile: remove C:\perl5\lib\CORE\perl58.lib and 
>  -libpath:"C:\perl5\lib\CORE" from STATIC_LDFLAGS
>- delete static.exe
>- re-run nmake
>
I now have unresolved externals when linking static.exe:

        link static.obj -release   -nologo -nodefaultlib -debug 
-opt:ref,icf  -machine:x86  C:\PROGRA~1\MICROS~2\VC98\lib\oldnames.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\kernel32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\user32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\gdi32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\winspool.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\comdlg32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\advapi32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\shell32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\ole32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\oleaut32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\netapi32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\uuid.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\ws2_32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\mpr.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\winmm.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\version.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\odbc32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\odbccp32.lib 
C:\PROGRA~1\MICROS~2\VC98\lib\msvcrt.lib win32.obj -out:.\static.exe
static.obj : error LNK2001: unresolved external symbol __imp__win32_access
static.obj : error LNK2001: unresolved external symbol __imp__win32_stat
static.obj : error LNK2001: unresolved external symbol __imp__PL_statbuf
static.obj : error LNK2001: unresolved external symbol __imp__win32_environ
static.obj : error LNK2001: unresolved external symbol __imp__win32_malloc
static.obj : error LNK2001: unresolved external symbol __imp__win32_realloc
static.obj : error LNK2001: unresolved external symbol __imp__win32_getpid
static.obj : error LNK2001: unresolved external symbol __imp__win32_close
static.obj : error LNK2001: unresolved external symbol __imp__win32_read
static.obj : error LNK2001: unresolved external symbol __imp__win32_lseek
static.obj : error LNK2001: unresolved external symbol __imp__win32_open
static.obj : error LNK2001: unresolved external symbol __imp__win32_fprintf
static.obj : error LNK2001: unresolved external symbol __imp__win32_stderr
static.obj : error LNK2001: unresolved external symbol __imp__win32_errno
static.obj : error LNK2001: unresolved external symbol __imp__win32_chmod
static.obj : error LNK2001: unresolved external symbol __imp__win32_write
.\static.exe : fatal error LNK1120: 16 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2\VC98\Bin\NMAKE.EXE' : 
return code '0x2'
Stop.

- Steve


------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are 
confidential and intended for the addressee(s) only.  If you have received this 
message in error or there are any problems, please notify the sender 
immediately.  The unauthorized use, disclosure, copying or alteration of this 
message is strictly forbidden.  Note that any views or opinions presented in 
this email are solely those of the author and do not necessarily represent 
those of Radan Computational Ltd.  The recipient(s) of this message should 
check it and any attached files for viruses: Radan Computational will accept no 
liability for any damage caused by any virus transmitted by this email.

Reply via email to