Ticket #11 (closed defect)

Opened 11 years ago

Last modified 10 years ago

Can not make in Solaris10 gcc version 3.4.3 OpenSSL 0.9.8a

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: Version:
Keywords: Cc: ptroot, aletellier, bagder
Blocked By: Blocks:

Description

Can not make in Solaris10 gcc version 3.4.3 OpenSSL
0.9.8a

Dump below

./configure --with-openssl=/usr/local/ssl
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for gcc... gcc
checking for C compiler default output file name...
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none
needed
checking for socket in -lsocket... yes
checking for ceil in -lm... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler...
(cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached)
none needed
checking for a BSD-compatible install... ./install-
sh -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking whether byte ordering is bigendian... yes
checking for pkg-config... /bin/pkg-config
checking for OpenSSL... Using explicit
path /usr/local/ssl
checking for libz... Found
in /usr/local/include /usr/local/lib
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for poll... yes
checking for gettimeofday... yes
checking for select... yes
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/libssh2_config.h
[bfiapps:/export/home/bfiapps/lib/libssh2-0.13]$ make
gcc -o channel.o channel.c -c -g -O2 -
I/usr/local/ssl/include -I/usr/local/include -Wall -
g -I../include/ -fPIC -lsocket
gcc: -lsocket: linker input file unused because
linking not done
gcc -o comp.o comp.c -c -g -O2 -
I/usr/local/ssl/include -I/usr/local/include -Wall -
g -I../include/ -fPIC -lsocket
gcc: -lsocket: linker input file unused because
linking not done
gcc -o crypt.o crypt.c -c -g -O2 -
I/usr/local/ssl/include -I/usr/local/include -Wall -
g -I../include/ -fPIC -lsocket
gcc: -lsocket: linker input file unused because
linking not done
gcc -o hostkey.o hostkey.c -c -g -O2 -
I/usr/local/ssl/include -I/usr/local/include -Wall -
g -I../include/ -fPIC -lsocket
gcc: -lsocket: linker input file unused because
linking not done
gcc -o kex.o kex.c -c -g -O2 -
I/usr/local/ssl/include -I/usr/local/include -Wall -
g -I../include/ -fPIC -lsocket
gcc: -lsocket: linker input file unused because
linking not done
gcc -o mac.o mac.c -c -g -O2 -
I/usr/local/ssl/include -I/usr/local/include -Wall -
g -I../include/ -fPIC -lsocket
gcc: -lsocket: linker input file unused because
linking not done
gcc -o misc.o misc.c -c -g -O2 -
I/usr/local/ssl/include -I/usr/local/include -Wall -
g -I../include/ -fPIC -lsocket
gcc: -lsocket: linker input file unused because
linking not done
gcc -o packet.o packet.c -c -g -O2 -
I/usr/local/ssl/include -I/usr/local/include -Wall -
g -I../include/ -fPIC -lsocket
gcc: -lsocket: linker input file unused because
linking not done
gcc -o publickey.o publickey.c -c -g -O2 -
I/usr/local/ssl/include -I/usr/local/include -Wall -
g -I../include/ -fPIC -lsocket
gcc: -lsocket: linker input file unused because
linking not done
gcc -o scp.o scp.c -c -g -O2 -
I/usr/local/ssl/include -I/usr/local/include -Wall -
g -I../include/ -fPIC -lsocket
gcc: -lsocket: linker input file unused because
linking not done
gcc -o session.o session.c -c -g -O2 -
I/usr/local/ssl/include -I/usr/local/include -Wall -
g -I../include/ -fPIC -lsocket
gcc: -lsocket: linker input file unused because
linking not done
gcc -o sftp.o sftp.c -c -g -O2 -
I/usr/local/ssl/include -I/usr/local/include -Wall -
g -I../include/ -fPIC -lsocket
gcc: -lsocket: linker input file unused because
linking not done
gcc -o userauth.o userauth.c -c -g -O2 -
I/usr/local/ssl/include -I/usr/local/include -Wall -
g -I../include/ -fPIC -lsocket
gcc: -lsocket: linker input file unused because
linking not done
gcc -o libssh2.so -shared -lsocket -lm channel.o
comp.o crypt.o hostkey.o kex.o mac.o misc.o packet.o
publickey.o scp.o session.o sftp.o userauth.o -
lsocket -L/usr/local/ssl/lib -lcrypto -
L/usr/local/lib -lz
Text relocation remains
referenced

against symbol offset in

file
<unknown>
0x0 /usr/local/ssl/lib/libcrypto.a(bn_mul.o)
........
ld: fatal: relocations remain against allocatable but
non-writable sections
collect2: ld returned 1 exit status
* Error code 1
make: Fatal error: Command failed for target
`libssh2.so'
Current working
directory /export/home/bfiapps/lib/libssh2-0.13/src
* Error code 1
The following command caused the error:
for dir in src/; do \

(cd $dir && make all) \

case "" in *k*) fail=yes;; *) exit 1;;

esac; \
done && test -z "$fail"
make: Fatal error: Command failed for target `all'

Change History

comment:1 Changed 11 years ago by ptroot

I have the same error with Solaris 8 and gcc 2.95.2

Tried both 0.13 and 0.12 versions.

comment:2 Changed 11 years ago by aletellier

Any updates in this open issue.

Thanks

comment:3 Changed 11 years ago by aletellier

FIXED in libssh2-0.14
with OpenSSL 0.9.8.c

Note: See TracTickets for help on using tickets.