Having problem compillin in solaris 10.

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Having problem compillin in solaris 10.

Lisandro Grullon
Hi there,

I am having some issues compiling openssl 0.9.8. Bellow I am pasting the output of the errors. I apreciate your help. I am running Solaris 10 x86 opteron.

bash-3.00# cd openssl-0.9.8
openssl-0.9.8/     openssl-0.9.8.tar  
bash-3.00# cd openssl-0.9.8
bash-3.00# ./config
Operating system: i86pc-whatever-solaris2
Configuring for solaris64-x86_64-gcc
Configuring for solaris64-x86_64-gcc
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-mdc2         [default]  OPENSSL_NO_MDC2 (skip dir)
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
    no-shared       [default]
    no-zlib         [default]
    no-zlib-dynamic [default]
IsMK1MF=0
CC            =gcc
CFLAG         =-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM
EX_LIBS       =-lsocket -lnsl -ldl
CPUID_OBJ     =x86_64cpuid.o
BN_ASM        =x86_64-gcc.o
DES_ENC       =des_enc.o fcrypt_b.o
AES_ASM_OBJ   =aes_core.o aes_cbc.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4-x86_64.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =md5-x86_64.o
SHA1_OBJ_ASM  =
RMD160_OBJ_ASM=
PROCESSOR     =
RANLIB        =/usr/ccs/bin/ranlib
ARFLAGS       =
PERL          =/usr/bin/perl
SIXTY_FOUR_BIT_LONG mode
DES_UNROLL used
DES_INT used
RC4_CHUNK is unsigned long
BF_PTR2 used
e_os2.h => include/openssl/e_os2.h
making links in crypto...
crypto.h => ../include/openssl/crypto.h
tmdiff.h => ../include/openssl/tmdiff.h
opensslv.h => ../include/openssl/opensslv.h
opensslconf.h => ../include/openssl/opensslconf.h
ebcdic.h => ../include/openssl/ebcdic.h
symhacks.h => ../include/openssl/symhacks.h
ossl_typ.h => ../include/openssl/ossl_typ.h
making links in crypto/objects...
objects.h => ../../include/openssl/objects.h
obj_mac.h => ../../include/openssl/obj_mac.h
making links in crypto/md2...
md2.h => ../../include/openssl/md2.h
md2test.c => ../../test/md2test.c
making links in crypto/md4...
md4.h => ../../include/openssl/md4.h
md4test.c => ../../test/md4test.c
md4.c => ../../apps/md4.c
making links in crypto/md5...
md5.h => ../../include/openssl/md5.h
md5test.c => ../../test/md5test.c
making links in crypto/sha...
sha.h => ../../include/openssl/sha.h
shatest.c => ../../test/shatest.c
sha1test.c => ../../test/sha1test.c
sha256t.c => ../../test/sha256t.c
sha512t.c => ../../test/sha512t.c
making links in crypto/hmac...
hmac.h => ../../include/openssl/hmac.h
hmactest.c => ../../test/hmactest.c
making links in crypto/ripemd...
ripemd.h => ../../include/openssl/ripemd.h
rmdtest.c => ../../test/rmdtest.c
making links in crypto/des...
des.h => ../../include/openssl/des.h
des_old.h => ../../include/openssl/des_old.h
destest.c => ../../test/destest.c
making links in crypto/aes...
aes.h => ../../include/openssl/aes.h
making links in crypto/rc2...
rc2.h => ../../include/openssl/rc2.h
rc2test.c => ../../test/rc2test.c
making links in crypto/rc4...
rc4.h => ../../include/openssl/rc4.h
rc4test.c => ../../test/rc4test.c
making links in crypto/idea...
idea.h => ../../include/openssl/idea.h
ideatest.c => ../../test/ideatest.c
making links in crypto/bf...
blowfish.h => ../../include/openssl/blowfish.h
bftest.c => ../../test/bftest.c
making links in crypto/cast...
cast.h => ../../include/openssl/cast.h
casttest.c => ../../test/casttest.c
making links in crypto/bn...
bn.h => ../../include/openssl/bn.h
bntest.c => ../../test/bntest.c
exptest.c => ../../test/exptest.c
making links in crypto/ec...
ec.h => ../../include/openssl/ec.h
ectest.c => ../../test/ectest.c
making links in crypto/rsa...
rsa.h => ../../include/openssl/rsa.h
rsa_test.c => ../../test/rsa_test.c
making links in crypto/dsa...
dsa.h => ../../include/openssl/dsa.h
dsatest.c => ../../test/dsatest.c
making links in crypto/ecdsa...
ecdsa.h => ../../include/openssl/ecdsa.h
ecdsatest.c => ../../test/ecdsatest.c
making links in crypto/dh...
dh.h => ../../include/openssl/dh.h
dhtest.c => ../../test/dhtest.c
making links in crypto/ecdh...
ecdh.h => ../../include/openssl/ecdh.h
ecdhtest.c => ../../test/ecdhtest.c
making links in crypto/dso...
dso.h => ../../include/openssl/dso.h
making links in crypto/engine...
engine.h => ../../include/openssl/engine.h
enginetest.c => ../../test/enginetest.c
making links in crypto/buffer...
buffer.h => ../../include/openssl/buffer.h
making links in crypto/bio...
bio.h => ../../include/openssl/bio.h
making links in crypto/stack...
stack.h => ../../include/openssl/stack.h
safestack.h => ../../include/openssl/safestack.h
making links in crypto/lhash...
lhash.h => ../../include/openssl/lhash.h
making links in crypto/rand...
rand.h => ../../include/openssl/rand.h
randtest.c => ../../test/randtest.c
making links in crypto/err...
err.h => ../../include/openssl/err.h
making links in crypto/evp...
evp.h => ../../include/openssl/evp.h
evp_test.c => ../../test/evp_test.c
cp evptests.txt ../../test
making links in crypto/asn1...
asn1.h => ../../include/openssl/asn1.h
asn1_mac.h => ../../include/openssl/asn1_mac.h
asn1t.h => ../../include/openssl/asn1t.h
making links in crypto/pem...
pem.h => ../../include/openssl/pem.h
pem2.h => ../../include/openssl/pem2.h
making links in crypto/x509...
x509.h => ../../include/openssl/x509.h
x509_vfy.h => ../../include/openssl/x509_vfy.h
making links in crypto/x509v3...
x509v3.h => ../../include/openssl/x509v3.h
making links in crypto/conf...
conf.h => ../../include/openssl/conf.h
conf_api.h => ../../include/openssl/conf_api.h
making links in crypto/txt_db...
txt_db.h => ../../include/openssl/txt_db.h
making links in crypto/pkcs7...
pkcs7.h => ../../include/openssl/pkcs7.h
making links in crypto/pkcs12...
pkcs12.h => ../../include/openssl/pkcs12.h
making links in crypto/comp...
comp.h => ../../include/openssl/comp.h
making links in crypto/ocsp...
ocsp.h => ../../include/openssl/ocsp.h
making links in crypto/ui...
ui.h => ../../include/openssl/ui.h
ui_compat.h => ../../include/openssl/ui_compat.h
making links in crypto/krb5...
krb5_asn.h => ../../include/openssl/krb5_asn.h
making links in crypto/store...
store.h => ../../include/openssl/store.h
making links in crypto/pqueue...
pqueue.h => ../../include/openssl/pqueue.h
pq_compat.h => ../../include/openssl/pq_compat.h
making links in ssl...
ssl.h => ../include/openssl/ssl.h
ssl2.h => ../include/openssl/ssl2.h
ssl3.h => ../include/openssl/ssl3.h
ssl23.h => ../include/openssl/ssl23.h
tls1.h => ../include/openssl/tls1.h
dtls1.h => ../include/openssl/dtls1.h
kssl.h => ../include/openssl/kssl.h
ssltest.c => ../test/ssltest.c
making links in engines...
making links in apps...
making links in test...
making links in tools...
generating dummy tests (if needed)...
 
