写了一个新的食谱libmoose模块的perl,发现以下错误,任何人都可以请帮助修复它.
|x86_64-poky-linux-ld:无法识别的选项“-Wl,-O 1”| x86_64-poky-linux-ld:使用--help选项获取使用信息|无法执行x86_64-poky-linux-ld --sysroot=/yocto/build/tmp/sysroot/intel HASCOMPILERBD 9 Y/TESTyyC p.o -o HASCOMPILERBD 9 Y/TESTyyCp.so-Wl,-O 1-Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector -shared:Makefile.PL第12行的设备的ioctl不适当。|这个发行版需要Makefile.PL第12行的编译器。|警告:/yocto/build/tmp/work/core2-64-poky-linux/libmoose-perl/2.2014-r0/temp/run.do_configure.18534:1 $25从'perl Makefile.PL LDIRS =vendor'
以下是我的食谱:
SUMMARY = "Moose - modern Perl object system framework"
DESCRIPTION = "Moose is an extension of the Perl 5 object system. The main goal of Moose is to make Perl 5 Object Oriented programming easier, more consistent, and less tedious. With Moose you can think more about what you want to do and less about the mechanics of OOP."
SECTION = "libs"
HOMEPAGE = "http://metapan.org/release/Moo/"
LICENSE = "Artistic-1.0 | GPL-1.0+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=076f703723ade0a7205509c2b8d87fc2"
SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Moose-${PV}.tar.gz"
SRC_URI[md5sum] = "6d1e84977bc2a7d0e1111e16822fc250"
SRC_URI[sha256sum] = "33c75c11143d1943be9be61bb37e134fe4b0a316fa4494a380a2e3dd416f116a"
S = "${WORKDIR}/Moose-${PV}"
inherit cpan
字符串
1条答案
按热度按时间cczfrluj1#
-WL不是要传递给链接器。它是要由编译器gcc处理的。这样做:
第一个月
make
个