----- Original Message ----- From: "Sisyphus" <[EMAIL PROTECTED]>
.
.

The problem is the following code in myldr/sha1.c.PL:

-----------------------------------------------
#if defined(U64TYPE) && (defined(USE_64_BIT_INT) || ((BYTEORDER != 0x1234) && (BYTEORDER != 0x4321)))
typedef U64TYPE ULONG;  // becomes line 25 of sha1.c
----------------------------------------------

I don't know how to fix that. What's the best approach Steffen ? Is it just a matter of using a symbol other than ULONG ?

Duh ... yes, Rob - just change each and every occurrence of ULONG in sha1.c.PL to PAR_ULONG, and that will get past that problem. (Patch attached.)

But now there's another problem that has me stumped:

------------------------------------------------
link main.obj my_par_pl.obj win32.obj -release -nologo -nodefaultlib -debug -opt:ref,icf -ltcg -libpath:"C:\_64\Perl1004\lib\CORE" -machine:AMD64 C:\_64\Perl1004\lib\CORE\perl510.lib C:\_64\Platform_SDK\Lib\AMD64\oldnames.lib C:\_64\Platform_SDK\Lib\AMD64\kernel32.lib C:\_64\Platform_SDK\Lib\AMD64\user32.lib C:\_64\Platform_SDK\Lib\AMD64\gdi32.lib C:\_64\Platform_SDK\Lib\AMD64\winspool.lib C:\_64\Platform_SDK\Lib\AMD64\comdlg32.lib C:\_64\Platform_SDK\Lib\AMD64\advapi32.lib C:\_64\Platform_SDK\Lib\AMD64\shell32.lib C:\_64\Platform_SDK\Lib\AMD64\ole32.lib C:\_64\Platform_SDK\Lib\AMD64\oleaut32.lib C:\_64\Platform_SDK\Lib\AMD64\netapi32.lib C:\_64\Platform_SDK\Lib\AMD64\uuid.lib C:\_64\Platform_SDK\Lib\AMD64\ws2_32.lib C:\_64\Platform_SDK\Lib\AMD64\mpr.lib C:\_64\Platform_SDK\Lib\AMD64\winmm.lib C:\_64\Platform_SDK\Lib\AMD64\version.lib C:\_64\Platform_SDK\Lib\AMD64\odbc32.lib C:\_64\Platform_SDK\Lib\AMD64\odbccp32.lib C:\_64\Platform_SDK\Lib\AMD64\bufferoverflowU.lib C:\_64\Platform_SDK\Lib\AMD64\msvcrt.lib -out:.\par.exe win32.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'AMD64'
NMAKE : fatal error U1077: 'link' : return code '0x458'
Stop.
NMAKE : fatal error U1077: 'C:\_64\Platform_SDK\Bin\nmake.exe' : return code '0x2'
Stop.
------------------------------------------------

But win32.obj is part of the PAR-Packer source. How am I supposed to come up with a win32.obj that's suitable for AMD64 ?
Will I also need different versions of win32.coff and win32.res ?

Cheers,
Rob




Attachment: sha1.patch
Description: Binary data

Reply via email to