Re: Having problem compillin in solaris 10.
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: [EMAIL PROTECTED] Unix is user-friendly. It's just very selective about who its friends are. [EMAIL PROTECTED] 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 Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: Having problem compillin in solaris 10.
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: [EMAIL PROTECTED] Unix is user-friendly. It's just very selective about who its friends are. [EMAIL PROTECTED] 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 Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] -- == http://www.almroth.com| Phone/Fax: +44 (0)700 397 3283 http://www.blastwave.org - maintainer | [EMAIL PROTECTED] == signature.asc Description: OpenPGP digital signature
Re: Having problem compillin in solaris 10.
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: [EMAIL PROTECTED] Unix is user-friendly. It's just very selective about who its friends are. [EMAIL PROTECTED] 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 Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] -- == http://www.almroth.com| Phone/Fax: +44 (0)700 397 3283 http://www.blastwave.org - maintainer | [EMAIL PROTECTED] == -- 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 Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: Having problem compillin in solaris 10.
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. -- °(((=((===°°°(((=== begin:vcard fn:Ricardo Stella n:Stella;Ricardo org:Rider University adr;dom:;;2083 Lawrenceville Rd;Lawrenceville;NJ;08648 version:2.1 end:vcard
Re: Having problem compillin in solaris 10.
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 Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: Having problem compillin in solaris 10.
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 -- °(((=((===°°°(((=== begin:vcard fn:Ricardo Stella n:Stella;Ricardo org:Rider University adr;dom:;;2083 Lawrenceville Rd;Lawrenceville;NJ;08648 version:2.1 end:vcard
Re: Having problem compillin in solaris 10.
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: [EMAIL PROTECTED] 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 quoteThe 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 quoteIn the real dark night of the soul it is always three o' clock in the morning, day after day. no_echo
Re: Having problem compillin in solaris 10.
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: [EMAIL PROTECTED] 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 quoteThe 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 quoteIn 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 quoteYou 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 quoteWhenever 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 quoteEither you think or else others have to think for you and take power from you. Francis Scott Fitzgerald [EMAIL PROTECTED] 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 Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: Having problem compillin in solaris 10.
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: [EMAIL PROTECTED] 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 quoteThe 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 quoteIn 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 quoteYou 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 quoteWhenever 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 quoteEither you think or else others have to think for you and take power from you. Francis Scott Fitzgerald [EMAIL PROTECTED] 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 Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: Having problem compillin in solaris 10.
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: [EMAIL PROTECTED]
Re: Having problem compillin in solaris 10.
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: [EMAIL PROTECTED] 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 quoteThe 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 quoteIn 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 quoteYou 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 quoteWhenever 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 quoteEither you think or else others have to think for you and take power from you. Francis Scott Fitzgerald [EMAIL PROTECTED] 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 Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: Having problem compillin in solaris 10.
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: [EMAIL PROTECTED] 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 quoteThe 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 quoteIn 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 quoteYou 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 quoteWhenever 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 quoteEither you think or else others have to think for you and take power from you. Francis Scott Fitzgerald Ricardo Stella [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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 quoteThe 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 quoteIn 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 quoteYou 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 quoteWhenever 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
Re: Having problem compillin in solaris 10.
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: [EMAIL PROTECTED] 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 quoteThe 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 quoteIn 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 quoteYou 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 quoteWhenever 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 quoteEither you think or else others have to think for you and take power from you. Francis Scott Fitzgerald Andreas Almroth [EMAIL PROTECTED] 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}