Configured for solaris64-x86_64-gcc.
bash-3.00# make
making all in crypto...
( echo "#ifndef MK1MF_BUILD"; \
echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
echo '  #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM"'; \
echo '  #define PLATFORM "solaris64-x86_64-gcc"'; \
echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM  -c  cryptlib.c
cc1: sorry, unimplemented: 64-bit mode not compiled in
*** Error code 1
make: Fatal error: Command failed for target `cryptlib.o'
Current working directory /export/download/openssl-0.9.8/crypto
*** Error code 1
The following command caused the error:
dir=crypto; target=all; if [ -d "$dir" ]; then  (       cd $dir && echo "making $target in $dir..." &&  TOP= && unset TOP ${LIB+LIB} ${LIBS+LIBS}        ${INCLUDE+INCLUDE} ${INCLUDES+INCLUDES}         ${DIR+DIR} ${DIRS+DIRS} ${SRC+SRC}              ${LIBSRC+LIBSRC} ${LIBOBJ+LIBOBJ} ${ALL+ALL}    ${EXHEADER+EXHEADER} ${HEADER+HEADER}           ${GENERAL+GENERAL} ${CFLAGS+CFLAGS}             ${ASFLAGS+ASFLAGS} ${AFLAGS+AFLAGS}             ${LDCMD+LDCMD} ${LDFLAGS+LDFLAGS}               ${SHAREDCMD+SHAREDCMD} ${SHAREDFLAGS+SHAREDFLAGS}       ${SHARED_LIB+SHARED_LIB} ${LIBEXTRAS+LIBEXTRAS} && make -e PLATFORM='solaris64-x86_64-gcc' PROCESSOR=''  CC='gcc' CFLAG='-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM'                        AS='gcc' ASFLAG='-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM -c'                     AR='ar  r' PERL='/usr/bin/perl' RANLIB='/usr/ccs/bin/ranlib'    SDIRS='objects  md2 md4 md5 sha hmac ripemd  des aes rc2 rc4 idea bf cast  bn ec rsa dsa ecdsa dh ecdh dso engine  buffer bio stack lhash rand err  evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp ui krb5  store pqueue' LIBRPATH='/usr/local/ssl/lib'    INSTALL_PREFIX=''               INSTALLTOP='/usr/local/ssl' OPENSSLDIR='/usr/local/ssl'         MAKEDEPEND='$${TOP}/util/domd $${TOP} -MD gcc'  DEPFLAG='-DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_GMP -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5'   MAKEDEPPROG='gcc'                       SHARED_LDFLAGS='-m64 -shared -static-libgcc'            KRB5_INCLUDES='' LIBKRB5=''     EXE_EXT='' SHARED_LIBS=''       SHLIB_EXT='.so.0.9.8' SHLIB_TARGET='solaris-shared'     PEX_LIBS='' EX_LIBS='-lsocket -lnsl -ldl'       CPUID_OBJ='x86_64cpuid.o'                       BN_ASM='x86_64-gcc.o' DES_ENC='des_enc.o fcrypt_b.o'    AES_ASM_OBJ='aes_core.o aes_cbc.o'                      BF_ENC='bf_enc.o' CAST_ENC='c_enc.o'    RC4_ENC='rc4-x86_64.o' RC5_ENC='rc5_enc.o'      SHA1_ASM_OBJ=''                         MD5_ASM_OBJ='md5-x86_64.o'                      RMD160_ASM_OBJ=''               THIS=${THIS:-build_crypto} MAKEFILE=Makefile MAKEOVERRIDES= TOP=.. DIR=$dir $target  ) || exit 1;  fi
make: Fatal error: Command failed for target `build_crypto'
bash-3.00#


-----------------------------------------------------------------------------------------------------------------------
Lisandro Grullon
New York City College of Technology
Division of Continuing Education
Director of Network Operations
Lisandro Office:    1718-552-1178
Lisandro E-mail:   [hidden email]
"Unix is user-friendly. It's just very selective about who its friends are."
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Andreas Almroth
Lisandro Grullon wrote:

>Hi there,
>
>I am having some issues compiling openssl 0.9.8. Bellow I am pasting the output of the errors. I apreciate your help. I am running Solaris 10 x86 opteron.
>
>  
>
<snip>

>echo '#endif' ) >buildinf.h
>gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM  -c  cryptlib.c
>cc1: sorry, unimplemented: 64-bit mode not compiled in
>*** Error code 1
>make: Fatal error: Command failed for target `cryptlib.o'
>Current working directory /export/download/openssl-0.9.8/crypto
>*** Error code 1
>  
>
Well, the message is clear, gcc does not support the 64-bit target in
this case. You could try to compile it with Sun's C compiler, it has
full support for amd64 target, or alternatively you find a gcc
distribution that has support for amd64 compiled in.
The Sun C compiler is free for use in open-source projects, such as
opensolaris, so you might be eligble for free download.

/Andreas



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Lisandro Grullon
In reply to this post by Lisandro Grullon
Andrea, can you point me in the right direction where to find the compiler to supportamd64. thanks.

-----------------------------------------------------------------------------------------------------------------------
Lisandro Grullon
New York City College of Technology
Division of Continuing Education
Director of Network Operations
Lisandro Office:    1718-552-1178
Lisandro E-mail:   [hidden email]
"Unix is user-friendly. It's just very selective about who its friends are."

>>> [hidden email] 09/01/05 2:48 AM >>>
Lisandro Grullon wrote:

>Hi there,
>
>I am having some issues compiling openssl 0.9.8. Bellow I am pasting the output of the errors. I apreciate your help. I am running Solaris 10 x86 opteron.
>
>  
>
<snip>

>echo '#endif' ) >buildinf.h
>gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM  -c  cryptlib.c
>cc1: sorry, unimplemented: 64-bit mode not compiled in
>*** Error code 1
>make: Fatal error: Command failed for target `cryptlib.o'
>Current working directory /export/download/openssl-0.9.8/crypto
>*** Error code 1
>  
>
Well, the message is clear, gcc does not support the 64-bit target in
this case. You could try to compile it with Sun's C compiler, it has
full support for amd64 target, or alternatively you find a gcc
distribution that has support for amd64 compiled in.
The Sun C compiler is free for use in open-source projects, such as
opensolaris, so you might be eligble for free download.

/Andreas



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org 
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Andreas Almroth
Hi,

For the Sun C compiler suite;
http://www.opensolaris.org/os/community/tools/sun_studio_tools/
(Check license terms though)

The GCC for amd64 may be installed on your system in /usr/sfw, in the
case you have installed Companion CD I believe.
Else, you will have to install it from CD, or compile GCC yourself with
the "-target x86_64" specified.
I'm not sure about other distributions...

Good luck,
Andreas




Lisandro Grullon wrote:

