make all-recursive make[1]: 进入目录“/root/leptonica-1.78.0” Making all in src make[2]: 进入目录“/root/leptonica-1.78.0/src” CC jpegio.lo In file included from alltypes.h:37:0, from allheaders.h:35, from jpegio.c:135: environ.h:264:23: error: expected identifier before numeric constant #define FALSE 0 ^ make[2]: *** [jpegio.lo] 错误 1 make[2]: 离开目录“/root/leptonica-1.78.0/src” make[1]: *** [all-recursive] 错误 1 make[1]: 离开目录“/root/leptonica-1.78.0” make: *** [all] 错误 2

时间: 2024-02-24 22:54:39 浏览: 37
这个错误可能是因为您正在使用的Leptonica版本与您的系统不兼容。您可以尝试使用较旧或较新版本的Leptonica,或者检查您的系统环境是否正确设置。 此外,您还可以尝试使用以下命令清除Leptonica的编译缓存并重新编译: ``` make clean make ``` 这将清除以前的编译文件并重新编译Leptonica。如果问题仍然存在,请提供更多上下文信息,以便我们更好地了解您的情况。
相关问题

[root@localhost freeswitch-1.10.2.-release]# make && make install make all-recursive make[1]: 进入目录“/usr/local/freeswitch-1.10.2.-release” Making all in . make[2]: 进入目录“/usr/local/freeswitch-1.10.2.-release” make[2]: 离开目录“/usr/local/freeswitch-1.10.2.-release” Making all in src make[2]: 进入目录“/usr/local/freeswitch-1.10.2.-release/src” Making all in mod make[3]: 进入目录“/usr/local/freeswitch-1.10.2.-release/src/mod” making all mod_amr make[4]: 进入目录“/usr/local/freeswitch-1.10.2.-release/src/mod/codecs/mod_amr” make[4]: 对“all”无需做任何事。 make[4]: 离开目录“/usr/local/freeswitch-1.10.2.-release/src/mod/codecs/mod_amr” making all mod_av make[4]: 进入目录“/usr/local/freeswitch-1.10.2.-release/src/mod/applications/mod_av” Makefile:1396: *** You must install libavformat-dev to build mod_av。 停止。 make[4]: 离开目录“/usr/local/freeswitch-1.10.2.-release/src/mod/applications/mod_av” make[3]: *** [Makefile:701:mod_av-all] 错误 1 make[3]: 离开目录“/usr/local/freeswitch-1.10.2.-release/src/mod” make[2]: *** [Makefile:607:all-recursive] 错误 1 make[2]: 离开目录“/usr/local/freeswitch-1.10.2.-release/src” make[1]: *** [Makefile:3575:all-recursive] 错误 1 make[1]: 离开目录“/usr/local/freeswitch-1.10.2.-release” make: *** [Makefile:1290:all] 错误 2

根据提示,你需要安装 libavformat-dev 才能构建 mod_av。你可以尝试使用以下命令安装它: ```bash sudo apt-get install libavformat-dev ``` 然后再次运行 `make && make install` 命令。如果还有其他的依赖项缺失,同样需要先安装它们才能构建成功。

creating fsxs make[2]: 离开目录“/usr/local/freeswitch-1.10.2.-release” Making all in src make[2]: 进入目录“/usr/local/freeswitch-1.10.2.-release/src” Making all in mod make[3]: 进入目录“/usr/local/freeswitch-1.10.2.-release/src/mod” making all mod_amr make[4]: 进入目录“/usr/local/freeswitch-1.10.2.-release/src/mod/codecs/mod_amr” CC mod_amr_la-mod_amr.lo CCLD mod_amr.la make[4]: 离开目录“/usr/local/freeswitch-1.10.2.-release/src/mod/codecs/mod_amr” making all mod_av make[4]: 进入目录“/usr/local/freeswitch-1.10.2.-release/src/mod/applications/mod_av” Makefile:1396: *** You must install libavformat-dev to build mod_av。 停止。 make[4]: 离开目录“/usr/local/freeswitch-1.10.2.-release/src/mod/applications/mod_av” make[3]: *** [Makefile:701:mod_av-all] 错误 1 make[3]: 离开目录“/usr/local/freeswitch-1.10.2.-release/src/mod” make[2]: *** [Makefile:607:all-recursive] 错误 1 make[2]: 离开目录“/usr/local/freeswitch-1.10.2.-release/src” make[1]: *** [Makefile:3575:all-recursive] 错误 1 make[1]: 离开目录“/usr/local/freeswitch-1.10.2.-release” make: *** [Makefile:1290:all] 错误 2

这个错误提示是因为在编译mod_av时缺少libavformat-dev库。你需要安装libavformat-dev库,可以使用以下命令来安装: ``` sudo apt-get install libavformat-dev ``` 安装完成后再重新编译freeswitch即可。

相关推荐

