Re: des/md5 problems?

From: Nitin Agarwal (nitin@nitin.com)
Date: Tue Jan 18 2000 - 04:20:20 EST


Hey guys,

    Sorry about the other email. I moved the perlCRT.lib into the same
directory in where I'm compiling the program. here is my new error message.
I would appreciate it if anyone who has had the same problem or knows what
to
do could help me.

------snip----------
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

DES.c
"Running Mkbootstrap for Crypt::DES ()"

     C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib -MExtUtils::Command -e
chmod 644 DES.bs
        C:\Perl\bin\perl.exe "-IC:\Perl\lib"
"-IC:\Perl\lib" -MExtUtils::Mksymli
sts -e "Mksymlists('NAME' => 'Crypt::DES', 'DLBASE' => 'DES', 'DL_FUNCS' =>
{
}, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"

    link -out:blib\arch\auto\Crypt\DES\DES.dll -dll -nologo -nodefaultlib -r
elease -machine:x86 DES.obj des.obj C:\Perl\lib\CORE\perlcore.lib
oldnames.lib
 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
shell
32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib
winmm.l
ib version.lib odbc32.lib odbccp32.lib PerlCRT.lib -def:DES.def
des.obj : warning LNK4042: object specified more than once; extras ignored
des.obj : warning LNK4042: object specified more than once; extras ignored
   Creating library blib\arch\auto\Crypt\DES\DES.lib and object
blib\arch\auto\C
rypt\DES\DES.exp
DES.obj : error LNK2001: unresolved external symbol "void __cdecl
des_expand_key
(unsigned char * const,unsigned long * const)"
(?des_expand_key@@YAXQAEQAK@Z)
DES.obj : error LNK2001: unresolved external symbol "void __cdecl
des_crypt(unsi
gned long * const,unsigned long * const,unsigned long * const,int)"
(?des_crypt@
@YAXQAK00H@Z)
blib\arch\auto\Crypt\DES\DES.dll : fatal error LNK1120: 2 unresolved
externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.

Thanks,
Nitin Agarwal

----- Original Message -----
From: Nitin Agarwal <nitin@nitin.com>
To: Todd V. Clark <tvclark@denalitek.com>; <dev-list@opensrs.org>
Sent: Tuesday, January 18, 2000 3:29 AM
Subject: Re: des/md5 problems?

> I have been getting this message after adding the following lines to the
> des.h file:
> typedef unsigned char u_int8_t;
> typedef unsigned long u_int32_t;
>
> --------------------------------------------------------------------------

--
> --
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>
> mkdir blib
> mkdir blib\lib
> mkdir blib\lib\Crypt
> mkdir blib\arch
> mkdir blib\arch\auto
> mkdir blib\arch\auto\Crypt
> mkdir blib\arch\auto\Crypt\DES
> mkdir blib\lib\auto
> mkdir blib\lib\auto\Crypt
> mkdir blib\lib\auto\Crypt\DES
> mkdir blib\man3
> cp DES.pod blib\lib\Crypt\DES.pod
> cp des.pl blib\lib\Crypt\des.pl
> cp DES.pm blib\lib\Crypt\DES.pm
>         C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib
> C:\Perl\lib\ExtUtils/xs
> ubpp  -typemap C:\Perl\lib\ExtUtils\typemap -typemap typemap DES.xs
>xstmp.c
> &&
> C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib -MExtUtils::Command -e mv
> xstmp
> .c DES.c
> Please specify prototyping behavior for DES.xs (see perlxs manual)
>
>
>
>
>
    cl.exe -c  -Od -MD -DNDEBUG -TP -GX -DWIN32 -D_CONSOLE -DNO_STRICT -DHAV
>
_DES_FCRYPT -DPERL_OBJECT -Od -MD -DNDEBUG -TP -GX     -DVERSION=\"1.0\"  -
> DXS_
> VERSION=\"1.0\"  -IC:\Perl\lib\CORE  DES.c
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for
80x86
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
>
> DES.c
> "Running Mkbootstrap for Crypt::DES ()"
>
>
>
>
     C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib -MExtUtils::Command -e
> chmod 644 DES.bs
>         C:\Perl\bin\perl.exe "-IC:\Perl\lib"
> "-IC:\Perl\lib" -MExtUtils::Mksymli
> sts  -e "Mksymlists('NAME' => 'Crypt::DES', 'DLBASE' => 'DES', 'DL_FUNCS'
=>
> {
> }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
>
>
>
>
>
    link -out:blib\arch\auto\Crypt\DES\DES.dll -dll -nologo -nodefaultlib -r
> elease -machine:x86 DES.obj des.obj   C:\Perl\lib\CORE\perlcore.lib
> oldnames.lib
>  kernel32.lib user32.lib gdi32.lib  winspool.lib comdlg32.lib advapi32.lib
> shell
> 32.lib ole32.lib  oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib
> winmm.l
> ib  version.lib odbc32.lib odbccp32.lib PerlCRT.lib -def:DES.def
> des.obj : warning LNK4042: object specified more than once; extras ignored
> LINK : fatal error LNK1181: cannot open input file "PerlCRT.lib"
> NMAKE : fatal error U1077: 'link' : return code '0x49d'
> Stop.
>
>
> Any ideas?
>
> Thanks,
> Nitin Agarwal
>
>
> ----- Original Message -----
> From: Todd V. Clark <tvclark@denalitek.com>
> To: Nitin Agarwal <nitin@nitin.com>; <dev-list@opensrs.org>
> Sent: Tuesday, January 18, 2000 2:16 AM
> Subject: Re: des/md5 problems?
>
>
> > I didn't have much luck with Cliff's modules.  I downloaded them but
they
> > won't completely unzip on Windows since one of the file names includes a
> ::
> > .  Also looking at the des.h file it looks like the necessary patches
are
> > not applied: i.e. "u_int8_t"  and  "u_int32_t" are undefined on NT.
> >
> > I collected all of the  parts and pieces outlined in Cliff's notes yet I
> > have not successfuly applied a patch to allow it to compile under NT.
> >
> > Todd Clark
> > Denalitek Inc.
> >
> > -----Original Message-----
> > From: Nitin Agarwal <nitin@nitin.com>
> > To: dev-list@opensrs.org <dev-list@opensrs.org>
> > Cc: Todd Clark <tvclark@denalitek.com>
> > Date: Monday, January 17, 2000 12:19 PM
> > Subject: Re: des/md5 problems?
> >
> >
> > >There are two forwards attached to this email from Cliff Reardon for
> > >implementing this system on NT. The URL to download the files is also
in
> > one
> > >of the emails. If anyone has any luck with the Crypt::DES module on NT
> > >please let me know.
> > >
> > >Thanks,
> > >Nitin Agarwal
> > >
> >
> >
>
>



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:14 EDT