>Andrea, can you point me in the right direction where to find the compiler to supportamd64. thanks.
>
>-----------------------------------------------------------------------------------------------------------------------
>Lisandro Grullon
>New York City College of Technology
>Division of Continuing Education
>Director of Network Operations
>Lisandro Office:    1718-552-1178
>Lisandro E-mail:   [hidden email]
>"Unix is user-friendly. It's just very selective about who its friends are."
>
>  
>
>>>>[hidden email] 09/01/05 2:48 AM >>>
>>>>        
>>>>
>Lisandro Grullon wrote:
>
>  
>
>>Hi there,
>>
>>I am having some issues compiling openssl 0.9.8. Bellow I am pasting the output of the errors. I apreciate your help. I am running Solaris 10 x86 opteron.
>>
>>
>>
>>    
>>
><snip>
>
>  
>
>>echo '#endif' ) >buildinf.h
>>gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM  -c  cryptlib.c
>>cc1: sorry, unimplemented: 64-bit mode not compiled in
>>*** Error code 1
>>make: Fatal error: Command failed for target `cryptlib.o'
>>Current working directory /export/download/openssl-0.9.8/crypto
>>*** Error code 1
>>
>>
>>    
>>
>Well, the message is clear, gcc does not support the 64-bit target in
>this case. You could try to compile it with Sun's C compiler, it has
>full support for amd64 target, or alternatively you find a gcc
>distribution that has support for amd64 compiled in.
>The Sun C compiler is free for use in open-source projects, such as
>opensolaris, so you might be eligble for free download.
>
>/Andreas
>
>
>
>______________________________________________________________________
>OpenSSL Project                                 http://www.openssl.org 
>User Support Mailing List                    [hidden email]
>Automated List Manager                           [hidden email]
>
>______________________________________________________________________
>OpenSSL Project                                 http://www.openssl.org
>User Support Mailing List                    [hidden email]
>Automated List Manager                           [hidden email]
>
>
>
>  
>

--
======================================================================
http://www.almroth.com                | Phone/Fax: +44 (0)700 397 3283
http://www.blastwave.org - maintainer | [hidden email]
======================================================================


signature.asc (262 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Sean McGrath - Sun Microsystems Ireland

  gcc in /usr/sfw/bin can do 64bit support via the -m64 option.
  And you don't have to be in 64bit mode to build 64bit binaries.

  openssl is also bundled with Solaris, though its an older version.

Regards,
Sean.
.
$ type openssl
is /usr/sfw/bin/openssl
$ openssl
OpenSSL> version
OpenSSL 0.9.7d 17 Mar 2004
OpenSSL> greyarea:~ $

$ isainfo
i386
$ cat hello.c
#include <stdio.h>

int main(void)
{
   printf("Hello, World!\n");

   return 0;
}

$ gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with: /builds/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77 --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-20050802)
$
$ type gcc
gcc is hashed (/usr/sfw/bin/gcc)
$ gcc -m64 -o h64 hello.c
$ file h64
h1:             ELF 64-bit LSB executable AMD64 Version 1, dynamically linked, not stripped, no debugging information available
c$
$ gcc -m32 -o h32 hello.c
$ file h32
h32:            ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped, no debugging information available
$

Andreas Almroth stated:
< Hi,
<
< For the Sun C compiler suite;
< http://www.opensolaris.org/os/community/tools/sun_studio_tools/
< (Check license terms though)
<
< The GCC for amd64 may be installed on your system in /usr/sfw, in the
< case you have installed Companion CD I believe.
< Else, you will have to install it from CD, or compile GCC yourself with
< the "-target x86_64" specified.
< I'm not sure about other distributions...
<
< Good luck,
< Andreas
<
<
<
<
< Lisandro Grullon wrote:
<
< >Andrea, can you point me in the right direction where to find the compiler to supportamd64. thanks.
< >
< >-----------------------------------------------------------------------------------------------------------------------
< >Lisandro Grullon
< >New York City College of Technology
< >Division of Continuing Education
< >Director of Network Operations
< >Lisandro Office:    1718-552-1178
< >Lisandro E-mail:   [hidden email]
< >"Unix is user-friendly. It's just very selective about who its friends are."
< >
< >  
< >
< >>>>[hidden email] 09/01/05 2:48 AM >>>
< >>>>        
< >>>>
< >Lisandro Grullon wrote:
< >
< >  
< >
< >>Hi there,
< >>
< >>I am having some issues compiling openssl 0.9.8. Bellow I am pasting the output of the errors. I apreciate your help. I am running Solaris 10 x86 opteron.
< >>
< >>
< >>
< >>    
< >>
< ><snip>
< >
< >  
< >
< >>echo '#endif' ) >buildinf.h
< >>gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM  -c  cryptlib.c
< >>cc1: sorry, unimplemented: 64-bit mode not compiled in
< >>*** Error code 1
< >>make: Fatal error: Command failed for target `cryptlib.o'
< >>Current working directory /export/download/openssl-0.9.8/crypto
< >>*** Error code 1
< >>
< >>
< >>    
< >>
< >Well, the message is clear, gcc does not support the 64-bit target in
< >this case. You could try to compile it with Sun's C compiler, it has
< >full support for amd64 target, or alternatively you find a gcc
< >distribution that has support for amd64 compiled in.
< >The Sun C compiler is free for use in open-source projects, such as
< >opensolaris, so you might be eligble for free download.
< >
< >/Andreas
< >
< >
< >
< >______________________________________________________________________
< >OpenSSL Project                                 http://www.openssl.org 
< >User Support Mailing List                    [hidden email]
< >Automated List Manager                           [hidden email]
< >
< >______________________________________________________________________
< >OpenSSL Project                                 http://www.openssl.org
< >User Support Mailing List                    [hidden email]
< >Automated List Manager                           [hidden email]
< >
< >
< >
< >  
< >
<
<
< --
< ======================================================================
< http://www.almroth.com                | Phone/Fax: +44 (0)700 397 3283
< http://www.blastwave.org - maintainer | [hidden email]
< ======================================================================
<



--
Sean.
.
sean DoT mcgrath At sun.com http://blogs.sun.com/smg
http://www.sun.com/software/solaris
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Ricardo Stella
In reply to this post by Lisandro Grullon

FYI,

I installed openssl v0.9.8 in three separate V20z with a single Opteron
244, running Solaris 10.  All three boxes got Entire Distro installs
from CDs.  I'm using Solaris 10 stock gcc.

# gcc -v

IReading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

For openssl, I compiled it like:
./config -fPIC shared no-idea
make
make test
make install


Lisandro Grullon wrote:

>Andrea, can you point me in the right direction where to find the compiler to supportamd64. thanks.
>
>  
>

--

