bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bc 1.06: "make timetest" fails with undefined CLOCKS_PER_SEC


From: Perry Hutchison
Subject: bc 1.06: "make timetest" fails with undefined CLOCKS_PER_SEC
Date: Sat, 24 Nov 01 17:51:12 PST

While trying to install GNU bc 1.06 for use in testing openssl, I have
encountered an undefined symbol.  This is the output from "make timetest":
------------------------------------------------------------------------
(cd lib; make specialnumber)
gcc -DHAVE_CONFIG_H  -I. -I.. -I./../h    -g -O2 -Wall -funsigned-char -c 
testmul.c
testmul.c:19: `CLOCKS_PER_SEC' undeclared here (not in a function)
testmul.c:19: initializer element is not constant
testmul.c: In function `out_of_memory':
testmul.c:27: warning: implicit declaration of function `fprintf'
testmul.c: In function `rt_error':
testmul.c:56: warning: implicit declaration of function `vsprintf'
testmul.c: In function `out_char':
testmul.c:98: warning: implicit declaration of function `_flsbuf'
testmul.c: In function `timeit':
testmul.c:111: warning: implicit declaration of function `clock'
testmul.c: In function `main':
testmul.c:153: `CLOCKS_PER_SEC' undeclared (first use this function)
testmul.c:153: (Each undeclared identifier is reported only once
testmul.c:153: for each function it appears in.)
testmul.c:191: warning: implicit declaration of function `printf'
*** Error code 1
make: Fatal error: Command failed for target `testmul.o'
Current working directory /var/spool/mail/gnu/bc/bc-1.06/lib
*** Error code 1
make: Fatal error: Command failed for target `timetest'
------------------------------------------------------------------------

"uname -a" reports "SunOS pluto 4.1.1_U1 8 sun3" and "gcc --version"
reports "2.7.2".  Here is the output from "sh ./configure":
------------------------------------------------------------------------
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for minix/config.h... no
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for a BSD compatible install... /bin/install -c
checking for ranlib... ranlib
checking whether make sets ${MAKE}... (cached) yes
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for limits.h... yes
checking for unistd.h... yes
checking for lib.h... no
checking for working const... yes
checking for ANSI C header files... no
checking for size_t... yes
checking for ptrdiff_t... yes
checking for vprintf... yes
checking for isgraph... yes
checking for setvbuf... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating bc/Makefile
creating dc/Makefile
creating doc/Makefile
creating lib/Makefile
creating config.h
------------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]