i am trying to compile beecrypt 3.1.0 on DEC Alpha/Tru64 4.0F. But it doesn't work.
After extracting the tar-archive i changed to the working directory (.../beecrypt-3.1.0) and called the script configure. The output of the script is:
-----------------------------------------------
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... alphaev56-dec-osf4.0f
checking host system type... alphaev56-dec-osf4.0f
checking target system type... alphaev56-dec-osf4.0f
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... cc
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... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... tru64
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for AIX... no
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) no
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking dependency style of cc... (cached) tru64
checking how to run the C preprocessor... cc -E
checking whether we are using Compaq's C compiler... yes
checking for gawk... (cached) gawk
checking for a BSD-compatible install... ./install-sh -c
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
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... no
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... none
checking if cc static flag -non_shared works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... osf4.0f ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for ANSI C header files... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.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 malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking synch.h usability... no
checking synch.h presence... no
checking for synch.h... no
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking for library containing pthread_mutex_lock... no
checking aio.h usability... yes
checking aio.h presence... yes
checking for aio.h... yes
checking for library containing aio_read... -laio
checking whether aio works... no
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... __inline
checking for working memcmp... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for memset... yes
checking for memcmp... yes
checking for memmove... yes
checking for strcspn... yes
checking for strerror... yes
checking for strspn... yes
checking for gethrtime... no
checking for gettimeofday... yes
configure: checking for specific entropy devices...
configure: checking for generic entropy devices...
checking for /dev/random... no
checking for /dev/urandom... no
checking for /dev/tty... yes
checking how to switch to text segment... .text
checking how to declare a global symbol... .globl
checking if global symbols need leading underscore...
checking how to declare a local symbol... $
checking how to align symbols... .align 5
checking for size_t... yes
checking for int8_t... no
checking for signed char... yes
checking size of signed char... 1
checking for int16_t... no
checking for short... yes
checking size of short... 2
checking for int32_t... no
checking for int... yes
checking size of int... 4
checking for int64_t... no
checking for long... yes
checking size of long... 8
checking for uint8_t... no
checking for unsigned char... yes
checking size of unsigned char... 1
checking for uint16_t... no
checking for unsigned short... yes
checking size of unsigned short... 2
checking for uint32_t... no
checking for unsigned int... yes
checking size of unsigned int... 4
checking for uint64_t... no
checking for unsigned long... yes
checking size of unsigned long... 8
checking for unsigned long... (cached) yes
checking size of unsigned long... (cached) 8
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Doxyfile
config.status: creating beecrypt.gnu.h
config.status: creating config.m4
config.status: creating docs/Makefile
config.status: creating gas/Makefile
config.status: creating java/Makefile
config.status: creating masm/Makefile
config.status: creating python/Makefile
config.status: creating python/test/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing mpopt.alpha commands
-----------------------------------------------
After that i called make and got the following output including an error message:
-----------------------------------------------
make all-recursive
Making all in .
/bin/ksh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_ALPHA -pthread -fast -c -o aes.lo `test -f 'aes.c' || echo './'`aes.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_ALPHA -pthread -fast -c aes.c -DPIC -o .libs/aes.lo
mv -f .libs/aes.lo aes.o
(cd . && ln -s aes.o aes.lo)
/bin/ksh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_ALPHA -pthread -fast -c -o base64.lo `test -f 'base64.c' || echo './'`base64.c
rm -f .libs/base64.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_ALPHA -pthread -fast -c base64.c -DPIC -o .libs/base64.lo
mv -f .libs/base64.lo base64.o
(cd . && ln -s base64.o base64.lo)
/bin/ksh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_ALPHA -pthread -fast -c -o beecrypt.lo `test -f 'beecrypt.c' || echo './'`beecrypt.c
rm -f .libs/beecrypt.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_ALPHA -pthread -fast -c beecrypt.c -DPIC -o .libs/beecrypt.lo
cc: Error: fips186.h, line 58: Missing type specifier or type qualifier. (missingtype)
bc_lock_t lock;
--------^
cc: Error: mtprng.h, line 51: Missing type specifier or type qualifier. (missingtype)
bc_lock_t lock;
--------^
This is most likely due to a missing library in the detection of which thread library to use. I'll investigate and try to fix this during the upcoming weekend. Have to check if I still have access to a system on which I can run some tests...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
i am trying to compile beecrypt 3.1.0 on DEC Alpha/Tru64 4.0F. But it doesn't work.
After extracting the tar-archive i changed to the working directory (.../beecrypt-3.1.0) and called the script configure. The output of the script is:
-----------------------------------------------
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... alphaev56-dec-osf4.0f
checking host system type... alphaev56-dec-osf4.0f
checking target system type... alphaev56-dec-osf4.0f
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... cc
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... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... tru64
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for AIX... no
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) no
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking dependency style of cc... (cached) tru64
checking how to run the C preprocessor... cc -E
checking whether we are using Compaq's C compiler... yes
checking for gawk... (cached) gawk
checking for a BSD-compatible install... ./install-sh -c
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
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... no
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... none
checking if cc static flag -non_shared works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... osf4.0f ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for ANSI C header files... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.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 malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking synch.h usability... no
checking synch.h presence... no
checking for synch.h... no
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking for library containing pthread_mutex_lock... no
checking aio.h usability... yes
checking aio.h presence... yes
checking for aio.h... yes
checking for library containing aio_read... -laio
checking whether aio works... no
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... __inline
checking for working memcmp... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for memset... yes
checking for memcmp... yes
checking for memmove... yes
checking for strcspn... yes
checking for strerror... yes
checking for strspn... yes
checking for gethrtime... no
checking for gettimeofday... yes
configure: checking for specific entropy devices...
configure: checking for generic entropy devices...
checking for /dev/random... no
checking for /dev/urandom... no
checking for /dev/tty... yes
checking how to switch to text segment... .text
checking how to declare a global symbol... .globl
checking if global symbols need leading underscore...
checking how to declare a local symbol... $
checking how to align symbols... .align 5
checking for size_t... yes
checking for int8_t... no
checking for signed char... yes
checking size of signed char... 1
checking for int16_t... no
checking for short... yes
checking size of short... 2
checking for int32_t... no
checking for int... yes
checking size of int... 4
checking for int64_t... no
checking for long... yes
checking size of long... 8
checking for uint8_t... no
checking for unsigned char... yes
checking size of unsigned char... 1
checking for uint16_t... no
checking for unsigned short... yes
checking size of unsigned short... 2
checking for uint32_t... no
checking for unsigned int... yes
checking size of unsigned int... 4
checking for uint64_t... no
checking for unsigned long... yes
checking size of unsigned long... 8
checking for unsigned long... (cached) yes
checking size of unsigned long... (cached) 8
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Doxyfile
config.status: creating beecrypt.gnu.h
config.status: creating config.m4
config.status: creating docs/Makefile
config.status: creating gas/Makefile
config.status: creating java/Makefile
config.status: creating masm/Makefile
config.status: creating python/Makefile
config.status: creating python/test/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing mpopt.alpha commands
-----------------------------------------------
After that i called make and got the following output including an error message:
-----------------------------------------------
make all-recursive
Making all in .
/bin/ksh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_ALPHA -pthread -fast -c -o aes.lo `test -f 'aes.c' || echo './'`aes.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_ALPHA -pthread -fast -c aes.c -DPIC -o .libs/aes.lo
mv -f .libs/aes.lo aes.o
(cd . && ln -s aes.o aes.lo)
/bin/ksh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_ALPHA -pthread -fast -c -o base64.lo `test -f 'base64.c' || echo './'`base64.c
rm -f .libs/base64.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_ALPHA -pthread -fast -c base64.c -DPIC -o .libs/base64.lo
mv -f .libs/base64.lo base64.o
(cd . && ln -s base64.o base64.lo)
/bin/ksh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_ALPHA -pthread -fast -c -o beecrypt.lo `test -f 'beecrypt.c' || echo './'`beecrypt.c
rm -f .libs/beecrypt.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_ALPHA -pthread -fast -c beecrypt.c -DPIC -o .libs/beecrypt.lo
cc: Error: fips186.h, line 58: Missing type specifier or type qualifier. (missingtype)
bc_lock_t lock;
--------^
cc: Error: mtprng.h, line 51: Missing type specifier or type qualifier. (missingtype)
bc_lock_t lock;
--------^
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
-----------------------------------------------
Do you have an idea what went wrong ?
Thanks
Alex
This is most likely due to a missing library in the detection of which thread library to use. I'll investigate and try to fix this during the upcoming weekend. Have to check if I still have access to a system on which I can run some tests...