sudo make install Making install in libfcgi make[1]: Entering directory '/home/yk/fcgi-2.4.1-SNAP-0910052249/libfcgi' make[2]: Entering directory '/home/yk/fcgi-2.4.1-SNAP-0910052249/libfcgi' test -z "/home/yk/fcgi/lib" || mkdir -p -- "/home/yk/fcgi/lib" /bin/bash ../libtool --mode=install /usr/bin/install -c 'libfcgi.la' '/home/yk/fcgi/lib/libfcgi.la' /usr/bin/install -c .libs/libfcgi.so.0.0.0 /home/yk/fcgi/lib/libfcgi.so.0.0.0 (cd /home/yk/fcgi/lib && { ln -s -f libfcgi.so.0.0.0 libfcgi.so.0 || { rm -f libfcgi.so.0 && ln -s libfcgi.so.0.0.0 libfcgi.so.0; }; }) (cd /home/yk/fcgi/lib && { ln -s -f libfcgi.so.0.0.0 libfcgi.so || { rm -f libfcgi.so && ln -s libfcgi.so.0.0.0 libfcgi.so; }; }) /usr/bin/install -c .libs/libfcgi.lai /home/yk/fcgi/lib/libfcgi.la /usr/bin/install -c .libs/libfcgi.a /home/yk/fcgi/lib/libfcgi.a chmod 644 /home/yk/fcgi/lib/libfcgi.a arm-xilinx-linux-gnueabi-ranlib /home/yk/fcgi/lib/libfcgi.a ../libtool: line 6556: arm-xilinx-linux-gnueabi-ranlib: command not found /bin/bash ../libtool --mode=install /usr/bin/install -c 'libfcgi++.la' '/home/yk/fcgi/lib/libfcgi++.la' libtool: install: warning: relinking libfcgi++.la' (cd /home/yk/fcgi-2.4.1-SNAP-0910052249/libfcgi; /bin/bash ../libtool --tag=CXX --mode=relink arm-xilinx-linux-gnueabi-g++ -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/home/yk/sdk/sysroots/cortexa9t2hf-neon-xilinx-linux-gnueabi -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o libfcgi++.la -lfcgi -rpath /home/yk/fcgi/lib fcgio.lo ) arm-xilinx-linux-gnueabi-g++ -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/home/yk/sdk/sysroots/cortexa9t2hf-neon-xilinx-linux-gnueabi -shared -nostdlib /home/yk/sdk/sysroots/cortexa9t2hf-neon-xilinx-linux-gnueabi/usr/lib/crti.o /home/yk/sdk/sysroots/cortexa9t2hf-neon-xilinx-linux-gnueabi/usr/lib/arm-xilinx-linux-gnueabi/8.2.0/crtbeginS.o .libs/fcgio.o -Wl,--rpath -Wl,/home/yk/fcgi/lib -L/home/yk/fcgi/lib -lfcgi -L/home/yk/sdk/sysroots/x86_64-petalinux-linux/usr/lib/arm-xilinx-linux-gnueabi/gcc/arm-xilinx-linux-gnueabi/8.2.0 -L/home/yk/sdk/sysroots/cortexa9t2hf-neon-xilinx-linux-gnueabi/lib -L/home/yk/sdk/sysroots/cortexa9t2hf-neon-xilinx-linux-gnueabi/usr/lib/arm-xilinx-linux-gnueabi/8.2.0 -L/home/yk/sdk/sysroots/cortexa9t2hf-neon-xilinx-linux-gnueabi/usr/lib -lstdc++ -lm -lc -lgcc_s /home/yk/sdk/sysroots/cortexa9t2hf-neon-xilinx-linux-gnueabi/usr/lib/arm-xilinx-linux-gnueabi/8.2.0/crtendS.o /home/yk/sdk/sysroots/cortexa9t2hf-neon-xilinx-linux-gnueabi/usr/lib/crtn.o -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-soname -Wl,libfcgi++.so.0 -o .libs/libfcgi++.so.0.0.0 ../libtool: line 4501: arm-xilinx-linux-gnueabi-g++: command not found libtool: install: error: relink libfcgi++.la' with the above command before installing it Makefile:256: recipe for target 'install-libLTLIBRARIES' failed make[2]: *** [install-libLTLIBRARIES] Error 1 make[2]: Leaving directory '/home/yk/fcgi-2.4.1-SNAP-0910052249/libfcgi' Makefile:459: recipe for target 'install-am' failed make[1]: *** [install-am] Error 2 make[1]: Leaving directory '/home/yk/fcgi-2.4.1-SNAP-0910052249/libfcgi' Makefile:373: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1

最新推荐

recommend-type

开源、易集成的人脸识别系统

这个图人脸检测服务用于检测图像中的所有人脸。人脸验证可用于:当客户向您提供身份证或驾驶执照并且您需要验证这是否是他时、当用户将他的社交网络帐户连接到您的应用程序并且您想要验证这是否是他时。它能在图像上找到对应的人脸,可以用于收集有关您的商店在不同性别中受欢迎程度的统计数据、收集有关您的活动在哪些年龄段受欢迎的统计数据、获取地标信息以了解客户的视线、收集商店中有多少顾客的统计数据、识别所有顾客是否正确佩戴口罩。
recommend-type

实验3.circ(王龙建2310461170) (2).zip

