Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this messageecuity 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.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.