°(((=((===°°°(((===========================================


stella.vcf (154 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Rabellino Sergio
In reply to this post by Lisandro Grullon
Lisandro Grullon wrote:

>Andrea, can you point me in the right direction where to find the compiler to supportamd64. thanks.
>  
>
I can give you a download for a tar of my gcc 4.0.1 installation...
(/opt/gnu as installpath).

Try on http://www.di.unito.it/~rabser/gcc_401_Solaris10_amd64.tar.gz (36Mb)

Bye.

--
Dott. Mag. Sergio Rabellino

 Technical Staff
 Department of Computer Science
 University of Torino (Italy)

http://www.di.unito.it/~rabser
Tel. +39-0116706701
Fax. +39-011751603

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Ricardo Stella
In reply to this post by Andreas Almroth

GCC v3.4.3 is installed in /usr/sfw/bin with an Entire Distribution
install.  You don't need to install the Companion CD.

BTW, Solaris 10 ships with openssl v0.9.7d and also installed in
/usr/sfw (and based on an Entire Distro install - no need for the
Companion CD).

My .02...

Andreas Almroth wrote:

>Hi,
>
>For the Sun C compiler suite;
>http://www.opensolaris.org/os/community/tools/sun_studio_tools/
>(Check license terms though)
>
>The GCC for amd64 may be installed on your system in /usr/sfw, in the
>case you have installed Companion CD I believe.
>Else, you will have to install it from CD, or compile GCC yourself with
>the "-target x86_64" specified.
>I'm not sure about other distributions...
>
>Good luck,
>Andreas
>
>  
>
--

°(((=((===°°°(((===========================================


stella.vcf (154 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Lisandro Grullon
In reply to this post by Lisandro Grullon
Hi Andrea,

I installed the Sun C compiler suite as you pointed out; however, after defining the path as suggested by the Sun C compiler instructions things still not working properly and I still getting the same compilation error. I also checked in /usr/sfw/bin for my gcc compiler and I see that it is there; however, it doesn't seem to be compiling via the -m64 option. This is so weird, whoever design these compilers should make the stuff work automatically if I am working in either 32 or 64 bit architecture. Ohhh well, this is the error (same) as my previous. Any other sugestions to get this going?

bash-3.00# make
making all in crypto...
( echo "#ifndef MK1MF_BUILD"; \
echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
echo '  #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM"'; \
echo '  #define PLATFORM "solaris64-x86_64-gcc"'; \
echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM  -c  cryptlib.c
cc1: sorry, unimplemented: 64-bit mode not compiled in
*** Error code 1
make: Fatal error: Command failed for target `cryptlib.o'
Current working directory /download/openssl-0.9.8/crypto
*** Error code 1
The following command caused the error:
dir=crypto; target=all; if [ -d "$dir" ]; then  (       cd $dir && echo "making $target in $dir..." &&  TOP= && unset TOP ${LIB+LIB} ${LIBS+LIBS}        ${INCLUDE+INCLUDE} ${INCLUDES+INCLUDES}         ${DIR+DIR} ${DIRS+DIRS} ${SRC+SRC}              ${LIBSRC+LIBSRC} ${LIBOBJ+LIBOBJ} ${ALL+ALL}    ${EXHEADER+EXHEADER} ${HEADER+HEADER}           ${GENERAL+GENERAL} ${CFLAGS+CFLAGS}             ${ASFLAGS+ASFLAGS} ${AFLAGS+AFLAGS}             ${LDCMD+LDCMD} ${LDFLAGS+LDFLAGS}               ${SHAREDCMD+SHAREDCMD} ${SHAREDFLAGS+SHAREDFLAGS}       ${SHARED_LIB+SHARED_LIB} ${LIBEXTRAS+LIBEXTRAS} && make -e PLATFORM='solaris64-x86_64-gcc' PROCESSOR=''  CC='gcc' CFLAG='-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM'                        AS='gcc' ASFLAG='-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM -c'                     AR='ar  r' PERL='/usr/bin/perl' RANLIB='/usr/ccs/bin/ranlib'    SDIRS='objects  md2 md4 md5 sha hmac ripemd  des aes rc2 rc4 idea bf cast  bn ec rsa dsa ecdsa dh ecdh dso engine  buffer bio stack lhash rand err  evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp ui krb5  store pqueue' LIBRPATH='/usr/local/ssl/lib'    INSTALL_PREFIX=''               INSTALLTOP='/usr/local/ssl' OPENSSLDIR='/usr/local/ssl'         MAKEDEPEND='$${TOP}/util/domd $${TOP} -MD gcc'  DEPFLAG='-DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_GMP -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5'   MAKEDEPPROG='gcc'                       SHARED_LDFLAGS='-m64 -shared -static-libgcc'            KRB5_INCLUDES='' LIBKRB5=''     EXE_EXT='' SHARED_LIBS=''       SHLIB_EXT='.so.0.9.8' SHLIB_TARGET='solaris-shared'     PEX_LIBS='' EX_LIBS='-lsocket -lnsl -ldl'       CPUID_OBJ='x86_64cpuid.o'                       BN_ASM='x86_64-gcc.o' DES_ENC='des_enc.o fcrypt_b.o'    AES_ASM_OBJ='aes_core.o aes_cbc.o'                      BF_ENC='bf_enc.o' CAST_ENC='c_enc.o'    RC4_ENC='rc4-x86_64.o' RC5_ENC='rc5_enc.o'      SHA1_ASM_OBJ=''                         MD5_ASM_OBJ='md5-x86_64.o'                      RMD160_ASM_OBJ=''               THIS=${THIS:-build_crypto} MAKEFILE=Makefile MAKEOVERRIDES= TOP=.. DIR=$dir $target  ) || exit 1;  fi
make: Fatal error: Command failed for target `build_crypto'


Thanks Andrea and Sean for replying.

-----------------------------------------------------------------------------------------------------------------------
Lisandro Grullon
New York City College of Technology
Division of Continuing Education
Director of Network Operations
Lisandro Office:    1718-552-1178
Lisandro E-mail:   [hidden email]

       
Famous people:   Name | Nationality | Occupation | Date | Curiosity
 Authors > Fra Fra > Francis Scott Fitzgerald
1-10 Quotations of 79
Francis Scott Fitzgerald quotes
bookmark email link cite
American Writer and Author of The Great Gatsby. 1896-1940
Francis Scott Fitzgerald quotes
Popularity:
Francis Scott Fitzgerald popularity 6/10
Collect your favorite quotes in your online Quotations Book for FREE!
Please Register!
close
    I Like this quote I dislike this quote"The world only exists in your eyes. You can make it as big or as small as you want."
 sarahd42

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"In the real dark night of the soul it is always three o' clock in the morning, day after day."
 no_echo

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"You don't write because you want to say something, you write because you have something to say."

 Francis Scott Fitzgerald quotes
Similar Quotes. About: Writing quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"Whenever you feel like criticising anyone, just remember that all the people in this world haven't had the advantages that you've had."
 luca

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"Either you think or else others have to think for you and take power from you."  Francis Scott Fitzgerald

>>> [hidden email] 09/02/05 9:50 AM >>>
Hi,

For the Sun C compiler suite;
http://www.opensolaris.org/os/community/tools/sun_studio_tools/ 
(Check license terms though)

The GCC for amd64 may be installed on your system in /usr/sfw, in the
case you have installed Companion CD I believe.
Else, you will have to install it from CD, or compile GCC yourself with
the "-target x86_64" specified.
I'm not sure about other distributions...

Good luck,
Andreas




Lisandro Grullon wrote:

>Andrea, can you point me in the right direction where to find the compiler to supportamd64. thanks.
>
>-----------------------------------------------------------------------------------------------------------------------
>Lisandro Grullon
>New York City College of Technology
>Division of Continuing Education
>Director of Network Operations
>Lisandro Office:    1718-552-1178
>Lisandro E-mail:   [hidden email]
>"Unix is user-friendly. It's just very selective about who its friends are."
>
>  
>
>>>>[hidden email] 09/01/05 2:48 AM >>>
>>>>        
>>>>
>Lisandro Grullon wrote:
>
>  
>
>>Hi there,
>>
>>I am having some issues compiling openssl 0.9.8. Bellow I am pasting the output of the errors. I apreciate your help. I am running Solaris 10 x86 opteron.
>>
>>
>>
>>    
>>
><snip>
>
>  
>
>>echo '#endif' ) >buildinf.h
>>gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM  -c  cryptlib.c
>>cc1: sorry, unimplemented: 64-bit mode not compiled in
>>*** Error code 1
>>make: Fatal error: Command failed for target `cryptlib.o'
>>Current working directory /export/download/openssl-0.9.8/crypto
>>*** Error code 1
>>
>>
>>    
>>
>Well, the message is clear, gcc does not support the 64-bit target in
>this case. You could try to compile it with Sun's C compiler, it has
>full support for amd64 target, or alternatively you find a gcc
>distribution that has support for amd64 compiled in.
>The Sun C compiler is free for use in open-source projects, such as
>opensolaris, so you might be eligble for free download.
>
>/Andreas
>
>
>
>______________________________________________________________________
>OpenSSL Project                                 http://www.openssl.org 
>User Support Mailing List                    [hidden email]
>Automated List Manager                           [hidden email]
>
>______________________________________________________________________
>OpenSSL Project                                 http://www.openssl.org 
>User Support Mailing List                    [hidden email]
>Automated List Manager                           [hidden email]
>
>
>
>  
>


--
======================================================================
http://www.almroth.com                | Phone/Fax: +44 (0)700 397 3283
http://www.blastwave.org - maintainer | [hidden email]
======================================================================


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Lisandro Grullon
In reply to this post by Lisandro Grullon
The options I got by typing gcc -v are the ones bellow. Am I missing something?

bash-3.00# gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.3.2


-----------------------------------------------------------------------------------------------------------------------
Lisandro Grullon
New York City College of Technology
Division of Continuing Education
Director of Network Operations
Lisandro Office:    1718-552-1178
Lisandro E-mail:   [hidden email]

       
Famous people:   Name | Nationality | Occupation | Date | Curiosity
 Authors > Fra Fra > Francis Scott Fitzgerald
1-10 Quotations of 79
Francis Scott Fitzgerald quotes
bookmark email link cite
American Writer and Author of The Great Gatsby. 1896-1940
Francis Scott Fitzgerald quotes
Popularity:
Francis Scott Fitzgerald popularity 6/10
Collect your favorite quotes in your online Quotations Book for FREE!
Please Register!
close
    I Like this quote I dislike this quote"The world only exists in your eyes. You can make it as big or as small as you want."
 sarahd42

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"In the real dark night of the soul it is always three o' clock in the morning, day after day."
 no_echo

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"You don't write because you want to say something, you write because you have something to say."

 Francis Scott Fitzgerald quotes
Similar Quotes. About: Writing quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"Whenever you feel like criticising anyone, just remember that all the people in this world haven't had the advantages that you've had."
 luca

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"Either you think or else others have to think for you and take power from you."  Francis Scott Fitzgerald

>>> [hidden email] 09/02/05 10:50 AM >>>

FYI,

I installed openssl v0.9.8 in three separate V20z with a single Opteron
244, running Solaris 10.  All three boxes got Entire Distro installs
from CDs.  I'm using Solaris 10 stock gcc.

# gcc -v

IReading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

For openssl, I compiled it like:
./config -fPIC shared no-idea
make
make test
make install


Lisandro Grullon wrote:

>Andrea, can you point me in the right direction where to find the compiler to supportamd64. thanks.
>
>  
>

--

°(((=((===°°°(((===========================================


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Lisandro Grullon
In reply to this post by Lisandro Grullon
Thanks Rabellino, I will give it a try using your tar.

-----------------------------------------------------------------------------------------------------------------------
Lisandro Grullon
New York City College of Technology
Division of Continuing Education
Director of Network Operations
Lisandro Office:    1718-552-1178
Lisandro E-mail:   [hidden email]

       
Famous people:   Name | Nationality | Occupation | Date | Curiosity
 Authors > Fra Fra > Francis Scott Fitzgerald
1-10 Quotations of 79
Francis Scott Fitzgerald quotes
bookmark email link cite
American Writer and Author of The Great Gatsby. 1896-1940
Francis Scott Fitzgerald quotes
Popularity:
Francis Scott Fitzgerald popularity 6/10
Collect your favorite quotes in your online Quotations Book for FREE!
Please Register!
close
    I Like this quote I dislike this quote"The world only exists in your eyes. You can make it as big or as small as you want."
 sarahd42

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"In the real dark night of the soul it is always three o' clock in the morning, day after day."
 no_echo

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"You don't write because you want to say something, you write because you have something to say."

 Francis Scott Fitzgerald quotes
Similar Quotes. About: Writing quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"Whenever you feel like criticising anyone, just remember that all the people in this world haven't had the advantages that you've had."
 luca

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"Either you think or else others have to think for you and take power from you."  Francis Scott Fitzgerald

>>> [hidden email] 09/02/05 10:54 AM >>>
Lisandro Grullon wrote:

>Andrea, can you point me in the right direction where to find the compiler to supportamd64. thanks.
>  
>
I can give you a download for a tar of my gcc 4.0.1 installation...
(/opt/gnu as installpath).

Try on http://www.di.unito.it/~rabser/gcc_401_Solaris10_amd64.tar.gz (36Mb)

Bye.

--
Dott. Mag. Sergio Rabellino

 Technical Staff
 Department of Computer Science
 University of Torino (Italy)

http://www.di.unito.it/~rabser 
Tel. +39-0116706701
Fax. +39-011751603

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org 
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Andreas Almroth
In reply to this post by Lisandro Grullon
Hi,

First; are you using the right PATH to the compilers? as in
/opt/SUNWspro/bin or /usr/sfw/bin before any other path to other
locations of gcc?
for Sun CC I suggest;
export PATH=/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin
gcc:
export PATH=/usr/bin:/usr/sfw/bin:/usr/ccs/bin

Next, when using Sun CC you must supply -xarch=amd64 for producing
64-bit amd64 version1 binaries.
Also, make sure your linker is aware of the 64-bit paths;
-R/usr/lib/64 -L/usr/lib/64 or -R/usr/sfw/lib/amd64 -L/usr/sfw/lib/amd64
alternatively, use $ISALIST for automatic detection at run-time.
I usually use the LD_OPTIONS environment variable when building for CSW,
so first do;
export LD_OPTIONS='-R/usr/lib/$ISALIST -L/usr/lib/amd64'
or with sfw...

/usr/sfw/bin/gcc compiles amd64 just fine, so I'm fairly convinced it is
your paths that point to the gcc that can't do 64-bit.

/Andreas



Lisandro Grullon wrote:

>Hi Andrea,
>
>I installed the Sun C compiler suite as you pointed out; however, after defining the path as suggested by the Sun C compiler instructions things still not working properly and I still getting the same compilation error. I also checked in /usr/sfw/bin for my gcc compiler and I see that it is there; however, it doesn't seem to be compiling via the -m64 option. This is so weird, whoever design these compilers should make the stuff work automatically if I am working in either 32 or 64 bit architecture. Ohhh well, this is the error (same) as my previous. Any other sugestions to get this going?
>
>bash-3.00# make
>making all in crypto...
>( echo "#ifndef MK1MF_BUILD"; \
>echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
>echo '  #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM"'; \
>echo '  #define PLATFORM "solaris64-x86_64-gcc"'; \
>echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
>echo '#endif' ) >buildinf.h
>gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM  -c  cryptlib.c
>cc1: sorry, unimplemented: 64-bit mode not compiled in
>*** Error code 1
>make: Fatal error: Command failed for target `cryptlib.o'
>Current working directory /download/openssl-0.9.8/crypto
>*** Error code 1
>The following command caused the error:
>dir=crypto; target=all; if [ -d "$dir" ]; then  (       cd $dir && echo "making $target in $dir..." &&  TOP= && unset TOP ${LIB+LIB} ${LIBS+LIBS}        ${INCLUDE+INCLUDE} ${INCLUDES+INCLUDES}         ${DIR+DIR} ${DIRS+DIRS} ${SRC+SRC}              ${LIBSRC+LIBSRC} ${LIBOBJ+LIBOBJ} ${ALL+ALL}    ${EXHEADER+EXHEADER} ${HEADER+HEADER}           ${GENERAL+GENERAL} ${CFLAGS+CFLAGS}             ${ASFLAGS+ASFLAGS} ${AFLAGS+AFLAGS}             ${LDCMD+LDCMD} ${LDFLAGS+LDFLAGS}               ${SHAREDCMD+SHAREDCMD} ${SHAREDFLAGS+SHAREDFLAGS}       ${SHARED_LIB+SHARED_LIB} ${LIBEXTRAS+LIBEXTRAS} && make -e PLATFORM='solaris64-x86_64-gcc' PROCESSOR=''  CC='gcc' CFLAG='-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM'                        AS='gcc' ASFLAG='-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM -c'                     AR='ar  r' PERL='/usr/bin/perl' RANLIB='/usr/ccs/bin/ranlib'    SDIRS='objects  md2 md4 md5 sha hmac ripemd  des aes rc2 rc4 idea bf cast  bn ec rsa dsa ecdsa dh ecdh dso engine  buffer bio stack lhash rand err  evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp ui krb5  store pqueue' LIBRPATH='/usr/local/ssl/lib'    INSTALL_PREFIX=''               INSTALLTOP='/usr/local/ssl' OPENSSLDIR='/usr/local/ssl'         MAKEDEPEND='$${TOP}/util/domd $${TOP} -MD gcc'  DEPFLAG='-DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_GMP -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5'   MAKEDEPPROG='gcc'                       SHARED_LDFLAGS='-m64 -shared -static-libgcc'            KRB5_INCLUDES='' LIBKRB5=''     EXE_EXT='' SHARED_LIBS=''       SHLIB_EXT='.so.0.9.8' SHLIB_TARGET='solaris-shared'     PEX_LIBS='' EX_LIBS='-lsocket -lnsl -ldl'       CPUID_OBJ='x86_64cpuid.o'                       BN_ASM='x86_64-gcc.o' DES_ENC='des_enc.o fcrypt_b.o'    AES_ASM_OBJ='aes_core.o aes_cbc.o'                      BF_ENC='bf_enc.o' CAST_ENC='c_enc.o'    RC4_ENC='rc4-x86_64.o' RC5_ENC='rc5_enc.o'      SHA1_ASM_OBJ=''                         MD5_ASM_OBJ='md5-x86_64.o'                      RMD160_ASM_OBJ=''               THIS=${THIS:-build_crypto} MAKEFILE=Makefile MAKEOVERRIDES= TOP=.. DIR=$dir $target  ) || exit 1;  fi
>make: Fatal error: Command failed for target `build_crypto'
>
>
>Thanks Andrea and Sean for replying.
>
>-----------------------------------------------------------------------------------------------------------------------
>Lisandro Grullon
>New York City College of Technology
>Division of Continuing Education
>Director of Network Operations
>Lisandro Office:    1718-552-1178
>Lisandro E-mail:   [hidden email]
>
>
>Famous people:   Name | Nationality | Occupation | Date | Curiosity
> Authors > Fra Fra > Francis Scott Fitzgerald
>1-10 Quotations of 79
>Francis Scott Fitzgerald quotes
>bookmark email link cite
>American Writer and Author of The Great Gatsby. 1896-1940
>Francis Scott Fitzgerald quotes
>Popularity:
>Francis Scott Fitzgerald popularity 6/10
>Collect your favorite quotes in your online Quotations Book for FREE!
>Please Register!
>close
>    I Like this quote I dislike this quote"The world only exists in your eyes. You can make it as big or as small as you want."
> sarahd42
>
> Francis Scott Fitzgerald quotes
>Similar Quotes.
> Add to my book
>
>
>    I Like this quote I dislike this quote"In the real dark night of the soul it is always three o' clock in the morning, day after day."
> no_echo
>
> Francis Scott Fitzgerald quotes
>Similar Quotes.
> Add to my book
>
>
>    I Like this quote I dislike this quote"You don't write because you want to say something, you write because you have something to say."
>
> Francis Scott Fitzgerald quotes
>Similar Quotes. About: Writing quotes.
> Add to my book
>
>
>    I Like this quote I dislike this quote"Whenever you feel like criticising anyone, just remember that all the people in this world haven't had the advantages that you've had."
> luca
>
> Francis Scott Fitzgerald quotes
>Similar Quotes.
> Add to my book
>
>
>    I Like this quote I dislike this quote"Either you think or else others have to think for you and take power from you."  Francis Scott Fitzgerald
>
>  
>
>>>>[hidden email] 09/02/05 9:50 AM >>>
>>>>        
>>>>
>Hi,
>
>For the Sun C compiler suite;
>http://www.opensolaris.org/os/community/tools/sun_studio_tools/ 
>(Check license terms though)
>
>The GCC for amd64 may be installed on your system in /usr/sfw, in the
>case you have installed Companion CD I believe.
>Else, you will have to install it from CD, or compile GCC yourself with
>the "-target x86_64" specified.
>I'm not sure about other distributions...
>
>Good luck,
>Andreas
>
>
>
>
>Lisandro Grullon wrote:
>
>  
>
>>Andrea, can you point me in the right direction where to find the compiler to supportamd64. thanks.
>>
>>-----------------------------------------------------------------------------------------------------------------------
>>Lisandro Grullon
>>New York City College of Technology
>>Division of Continuing Education
>>Director of Network Operations
>>Lisandro Office:    1718-552-1178
>>Lisandro E-mail:   [hidden email]
>>"Unix is user-friendly. It's just very selective about who its friends are."
>>
>>
>>
>>    
>>
>>>>>[hidden email] 09/01/05 2:48 AM >>>
>>>>>      
>>>>>
>>>>>          
>>>>>
>>Lisandro Grullon wrote:
>>
>>
>>
>>    
>>
>>>Hi there,
>>>
>>>I am having some issues compiling openssl 0.9.8. Bellow I am pasting the output of the errors. I apreciate your help. I am running Solaris 10 x86 opteron.
>>>
>>>
>>>
>>>  
>>>
>>>      
>>>
>><snip>
>>
>>
>>
>>    
>>
>>>echo '#endif' ) >buildinf.h
>>>gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM  -c  cryptlib.c
>>>cc1: sorry, unimplemented: 64-bit mode not compiled in
>>>*** Error code 1
>>>make: Fatal error: Command failed for target `cryptlib.o'
>>>Current working directory /export/download/openssl-0.9.8/crypto
>>>*** Error code 1
>>>
>>>
>>>  
>>>
>>>      
>>>
>>Well, the message is clear, gcc does not support the 64-bit target in
>>this case. You could try to compile it with Sun's C compiler, it has
>>full support for amd64 target, or alternatively you find a gcc
>>distribution that has support for amd64 compiled in.
>>The Sun C compiler is free for use in open-source projects, such as
>>opensolaris, so you might be eligble for free download.
>>
>>/Andreas
>>
>>
>>
>>______________________________________________________________________
>>OpenSSL Project                                 http://www.openssl.org 
>>User Support Mailing List                    [hidden email]
>>Automated List Manager                           [hidden email]
>>
>>______________________________________________________________________
>>OpenSSL Project                                 http://www.openssl.org 
>>User Support Mailing List                    [hidden email]
>>Automated List Manager                           [hidden email]
>>
>>
>>
>>
>>
>>    
>>
>
>
>  
>


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Lisandro Grullon
In reply to this post by Lisandro Grullon
Hi Rabellino,

Your reply seem to have the key answer to my question. I download your tar and uncompress it, them I create the dir gnu under /opt. I follow to mv * /opt/gnu to move all the stuff that was inside the tar. off course I was working in current directory otherwise I would have had to specify where the stuff was. After I move the stuff from the tar to the install path as you told us I went ahead and edited my .profile since I am using bash, lol.  I place "/opt/gnu" and "/opt/gnu/bin" and refresh by source files using "source /.profile" them I went to my openssl 0.9.8 directory and compile.

Everything worked 100%. Thanks for sharing your compile source for 4.0.1 with us, it is very helpful, you also included instructions were to put the stuff. Keep up the good work guys. Let me go ahead and uninstall Sun C studio which takes too much space and just leave gcc 4.0.1 which is mainly use in this box. Thanks again.Lisandro


-----------------------------------------------------------------------------------------------------------------------
Lisandro Grullon
New York City College of Technology
Division of Continuing Education
Director of Network Operations
Lisandro Office:    1718-552-1178
Lisandro E-mail:   [hidden email]

       
Famous people:   Name | Nationality | Occupation | Date | Curiosity
 Authors > Fra Fra > Francis Scott Fitzgerald
1-10 Quotations of 79
Francis Scott Fitzgerald quotes
bookmark email link cite
American Writer and Author of The Great Gatsby. 1896-1940
Francis Scott Fitzgerald quotes
Popularity:
Francis Scott Fitzgerald popularity 6/10
Collect your favorite quotes in your online Quotations Book for FREE!
Please Register!
close
    I Like this quote I dislike this quote"The world only exists in your eyes. You can make it as big or as small as you want."
 sarahd42

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"In the real dark night of the soul it is always three o' clock in the morning, day after day."
 no_echo

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"You don't write because you want to say something, you write because you have something to say."

 Francis Scott Fitzgerald quotes
Similar Quotes. About: Writing quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"Whenever you feel like criticising anyone, just remember that all the people in this world haven't had the advantages that you've had."
 luca

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"Either you think or else others have to think for you and take power from you."  Francis Scott Fitzgerald

>>> [hidden email] 09/02/05 10:54 AM >>>
Lisandro Grullon wrote:

>Andrea, can you point me in the right direction where to find the compiler to supportamd64. thanks.
>  
>
I can give you a download for a tar of my gcc 4.0.1 installation...
(/opt/gnu as installpath).

Try on http://www.di.unito.it/~rabser/gcc_401_Solaris10_amd64.tar.gz (36Mb)

Bye.

--
Dott. Mag. Sergio Rabellino

 Technical Staff
 Department of Computer Science
 University of Torino (Italy)

http://www.di.unito.it/~rabser 
Tel. +39-0116706701
Fax. +39-011751603

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org 
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Lisandro Grullon
In reply to this post by Lisandro Grullon
Ricardo, Thanks for the help;however, I think I found the solution by installing the 4.0.1 of the compiller that rabellino pasted in the last 5 post. I will keep in mind this sugestion for future use though. Thanks. Lisandro

-----------------------------------------------------------------------------------------------------------------------
Lisandro Grullon
New York City College of Technology
Division of Continuing Education
Director of Network Operations
Lisandro Office:    1718-552-1178
Lisandro E-mail:   [hidden email]

       
Famous people:   Name | Nationality | Occupation | Date | Curiosity
 Authors > Fra Fra > Francis Scott Fitzgerald
1-10 Quotations of 79
Francis Scott Fitzgerald quotes
bookmark email link cite
American Writer and Author of The Great Gatsby. 1896-1940
Francis Scott Fitzgerald quotes
Popularity:
Francis Scott Fitzgerald popularity 6/10
Collect your favorite quotes in your online Quotations Book for FREE!
Please Register!
close
    I Like this quote I dislike this quote"The world only exists in your eyes. You can make it as big or as small as you want."
 sarahd42

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"In the real dark night of the soul it is always three o' clock in the morning, day after day."
 no_echo

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"You don't write because you want to say something, you write because you have something to say."

 Francis Scott Fitzgerald quotes
Similar Quotes. About: Writing quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"Whenever you feel like criticising anyone, just remember that all the people in this world haven't had the advantages that you've had."
 luca

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"Either you think or else others have to think for you and take power from you."  Francis Scott Fitzgerald

>>> Ricardo Stella <[hidden email]> 09/02/05 11:07 AM >>>

Just in case...

Wipe clean the untarred directory and start fresh, and make sure you do
it in a local disk (ie not an NFS disk).

Also, not to confuse the system, try to link gcc to /usr/local/bin ie

ldd /usr/sfw/bin/gcc /usr/local/bin/gcc

Then add /usr/local/bin to your path, but not /usr/sfw

Finally, it's possible you are missing libraries.  I usually find that
you end up needing an Entire Distro install if you want to compile any
local applications no matter what.

Hope this helps...

Lisandro Grullon wrote:

>The options I got by typing gcc -v are the ones bellow. Am I missing something?
>
>bash-3.00# gcc -v
>Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/specs
>Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
>Thread model: posix
>gcc version 3.3.2
>
>
>-----------------------------------------------------------------------------------------------------------------------
>Lisandro Grullon
>New York City College of Technology
>Division of Continuing Education
>Director of Network Operations
>Lisandro Office:    1718-552-1178
>Lisandro E-mail:   [hidden email]
>
>
>Famous people:   Name | Nationality | Occupation | Date | Curiosity
> Authors > Fra Fra > Francis Scott Fitzgerald
>1-10 Quotations of 79
>Francis Scott Fitzgerald quotes
>bookmark email link cite
>American Writer and Author of The Great Gatsby. 1896-1940
>Francis Scott Fitzgerald quotes
>Popularity:
>Francis Scott Fitzgerald popularity 6/10
>Collect your favorite quotes in your online Quotations Book for FREE!
>Please Register!
>close
>    I Like this quote I dislike this quote"The world only exists in your eyes. You can make it as big or as small as you want."
> sarahd42
>
> Francis Scott Fitzgerald quotes
>Similar Quotes.
> Add to my book
>
>
>    I Like this quote I dislike this quote"In the real dark night of the soul it is always three o' clock in the morning, day after day."
> no_echo
>
> Francis Scott Fitzgerald quotes
>Similar Quotes.
> Add to my book
>
>
>    I Like this quote I dislike this quote"You don't write because you want to say something, you write because you have something to say."
>
> Francis Scott Fitzgerald quotes
>Similar Quotes. About: Writing quotes.
> Add to my book
>
>
>    I Like this quote I dislike this quote"Whenever you feel like criticising anyone, just remember that all the people in this world haven't had the advantages that you've had."
> luca
>
> Francis Scott Fitzgerald quotes
>Similar Quotes.
> Add to my book
>
>
>    I Like this quote I dislike this quote"Either you think or else others have to think for you and take power from you."  Francis Scott Fitzgerald
>
>  
>
>>>>[hidden email] 09/02/05 10:50 AM >>>
>>>>        
>>>>
>
>FYI,
>
>I installed openssl v0.9.8 in three separate V20z with a single Opteron
>244, running Solaris 10.  All three boxes got Entire Distro installs
>from CDs.  I'm using Solaris 10 stock gcc.
>
># gcc -v
>
>IReading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
>Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
>--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
>--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
>--enable-shared
>Thread model: posix
>gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
>
>For openssl, I compiled it like:
>./config -fPIC shared no-idea
>make
>make test
>make install
>
>
>Lisandro Grullon wrote:
>
>  
>
>>Andrea, can you point me in the right direction where to find the compiler to supportamd64. thanks.
>>
>>
>>
>>    
>>
>
>  
>

--

°(((=((===°°°(((===========================================

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Having problem compillin in solaris 10.

Lisandro Grullon
In reply to this post by Lisandro Grullon
Hi Andreas,

Excellent explanation, now I see the picture more clear, I believe it was some of my path that were missing in my .profile. Taking a look at your explanation, things make more sense now. Thanks for sharing your thoughts. Lisandro

-----------------------------------------------------------------------------------------------------------------------
Lisandro Grullon
New York City College of Technology
Division of Continuing Education
Director of Network Operations
Lisandro Office:    1718-552-1178
Lisandro E-mail:   [hidden email]

       
Famous people:   Name | Nationality | Occupation | Date | Curiosity
 Authors > Fra Fra > Francis Scott Fitzgerald
1-10 Quotations of 79
Francis Scott Fitzgerald quotes
bookmark email link cite
American Writer and Author of The Great Gatsby. 1896-1940
Francis Scott Fitzgerald quotes
Popularity:
Francis Scott Fitzgerald popularity 6/10
Collect your favorite quotes in your online Quotations Book for FREE!
Please Register!
close
    I Like this quote I dislike this quote"The world only exists in your eyes. You can make it as big or as small as you want."
 sarahd42

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"In the real dark night of the soul it is always three o' clock in the morning, day after day."
 no_echo

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"You don't write because you want to say something, you write because you have something to say."

 Francis Scott Fitzgerald quotes
Similar Quotes. About: Writing quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"Whenever you feel like criticising anyone, just remember that all the people in this world haven't had the advantages that you've had."
 luca

 Francis Scott Fitzgerald quotes
Similar Quotes.
 Add to my book
                                               
 
    I Like this quote I dislike this quote"Either you think or else others have to think for you and take power from you."  Francis Scott Fitzgerald

>>> Andreas Almroth <[hidden email]> 09/02/05 11:12 AM >>>
Hi,

First; are you using the right PATH to the compilers? as in
/opt/SUNWspro/bin or /usr/sfw/bin before any other path to other
locations of gcc?
for Sun CC I suggest;
export PATH=/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin
gcc:
export PATH=/usr/bin:/usr/sfw/bin:/usr/ccs/bin

Next, when using Sun CC you must supply -xarch=amd64 for producing
64-bit amd64 version1 binaries.
Also, make sure your linker is aware of the 64-bit paths;
-R/usr/lib/64 -L/usr/lib/64 or -R/usr/sfw/lib/amd64 -L/usr/sfw/lib/amd64
alternatively, use $ISALIST for automatic detection at run-time.
I usually use the LD_OPTIONS environment variable when building for CSW,
so first do;
export LD_OPTIONS='-R/usr/lib/$ISALIST -L/usr/lib/amd64'
or with sfw...

/usr/sfw/bin/gcc compiles amd64 just fine, so I'm fairly convinced it is
your paths that point to the gcc that can't do 64-bit.

/Andreas



Lisandro Grullon wrote:

>Hi Andrea,
>
>I installed the Sun C compiler suite as you pointed out; however, after defining the path as suggested by the Sun C compiler instructions things still not working properly and I still getting the same compilation error. I also checked in /usr/sfw/bin for my gcc compiler and I see that it is there; however, it doesn't seem to be compiling via the -m64 option. This is so weird, whoever design these compilers should make the stuff work automatically if I am working in either 32 or 64 bit architecture. Ohhh well, this is the error (same) as my previous. Any other sugestions to get this going?
>
>bash-3.00# make
>making all in crypto...
>( echo "#ifndef MK1MF_BUILD"; \
>echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
>echo '  #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM"'; \
>echo '  #define PLATFORM "solaris64-x86_64-gcc"'; \
>echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
>echo '#endif' ) >buildinf.h
>gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM  -c  cryptlib.c
>cc1: sorry, unimplemented: 64-bit mode not compiled in
>*** Error code 1
>make: Fatal error: Command failed for target `cryptlib.o'
>Current working directory /download/openssl-0.9.8/crypto
>*** Error code 1
>The following command caused the error:
>dir=crypto; target=all; if [ -d "$dir" ]; then  (       cd $dir && echo "making $target in $dir..." &&  TOP= && unset TOP ${LIB+LIB} ${LIBS+LIBS}        ${INCLUDE+INCLUDE} ${INCLUDES+INCLUDES}         ${DIR+DIR} ${DIRS+DIRS} ${SRC+SRC}              ${LIBSRC+LIBSRC} ${LIBOBJ+LIBOBJ} ${ALL+ALL}    ${EXHEADER+EXHEADER} ${HEADER+HEADER}           ${GENERAL+GENERAL} ${CFLAGS+CFLAGS}             ${ASFLAGS+ASFLAGS} ${AFLAGS+AFLAGS}             ${LDCMD+LDCMD} ${LDFLAGS+LDFLAGS}               ${SHAREDCMD+SHAREDCMD} ${SHAREDFLAGS+SHAREDFLAGS}       ${SHARED_LIB+SHARED_LIB} ${LIBEXTRAS+LIBEXTRAS} && make -e PLATFORM='solaris64-x86_64-gcc' PROCESSOR=''  CC='gcc' CFLAG='-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM'                        AS='gcc' ASFLAG='-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM -c'                     AR='ar  r' PERL='/usr/bin/perl' RANLIB='/usr/ccs/bin/ranlib'    SDIRS='objects  md2 md4 md5 sha hmac ripemd  des aes rc2 rc4 idea bf cast  bn ec rsa dsa ecdsa dh ecdh dso engine  buffer bio stack lhash rand err  evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp ui krb5  store pqueue' LIBRPATH='/usr/local/ssl/lib'    INSTALL_PREFIX=''               INSTALLTOP='/usr/local/ssl' OPENSSLDIR='/usr/local/ssl'         MAKEDEPEND='$${TOP}/util/domd $${TOP} -MD gcc'  DEPFLAG='-DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_GMP -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5'   MAKEDEPPROG='gcc'                       SHARED_LDFLAGS='-m64 -shared -static-libgcc'            KRB5_INCLUDES='' LIBKRB5=''     EXE_EXT='' SHARED_LIBS=''       SHLIB_EXT='.so.0.9.8' SHLIB_TARGET='solaris-shared'     PEX_LIBS='' EX_LIBS='-lsocket -lnsl -ldl'       CPUID_OBJ='x86_64cpuid.o'                       BN_ASM='x86_64-gcc.o' DES_ENC='des_enc.o fcrypt_b.o'    AES_ASM_OBJ='aes_core.o aes_cbc.o'                      BF_ENC='bf_enc.o' CAST_ENC='c_enc.o'    RC4_ENC='rc4-x86_64.o' RC5_ENC='rc5_enc.o'      SHA1_ASM_OBJ=''                         MD5_ASM_OBJ='md5-x86_64.o'                      RMD160_ASM_OBJ=''               THIS=${THIS:-build_crypto} MAKEFILE=Makefile MAKEOVERRIDES= TOP=.. DIR=$dir $target  ) || exit 1;  fi
>make: Fatal error: Command failed for target `build_crypto'
>
>
>Thanks Andrea and Sean for replying.
>
>-----------------------------------------------------------------------------------------------------------------------
>Lisandro Grullon
>New York City College of Technology
>Division of Continuing Education
>Director of Network Operations
>Lisandro Office:    1718-552-1178
>Lisandro E-mail:   [hidden email]
>
>
>Famous people:   Name | Nationality | Occupation | Date | Curiosity
> Authors > Fra Fra > Francis Scott Fitzgerald
>1-10 Quotations of 79
>Francis Scott Fitzgerald quotes
>bookmark email link cite
>American Writer and Author of The Great Gatsby. 1896-1940
>Francis Scott Fitzgerald quotes
>Popularity:
>Francis Scott Fitzgerald popularity 6/10
>Collect your favorite quotes in your online Quotations Book for FREE!
>Please Register!
>close
>    I Like this quote I dislike this quote"The world only exists in your eyes. You can make it as big or as small as you want."
> sarahd42
>
> Francis Scott Fitzgerald quotes
>Similar Quotes.
> Add to my book
>
>
>    I Like this quote I dislike this quote"In the real dark night of the soul it is always three o' clock in the morning, day after day."
> no_echo
>
> Francis Scott Fitzgerald quotes
>Similar Quotes.
> Add to my book
>
>
>    I Like this quote I dislike this quote"You don't write because you want to say something, you write because you have something to say."
>
> Francis Scott Fitzgerald quotes
>Similar Quotes. About: Writing quotes.
> Add to my book
>
>
>    I Like this quote I dislike this quote"Whenever you feel like criticising anyone, just remember that all the people in this world haven't had the advantages that you've had."
> luca
>
> Francis Scott Fitzgerald quotes
>Similar Quotes.
> Add to my book
>
>
>    I Like this quote I dislike this quote"Either you think or else others have to think for you and take power from you."  Francis Scott Fitzgerald
>
>  
>
>>>>[hidden email] 09/02/05 9:50 AM >>>
>>>>        
>>>>
>Hi,
>
>For the Sun C compiler suite;
>http://www.opensolaris.org/os/community/tools/sun_studio_tools/ 
>(Check license terms though)
>
>The GCC for amd64 may be installed on your system in /usr/sfw, in the
>case you have installed Companion CD I believe.
>Else, you will have to install it from CD, or compile GCC yourself with
>the "-target x86_64" specified.
>I'm not sure about other distributions...
>
>Good luck,
>Andreas
>
>
>
>
>Lisandro Grullon wrote:
>
>  
>
>>Andrea, can you point me in the right direction where to find the compiler to supportamd64. thanks.
>>
>>-----------------------------------------------------------------------------------------------------------------------
>>Lisandro Grullon
>>New York City College of Technology
>>Division of Continuing Education
>>Director of Network Operations
>>Lisandro Office:    1718-552-1178
>>Lisandro E-mail:   [hidden email]
>>"Unix is user-friendly. It's just very selective about who its friends are."
>>
>>
>>
>>    
>>
>>>>>[hidden email] 09/01/05 2:48 AM >>>
>>>>>      
>>>>>
>>>>>          
>>>>>
>>Lisandro Grullon wrote:
>>
>>
>>
>>    
>>
>>>Hi there,
>>>
>>>I am having some issues compiling openssl 0.9.8. Bellow I am pasting the output of the errors. I apreciate your help. I am running Solaris 10 x86 opteron.
>>>
>>>
>>>
>>>  
>>>
>>>      
>>>
>><snip>
>>
>>
>>
>>    
>>
>>>echo '#endif' ) >buildinf.h
>>>gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM  -c  cryptlib.c
>>>cc1: sorry, unimplemented: 64-bit mode not compiled in
>>>*** Error code 1
>>>make: Fatal error: Command failed for target `cryptlib.o'
>>>Current working directory /export/download/openssl-0.9.8/crypto
>>>*** Error code 1
>>>
>>>
>>>  
>>>
>>>      
>>>
>>Well, the message is clear, gcc does not support the 64-bit target in
>>this case. You could try to compile it with Sun's C compiler, it has
>>full support for amd64 target, or alternatively you find a gcc
>>distribution that has support for amd64 compiled in.
>>The Sun C compiler is free for use in open-source projects, such as
>>opensolaris, so you might be eligble for free download.
>>
>>/Andreas
>>
>>
>>
>>______________________________________________________________________
>>OpenSSL Project                                 http://www.openssl.org 
>>User Support Mailing List                    [hidden email]
>>Automated List Manager                           [hidden email]
>>
>>______________________________________________________________________
>>OpenSSL Project                                 http://www.openssl.org 
>>User Support Mailing List                    [hidden email]
>>Automated List Manager                           [hidden email]
>>
>>
>>
>>
>>
>>    
>>
>
>
>  
>


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]