实验3.circ(王龙建2310461170) (2).zip
recommend-type

STC89C51 简单时钟

STC89C51 简单时钟,叫你从基础开始学习单片机,
recommend-type

管理建模和仿真的文件

管理Boualem Benatallah引用此版本:布阿利姆·贝纳塔拉。管理建模和仿真。约瑟夫-傅立叶大学-格勒诺布尔第一大学,1996年。法语。NNT:电话:00345357HAL ID:电话:00345357https://theses.hal.science/tel-003453572008年12月9日提交HAL是一个多学科的开放存取档案馆,用于存放和传播科学研究论文,无论它们是否被公开。论文可以来自法国或国外的教学和研究机构,也可以来自公共或私人研究中心。L’archive ouverte pluridisciplinaire
recommend-type

MATLAB归一化方法大比拼:5种方法,哪种最适合你的数据?

![MATLAB归一化方法大比拼:5种方法,哪种最适合你的数据?](https://www.finebi.com/wp-content/uploads/2019/11/FineBI%E8%A1%8C%E4%B8%9A%E9%A9%BE%E9%A9%B6%E8%88%B1-1024x510.png) # 1. MATLAB归一化概述 归一化是一种数据预处理技术,用于将数据缩放到特定范围内,从而消除不同特征之间的尺度差异。在MATLAB中,有各种归一化方法可用于不同类型的数据和应用程序。 归一化的主要目的是: - 提高模型的训练效率和准确性,通过消除特征之间的尺度差异,使模型能够更有效地学习
recommend-type

failed to register layer: ApplyLayer exit status 1 stdout: stderr: archive/tar: invalid tar header

很抱歉听到这个问题。这个错误通常是由于Docker镜像损坏或Docker存储库中缺少所需的图层引起的。您可以尝试以下几种方法来解决这个问题: 1. 清理Docker镜像和容器:使用命令“docker system prune”清理不再使用的Docker对象。 2. 检查Docker存储库:确保您正在使用可靠的Docker存储库,并检查是否存在所有必需的图层。 3. 重新下载Docker镜像:如果您确定问题是由于损坏的Docker镜像引起的,则可以尝试重新下载Docker镜像。 4. 更新Docker版本:如果您使用的是旧版Docker,则可能会出现此问题。尝试更新到最新版本的Docke
recommend-type

Linux系统常用操作命令大全手册

附件是Linux系统常用操作命令大全手册,是 markdown格式,其中覆盖了Linux系统管理、文件操作、网络配置等多个方面,都是日常工作中非常常用的命令,欢迎大家下载学习使用!
recommend-type

"互动学习:行动中的多样性与论文攻读经历"

多样性她- 事实上SCI NCES你的时间表ECOLEDO C Tora SC和NCESPOUR l’Ingén学习互动,互动学习以行动为中心的强化学习学会互动,互动学习,以行动为中心的强化学习计算机科学博士论文于2021年9月28日在Villeneuve d'Asq公开支持马修·瑟林评审团主席法布里斯·勒菲弗尔阿维尼翁大学教授论文指导奥利维尔·皮耶昆谷歌研究教授:智囊团论文联合主任菲利普·普雷教授,大学。里尔/CRISTAL/因里亚报告员奥利维耶·西格德索邦大学报告员卢多维奇·德诺耶教授,Facebook /索邦大学审查员越南圣迈IMT Atlantic高级讲师邀请弗洛里安·斯特鲁布博士,Deepmind对于那些及时看到自己错误的人...3谢谢你首先,我要感谢我的两位博士生导师Olivier和Philippe。奥利维尔,"站在巨人的肩膀上"这句话对你来说完全有意义了。从科学上讲,你知道在这篇论文的(许多)错误中,你是我可以依
recommend-type

MATLAB归一化实战指南:从零到一,轻松提升模型性能

![MATLAB归一化实战指南:从零到一,轻松提升模型性能](https://pic1.zhimg.com/80/v2-fd366800ef0bdf29c804ce25c0276778_1440w.webp) # 1. 归一化的理论基础** 归一化是一种数据预处理技术,旨在将数据缩放到特定范围内,通常是[0, 1]或[-1, 1]。通过归一化,可以消除数据量纲上的差异,使不同特征具有可比性,从而提高机器学习模型的性能。 归一化背后的基本原理是,在训练机器学习模型时,模型的学习过程会受到数据分布的影响。如果数据分布不均匀,某些特征可能具有较大的值域,而其他特征的值域较小。这会导致模型在训练过
recommend-type

File path = new File(ResourceUtils.getURL("classpath:static").getPath());

这段代码的作用是获取项目中静态资源文件夹的路径,其中`ResourceUtils.getURL("classpath:static")`表示获取`classpath`下的`static`文件夹的URL,`getPath()`方法则将URL转换成文件路径。最终得到的`File`对象可以用于读取或写入静态资源文件。需要注意的是,这段代码只适用于Spring Boot项目,因为它使用了Spring的`ResourceUtils`类。如果不是Spring Boot项目,可能需要使用其他方式获取静态资源文件夹的路径。