linux中编译出现问题
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
然后make
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
make就报错了。。。 好像configure就有错了
目录和里面的东西已经设置成777了 所以不会是权限问题
这是在linux中安装一个叫spro的东西
http://www.irisa.fr/metiss/guig/spro/install.html
按照官网的教程 下载4.0的安装之后出现的问题
实在是不懂c和c++
百度了半天也搞不懂为什么错。。。
请求大佬们帮帮忙 谢谢了!
相关推荐
linux内核编译——记一次owner 导致的make问题
问题描述及解决方案 系统环境:ubuntu16.04 在编译内核时遇到如下问题: book@www.100ask.org:/work/system/linux2.6/linux-2.6.22.6$ make CHK include/linux/version.h /bin/sh: 1: cannot create include/linux/version.h.tmp: Permission denied Makefile:906: recipe for target 'include/linux/version.h' failed make: *** [include/linux
编译Linux内核kernel时遇到的问题与解决方案
文章目录编译Linux内核kernel时遇到的问题与解决方案问题1:scripts/sign-file.c:25:10: fatal error: openss1/opensslv.h: No such file or directory解决方法:问题2:/bin/sh: 1: flex: not found解决方法问题3:/bin/sh: 1: bison: not found解决方法问题4:/hone/ysz/Desktop/os/linux-5.15.5/tools/objtool/include/o
linux程序编译的错误问题
linux程序编译的错误问题-需注意
不同版本Linux下基于libxml2的C编译问题解决
不同版本Linux下基于libxml2的C编译问题解决,解决libxml2的makefile编译问题,使用的是软链接。
Linux下源码编译安装PostgreSQL过程与问题总结
详细记录在Linux下源码编译安装PostgreSQL的过程与问题总结


其它技术问题
