Martin.Rottler at nuernberger.de wrote:> I have problems compiling openssh-3-7-1p2 on Reliant UNIX. > (same problem with 3-7-1p1) > > first error was: > ../defines.h 144: [error] CFE1101 "int8_t" has already been declared in the > current scope > typedef char int8_t;The configure test tests for int8_t, int16_t and int32_t before defining HAVE_INTXX_T. Does your system define all three (possibly in /usr/include/sys/types.h)?> cc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o > sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib > -L/usr/local/lib -lssh -lopenbsd-compat -lz -lsocket -lnsl -lgen -lcrypto > Undefined first referenced > symbol in file > gmtime_r /usr/local/ssl/lib/libcrypto.a(o_time.o) > cma_sigaction > /usr/local/ssl/lib/libcrypto.a(ui_openssl.o) > ld: ssh: fatal error: Symbol referencing errors. No output written to ssh > make: *** Error code 1That looks like your libcrypto is compiled with the re-entrant (threaded) C library. Try adding "-lc_r" to your LDFLAGS or recompile OpenSSL with the same flags you're using with OpenSSH. Alternatively you could compile OpenSSH with -lc_r, however you might need to invoke your compiler as "cc_r" or something for that to work properly. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Martin.Rottler at nuernberger.de
2003-Oct-01 14:12 UTC
openssh-3-7-1p2 compiling problems on Reliant UNIX
Martin.Rottler at nuernberger.de wrote:> I have problems compiling openssh-3-7-1p2 on Reliant UNIX. > (same problem with 3-7-1p1) > > first error was: > ../defines.h 144: [error] CFE1101 "int8_t" has already been declared inthe> current scope > typedef char int8_t;The configure test tests for int8_t, int16_t and int32_t before defining HAVE_INTXX_T. Does your system define all three (possibly in /usr/include/sys/types.h)? --> solution: delete compiler test lines in defines.h for int8_t, int16_t, int32_t and int64_t> cc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o > sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib > -L/usr/local/lib -lssh -lopenbsd-compat -lz -lsocket -lnsl -lgen -lcrypto > Undefined first referenced > symbol in file > gmtime_r/usr/local/ssl/lib/libcrypto.a(o_time.o)> cma_sigaction > /usr/local/ssl/lib/libcrypto.a(ui_openssl.o) > ld: ssh: fatal error: Symbol referencing errors. No output written to ssh > make: *** Error code 1That looks like your libcrypto is compiled with the re-entrant (threaded) C library. Try adding "-lc_r" to your LDFLAGS or recompile OpenSSL with the same flags you're using with OpenSSH. Alternatively you could compile OpenSSH with -lc_r, however you might need to invoke your compiler as "cc_r" or something for that to work properly. --> solution: recompile OpenSSL with option "no-threads" (parameter to config) -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement. Hinweis:: Der Inhalt dieser Mail ist vertraulich und nur fuer den Adressaten bzw. dessen Vertreter/in bestimmt. Anderen Personen ist es nicht gestattet den Inhalt dieser Mail zu publizieren, zu verwerten, zu kopieren oder weiterzugeben. Falls Sie nicht der angegebene Adressat oder dessen Vertreter/in sind, dann senden Sie bitte die E-Mail mit einem Vermerk an den Absender zurueck (Antwort-Funktion bzw. reply email). Entfernen Sie bitte danach die Nachricht aus Ihrem System. Informationen oder sonstige Aussagen an den Adressaten unterliegen dem Recht des Geschaeftes, zu dem sie gegeben worden sind, insbesondere den Allgemeinen Geschaefts- bzw. Versicherungsbedingungen und gegebenenfalls einer individuellen Vereinbarung. Der Inhalt der E-Mail ist nur rechtsverbindlich, wenn wir ihn dem betreffenden Adressaten schriftlich bestaetigen.
Apparently Analagous Threads
- Antwort: Re: Antwort: Re: OpenSSL Installation Problem after Migration AIX 4.3.3 to AIX 5.2
- Re: [Omega-help] RSPython_0.3.0 on FreeBSD 4.*:
- Result: X11-Forwarding for Reliant UNIX (formerly SINIX)
- [Bug 893] With Reliant Unix (5.44/5.45) a connection fails if the host isnt known in DNS
- X11-Forwarding for Reliant UNIX (formerly SINIX)