Crypt:DES make problem on Solaris 9

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default Crypt:DES make problem on Solaris 9

    Hi,

    I'm trying to install Crypt::DES module on a Solaris9 box and have the
    following problem when running make:

    gcc -c -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DNO_HASH_SEED
    -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    -O -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC
    "-I/usr/local/ActivePerl-5.8/lib/5.8.6/sun4-solaris-thread-multi/CORE"
    DES.c
    In file included from DES.xs:18:
    des.h:5: error: conflicting types for 'des_crypt'
    /usr/include/crypt.h:36: error: previous declaration of 'des_crypt' was
    here
    des.h:5: error: conflicting types for 'des_crypt'
    /usr/include/crypt.h:36: error: previous declaration of 'des_crypt' was
    here
    make: *** [DES.o] Error 1

    Thanks for any help,
    Brian

    ecuity Guest

  2. Similar Questions and Discussions

    1. Crypt::DH Crypt::Random install problem
      The Linux Test Project (ltp http://ltp.sourceforge.net/) perl file autoltp requires Net::SSH and Net::SFTP These ultimately require Crypt::DH which...
    2. Des::Crypt Will not Compile On Solaris 8 Using GCC
      This is the error that I get on Several Machines. bash-2.05a# perl Makefile.PL Writing Makefile for Crypt::DES bash-2.05a# make cc -c ...
    3. crypt problem
      Hi, I have a weird problem with the crypt function. If I do: <?php echo(CRYPT_SALT_LENGTH); echo(CRYPT_MD5); echo crypt("xxxxxxxx", 'aa');...
    4. Differences in crypt() between AIX and Solaris ?
      Hi everyone, We've managed to make an AIX 4.3.3 system an LDAP client of iPlanet Directory Server 5.1 SP2, running on Solaris 8. Sort of. Users...
    5. Makefile: set macro once (Solaris make, GNU make)
      Hello, I have a question on a problem that is disturbing me for some time now. I want to set a variable in a Makefile by calling a shell...
  3. #2

    Default Crypt:DES make problem on Solaris 9

    Hi,

    I'm trying to install Crypt::DES module on a Solaris9 box and have the
    following problem when running make:

    gcc -c -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DNO_HASH_SEED
    -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    -O -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC
    "-I/usr/local/ActivePerl-5.8/lib/5.8.6/sun4-solaris-thread-multi/CORE"
    DES.c
    In file included from DES.xs:18:
    des.h:5: error: conflicting types for 'des_crypt'
    /usr/include/crypt.h:36: error: previous declaration of 'des_crypt' was
    here
    des.h:5: error: conflicting types for 'des_crypt'
    /usr/include/crypt.h:36: error: previous declaration of 'des_crypt' was
    here
    make: *** [DES.o] Error 1

    Thanks for any help,
    Brian

    ecuity Guest

  4. #3

    Default Re: Crypt:DES make problem on Solaris 9

    ecuity wrote:
    > Hi,
    >
    > I'm trying to install Crypt::DES module on a Solaris9 box and have the
    > following problem when running make:
    >
    > gcc -c -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DNO_HASH_SEED
    > -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    > -O -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC
    > "-I/usr/local/ActivePerl-5.8/lib/5.8.6/sun4-solaris-thread-multi/CORE"
    > DES.c
    > In file included from DES.xs:18:
    > des.h:5: error: conflicting types for 'des_crypt'
    > /usr/include/crypt.h:36: error: previous declaration of 'des_crypt' was
    > here
    > des.h:5: error: conflicting types for 'des_crypt'
    > /usr/include/crypt.h:36: error: previous declaration of 'des_crypt' was
    > here
    > make: *** [DES.o] Error 1
    >
    Following some advice I've seen elsewhere recently what happens if,
    before line 5 of des.h, but after the inclusion of crypt.h, you insert:

    #ifdef des_crypt
    #undef des_crypt
    #endif

    Cheers,
    Rob


    --
    To reply by email u have to take out the u in kalinaubears.

    Sisyphus Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139