3,881
社区成员
发帖
与我相关
我的任务
分享
root@ubuntu:~/Desktop/spro-4.0# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/root/Desktop/spro-4.0/auxdir/missing: Unknown `--run' option
Try `/root/Desktop/spro-4.0/auxdir/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for AIX... no
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for library containing strerror... none required
checking for function prototypes... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for size_t... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 8
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdlib.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for string.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for vprintf... yes
checking for _doprnt... no
./configure: line 6057: CF_GCC_WARNINGS: command not found
checking if malloc debugging is wanted... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating auxdir/Makefile
config.status: creating test/Makefile
config.status: creating test/ref/Makefile
config.status: creating test/dat/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
root@ubuntu:~/Desktop/spro-4.0# make
make all-recursive
make[1]: Entering directory '/root/Desktop/spro-4.0'
Making all in doc
Making all in auxdir
make[2]: Entering directory '/root/Desktop/spro-4.0/auxdir'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/root/Desktop/spro-4.0/auxdir'
Making all in test
make[2]: Entering directory '/root/Desktop/spro-4.0/test'
Making all in ref
make[3]: Entering directory '/root/Desktop/spro-4.0/test/ref'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/root/Desktop/spro-4.0/test/ref'
Making all in dat
make[3]: Entering directory '/root/Desktop/spro-4.0/test/dat'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/root/Desktop/spro-4.0/test/dat'
make[3]: Entering directory '/root/Desktop/spro-4.0/test'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/root/Desktop/spro-4.0/test'
make[2]: Leaving directory '/root/Desktop/spro-4.0/test'
make[2]: Entering directory '/root/Desktop/spro-4.0'
gcc -g -O2 -o scopy scopy.o getopt.o getopt1.o -lm -L. -lspro
./libspro.a(misc.o): In function `spf_buf_normalize':
/root/Desktop/spro-4.0/misc.c:276: undefined reference to `sqrt'
/root/Desktop/spro-4.0/misc.c:185: undefined reference to `sqrt'
./libspro.a(misc.o): In function `set_lifter':
/root/Desktop/spro-4.0/misc.c:402: undefined reference to `sin'
./libspro.a(misc.o): In function `sig_normalize':
/root/Desktop/spro-4.0/misc.c:425: undefined reference to `sqrt'
./libspro.a(misc.o): In function `set_sig_win':
/root/Desktop/spro-4.0/misc.c:458: undefined reference to `cos'
/root/Desktop/spro-4.0/misc.c:473: undefined reference to `cos'
/root/Desktop/spro-4.0/misc.c:473: undefined reference to `cos'
/root/Desktop/spro-4.0/misc.c:465: undefined reference to `cos'
collect2: error: ld returned 1 exit status
Makefile:307: recipe for target 'scopy' failed
make[2]: *** [scopy] Error 1
make[2]: Leaving directory '/root/Desktop/spro-4.0'
Makefile:386: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/Desktop/spro-4.0'
Makefile:202: recipe for target 'all' failed
make: *** [all] Error 2