Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #66637

Programming openssl

From doctor@doctor.nl2k.ab.ca (The Doctor)
Newsgroups comp.lang.c
Subject Programming openssl
Date 2015-08-01 14:58 +0000
Organization NetKnow News
Message-ID <mpimqv$32d$1@ns2.nl2k.ab.ca> (permalink)

Show all headers | View raw


All right! 

I am trying to programme openssl and I am getting 

if [ -n "libcrypto.so.1.0.0 libssl.so.1.0.0" ]; then  (cd ..; make libcrypto.so.1.0.0);  fi
[ -z "" ] || gcc -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -pthread -D_THREAD_SAFE -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DPERL5 -DL_ENDIAN -DTERMIOS -fomit-frame-pointer -O2 -march=pentium3 -Wall -g -DOPENSSL_EXPERIMENTAL_JPAKE -DOPENSSL_EXPERIMENTAL_LIBUNBOUND -DOPENSSL_EXPERIMENTAL_STORE -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DGHASH_ASM -Iinclude  -DFINGERPRINT_PREMAIN_DSO_LOAD -o fips_premain_dso   fips_premain.c fipscanister.o  libcrypto.a -ldl -lm -lc
/usr/lib/libc.a(sha.o): In function `SHA':
sha.o(.text+0x0): multiple definition of `SHA'
libcrypto.a(sha_one.o):/usr/source/openssl-1.0.2-stable-SNAP-20150801/crypto/sha/sha_one.c:66: first defined here
ld: Warning: size of symbol `SHA' changed from 142 to 92 in /usr/lib/libc.a(sha.o)
/usr/lib/libc.a(malloc.o)(.text+0x16): undefined reference to `__progname'
/usr/lib/libc.a(malloc.o)(.text+0xe0): undefined reference to `__progname'
/usr/lib/libc.a(syslog.o): In function `vsyslog':
syslog.o(.text+0x3a5): undefined reference to `__progname'
/usr/lib/libc.a(getenv.o): In function `__findenv':
getenv.o(.text+0x65): undefined reference to `environ'
getenv.o(.text+0x72): undefined reference to `environ'
/usr/lib/libc.a(exec.o): In function `execl':
exec.o(.text+0x103): undefined reference to `environ'
/usr/lib/libc.a(exec.o): In function `execv':
exec.o(.text+0x26b): undefined reference to `environ'
/usr/lib/libc.a(exec.o): In function `execvp':
exec.o(.text+0x400): undefined reference to `environ'
/usr/lib/libc.a(exec.o)(.text+0x4da): more undefined references to `environ' follow
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

What do I need to fix this problem?
-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Abuse a man unjustly, and you will make friends for him.  -Edgar Watson Howe

Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Programming openssl doctor@doctor.nl2k.ab.ca (The Doctor) - 2015-08-01 14:58 +0000
  Re: Programming openssl raltbos@xs4all.nl (Richard Bos) - 2015-08-01 15:08 +0000
    Re: Programming openssl Keith Thompson <kst-u@mib.org> - 2015-08-01 13:18 -0700
      Re: Programming openssl raltbos@xs4all.nl (Richard Bos) - 2015-08-02 22:04 +0000
        Re: Programming openssl Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2015-08-03 00:45 -0400
          Re: Programming openssl raltbos@xs4all.nl (Richard Bos) - 2015-08-04 11:51 +0000
        Re: Programming openssl Keith Thompson <kst-u@mib.org> - 2015-08-03 12:24 -0700
        Re: Programming openssl Noob <root@127.0.0.1> - 2015-08-07 23:12 +0200
          Re: Programming openssl raltbos@xs4all.nl (Richard Bos) - 2015-08-22 13:37 +0000
            Re: Programming openssl Noob <root@127.0.0.1> - 2015-08-22 18:20 +0200
              The evils of GNU Noob <root@127.0.0.1> - 2015-08-23 10:31 +0200
                Re: The evils of GNU jacobnavia <jacob@jacob.remcomp.fr> - 2015-08-23 11:22 +0200
                Re: The evils of GNU Bartc <bc@freeuk.com> - 2015-08-23 10:34 +0100
                Re: The evils of GNU David Kleinecke <dkleinecke@gmail.com> - 2015-08-23 19:24 -0700
            Re: Programming openssl Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-06 13:34 -0700
  Re: Programming openssl Lőrinczy Zsigmond <nospam@for.me> - 2015-08-08 06:48 +0200

csiph-web