#15 sunOs 5.6 compile failure

open
nobody
None
5
2012-09-14
2004-08-26
Jari Aalto
No

Attached log from compile failure under SunOs 2.6

host:~/tmp/compile/libmcrypt-2.5.7$ ./configure && make
checking build system type... sparc-sun-solaris2.6
checking host system type... sparc-sun-solaris2.6
checking target system type... sparc-sun-solaris2.6
checking for a BSD-compatible install...
/usr/local/bin/install -c
checking whether build environment is sane... yes
checking for gawk... /usr/local/bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output... 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 style of include used by make... GNU
checking dependency style of gcc... gcc
checking for a BSD-compatible install...
/usr/local/bin/install -c
checking whether ln -s works... yes
checking whether in maintanance mode... no
checking whether in dmalloc mode... no
checking whether to enable dynamic module loading... no


*** Dynamic loading has been disabled
checking which algorithms to include into library... cbc
cfb ctr ecb ncfb nofb \ ofb stream threeway cast-128 gost rijndael-128
safer-sk64 twofish arcfour cast\ -256 loki97 rijndael-192 saferplus wake blowfish-compat
des rijndael-256 serpe\ nt xtea blowfish enigma rc2 safer-sk128 tripledes
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking for inline... inline
checking for an ANSI C-conforming const... 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... no
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking for sys/types.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libmcrypt.spec
config.status: creating lib/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating modules/Makefile
config.status: creating modules/modes/Makefile
config.status: creating modules/algorithms/Makefile

checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for bzero... yes
checking for memset... yes
checking for mlock... yes
checking for readdir_r... yes
checking for readdir... yes
checking for memmove... yes
checking for bcopy... yes
checking whether byte ordering is bigendian... yes
checking for unsigned long int... yes
checking size of unsigned long int... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned short int... yes
checking size of unsigned short int... 2
checking for unsigned char... yes
checking size of unsigned char... 1
checking for ld used by GCC...
/usr/local/sparc-sun-solaris2.6/bin/ld
checking if the linker (/usr/local/sparc-sun-solaris2.
6/bin/ld) is GNU ld... ye\ s
checking for /usr/local/sparc-sun-solaris2.6/bin/ld option
to reload object fil\ es... -r
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking for a sed that does not truncate output...
/usr/xpg4/bin/sed
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/local/bin/nm -B output...
ok
checking for dlfcn.h... (cached) yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker
(/usr/local/sparc-sun-solaris2.6/bin/ld) supports s\ hared libraries... yes
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... solaris2.6 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries...
checking whether -lc should be explicitly linked in... yes
creating libtool
config.status: creating lib/mcrypt.h
config.status: creating lib/libmcrypt-config
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
make all-recursive
make[1]: Entering directory
/mnt/cc/staff-f/jaalto/tmp/compile/libmcrypt-2.5.7\ ' Making all in modules make[2]: Entering directory/mnt/cc/staff-f/jaalto/tmp/compile/libmcrypt-2.5.7\ /modules'
Making all in algorithms
make[3]: Entering directory
/mnt/cc/staff-f/jaalto/tmp/compile/libmcrypt-2.5.7\ /modules/algorithms' source='3-way.c' object='3-way.lo' libtool=yes \ depfile='.deps/3-way.Plo' tmpdepfile='.deps/3-way.TPlo' \ depmode=gcc /bin/bash ../../depcomp \ /bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.\ -I../.. -I../../lib -g -O2 -c -o 3-way.lotest -f
'3-way.c' || echo './'`\ 3-way.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../.. -I../../lib
-g -O2 -c 3-way.c -\ Wp,-MD,.deps/3-way.TPlo -fPIC -DPIC -o 3-way.lo
/bin/bash ../../libtool --mode=link gcc -g -O2 -o
threeway.la -module -avoi\ d-version -rpath /usr/local/lib/libmcrypt 3-way.lo
mkdir .libs

[ ... clip ... ]

rm -fr .libs/libmcrypt.la .libs/libmcrypt. .libs/libmcrypt.
(cd . && ln -s mcrypt_extra.lo mcrypt_extra.o)
(cd . && ln -s mcrypt.lo mcrypt.o)
(cd . && ln -s bzero.lo bzero.o)
(cd . && ln -s xmemory.lo xmemory.o)
(cd . && ln -s mcrypt_modules.lo mcrypt_modules.o)
(cd . && ln -s win32_comp.lo win32_comp.o)
(cd . && ln -s mcrypt_threads.lo mcrypt_threads.o)
(cd . && ln -s mcrypt_symb.lo mcrypt_symb.o)
gcc -shared mcrypt_extra.lo mcrypt.lo bzero.lo xmemory.
lo mcrypt_modules.lo wi\ n32_comp.lo mcrypt_threads.lo mcrypt_symb.lo -lc -Wl,
-soname -Wl,libmcrypt.so\ .4 -Wl,-retain-symbols-file -Wl,libmcrypt.sym -o .
libs/libmcrypt.so.4.4.7
(cd .libs && rm -f libmcrypt.so.4 && ln -s libmcrypt.so.4.4.
7 libmcrypt.so.4)
(cd .libs && rm -f libmcrypt.so && ln -s libmcrypt.so.4.4.7
libmcrypt.so)
creating libmcrypt.la
(cd .libs && rm -f libmcrypt.la && ln -s ../libmcrypt.la
libmcrypt.la)
make[2]: Leaving directory
/mnt/cc/staff-f/jaalto/tmp/compile/libmcrypt-2.5.7/\ lib' Making all in src make[2]: Entering directory/mnt/cc/staff-f/jaalto/tmp/compile/libmcrypt-2.5.7\ /src'
source='cipher_test.c' object='cipher_test.o' libtool=no \ depfile='.deps/cipher_test.Po' tmpdepfile='.
deps/cipher_test.TPo' \ depmode=gcc /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c test -f 'cipher_test.c' || echo\ './'cipher_test.c
/bin/bash ../libtool --mode=link gcc -g -O2 -o
ciphertest cipher_test.o ../\ lib/libmcrypt.la
mkdir .libs
gcc -g -O2 -o .libs/ciphertest cipher_test.o ../lib/.
libs/libmcrypt.so -Wl,--r\ path -Wl,/usr/local/lib
../lib/.libs/libmcrypt.so: undefined reference to
enigma_LTX__mcrypt_get_size' ../lib/.libs/libmcrypt.so: undefined reference toctr_LTXmdecrypt'
../lib/.libs/libmcrypt.so: undefined reference to
saferplus_LTX__mcrypt_algori\ thm_version' ../lib/.libs/libmcrypt.so: undefined reference toncfb_LTX
end_mcrypt'
../lib/.libs/libmcrypt.so: undefined reference to
ctr_LTX__mcrypt_mode_get_siz\ e' ../lib/.libs/libmcrypt.so: undefined reference tonofb_LTXmcrypt_get_modes_n\ ame'
../lib/.libs/libmcrypt.so: undefined reference to
`twofish_LTX
mcrypt_encrypt'

[ ... and the error list would go on ... ]

Discussion

  • Oliver Fischer
    Oliver Fischer
    2005-09-26

    Logged In: YES
    user_id=545205

    Hello,

    I am having exactly the same problem. Does someone know, how
    I can compilte libmcrypt under SunOS 5.8?