<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[编译报错 libgettextlib.la failed]]></title><description><![CDATA[<pre><code>/usr/bin/ld: cannot find -lglib-2.0
/usr/bin/ld: cannot find -liconv
/usr/bin/ld: cannot find -lpcre
collect2: error: ld returned 1 exit status
Makefile:2532: recipe for target 'libgettextlib.la' failed
make[9]: *** [libgettextlib.la] Error 1
make[9]: Leaving directory '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6/gettext-tools/gnulib-lib'
Makefile:2284: recipe for target 'all' failed
make[8]: *** [all] Error 2
make[8]: Leaving directory '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6/gettext-tools/gnulib-lib'
Makefile:1716: recipe for target 'all-recursive' failed
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6/gettext-tools'
Makefile:1582: recipe for target 'all' failed
make[6]: *** [all] Error 2
make[6]: Leaving directory '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6/gettext-tools'
Makefile:380: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6'
Makefile:336: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6'
Makefile:78: recipe for target '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6/.built' failed
make[3]: *** [/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6/.built] Error 2
make[3]: Leaving directory '/home/jay/allwinner/Tina-Linux/package/libs/gettext-full'
package/Makefile:192: recipe for target 'package/libs/gettext-full/host/compile' failed
make[2]: *** [package/libs/gettext-full/host/compile] Error 2
make[2]: Leaving directory '/home/jay/allwinner/Tina-Linux'
package/Makefile:189: recipe for target '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/staging_dir/target/stamp/.package_compile' failed
make[1]: *** [/home/jay/allwinner/Tina-Linux/out/t113-mq_r/staging_dir/target/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/jay/allwinner/Tina-Linux'
/home/jay/allwinner/Tina-Linux/build/toplevel.mk:304: recipe for target 'world' failed
make: *** [world] Error 2
[2]+  Done                    $T/tools/build/buildserver --path $T 2&gt; /dev/null 1&gt;&amp;2

#### make failed to build some targets (01:25 (mm:ss)) ####

</code></pre>
<p dir="auto">各位大侠 这个错误怎么改，找了好久没找到源头</p>
]]></description><link>https://bbs.aw-ol.com/topic/4991/编译报错-libgettextlib-la-failed</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 01:57:24 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/4991.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Jan 2024 10:41:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 编译报错 libgettextlib.la failed on Wed, 31 Jan 2024 03:27:30 GMT]]></title><description><![CDATA[<p dir="auto">Ubuntu 22.04 / 20.04<br />
更新软件源，更新系统软件包</p>
<p dir="auto">sudo apt-get update<br />
sudo apt-get upgrade -y<br />
安装开发依赖</p>
<p dir="auto">sudo apt-get install build-essential subversion git libncurses5-dev zlib1g-dev gawk flex bison quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lsof<br />
安装相关工具</p>
<p dir="auto">sudo apt-get install kconfig-frontends android-tools-mkbootimg python2 libpython3-dev<br />
增加架构支持</p>
<p dir="auto">sudo dpkg --add-architecture i386<br />
sudo apt-get update<br />
安装支持包</p>
<p dir="auto">sudo apt install gcc-multilib<br />
sudo apt install libc6:i386 libstdc++6:i386 lib32z1<br />
Ubuntu 18.04<br />
更新软件源，更新系统软件包</p>
<p dir="auto">sudo apt-get update<br />
sudo apt-get upgrade -y<br />
安装开发依赖</p>
<p dir="auto">sudo apt-get install build-essential subversion git libncurses5-dev zlib1g-dev gawk flex bison quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lsof<br />
安装相关工具</p>
<p dir="auto">sudo apt-get install android-tools-mkbootimg libpython3-dev<br />
增加架构支持</p>
<p dir="auto">sudo dpkg --add-architecture i386<br />
sudo apt-get update<br />
安装支持包</p>
<p dir="auto">sudo apt install gcc-multilib<br />
sudo apt install libc6:i386 libstdc++6:i386 lib32z1<br />
Arch Linux / Manjaro<br />
更新软件源，更新系统软件包</p>
<p dir="auto">pacman -Syyuu<br />
安装开发依赖</p>
<p dir="auto">pacman -S --needed base-devel autoconf automake bash binutils bison bzip2 fakeroot file findutils flex gawk gcc gettext git grep groff gzip time unzip util-linux wget which zlib asciidoc help2man intltool perl-extutils-makemaker swig<br />
安装相关工具</p>
<p dir="auto">pacman -S --needed libelf libtool libxslt m4 make ncurses openssl patch pkgconf python rsync sed texinfo<br />
增加架构支持</p>
<p dir="auto">pacman -S --needed multilib-devel<br />
CentOS / Fedora / openEuler</p>
<p dir="auto">sudo dnf --setopt install_weak_deps=False --skip-broken install bash-completion bzip2 gcc gcc-c++ git make ncurses-devel patch rsync tar unzip wget which diffutils python2 python3 perl-base perl-Data-Dumper perl-File-Compare perl-File-Copy perl-FindBin perl-Thread-Queue glibc.i686<br />
openSUSE</p>
<p dir="auto">sudo zypper install --no-recommends asciidoc bash bc binutils bzip2 fastjar flex gawk gcc</p>
]]></description><link>https://bbs.aw-ol.com/post/21135</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21135</guid><dc:creator><![CDATA[awwwwa]]></dc:creator><pubDate>Wed, 31 Jan 2024 03:27:30 GMT</pubDate></item><item><title><![CDATA[Reply to 编译报错 libgettextlib.la failed on Tue, 30 Jan 2024 02:08:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/1915">@awwwwa</a><br />
还是不行 还是会报这个错误但是内容改了<br />
make[9]: Entering directory '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6/gettext-tools/gnulib-lib'<br />
/usr/bin/env bash ../libtool  --tag=CC   --mode=link gcc  -O2 -I/home/jay/allwinner/Tina-Linux/out/host/include -I/home/jay/allwinner/Tina-Linux/out/host/usr/include -I/home/jay/allwinner/Tina-Linux/out/t113-mq_r/staging_dir/target/host/include  -no-undefined      -fopenmp  -release 0.19.6   -L/home/jay/allwinner/Tina-Linux/out/t113-mq_r/staging_dir/target/host/lib -lglib-2.0 -L/home/jay/allwinner/Tina-Linux/out/t113-mq_r/staging_dir/target/host/lib -liconv -L/home/jay/allwinner/Tina-Linux/out/t113-mq_r/staging_dir/target/host/lib -lpcre -lpthread -R/home/jay/allwinner/Tina-Linux/out/t113-mq_r/staging_dir/target/host/lib    -lncurses -L/home/jay/allwinner/Tina-Linux/out/host/lib -L/home/jay/allwinner/Tina-Linux/out/host/usr/lib -L/home/jay/allwinner/Tina-Linux/out/t113-mq_r/staging_dir/target/host/lib -o <a href="http://libgettextlib.la" target="_blank" rel="noopener noreferrer nofollow ugc">libgettextlib.la</a> -rpath /home/jay/allwinner/Tina-Linux/out/t113-mq_r/staging_dir/target/host/lib copy-acl.lo set-acl.lo acl-errno-valid.lo acl-internal.lo get-permissions.lo set-permissions.lo allocator.lo areadlink.lo argmatch.lo gl_array_list.lo backupfile.lo addext.lo basename.lo binary-io.lo c-ctype.lo c-strcasecmp.lo c-strncasecmp.lo c-strcasestr.lo c-strstr.lo careadlinkat.lo classpath.lo clean-temp.lo cloexec.lo closeout.lo concat-filename.lo copy-file.lo csharpcomp.lo csharpexec.lo error-progname.lo execute.lo exitfail.lo fatal-signal.lo fd-hook.lo fd-ostream.lo fd-safer-flag.lo dup-safer-flag.lo file-ostream.lo findprog.lo fstrcmp.lo full-write.lo fwriteerror.lo gcd.lo  hash.lo html-ostream.lo html-styled-ostream.lo  javacomp.lo javaexec.lo javaversion.lo gl_linkedhash_list.lo gl_list.lo localcharset.lo localename.lo glthread/lock.lo malloca.lo mbchar.lo mbiter.lo mbslen.lo mbsstr.lo mbswidth.lo mbuiter.lo ostream.lo pipe-filter-ii.lo pipe-filter-aux.lo pipe2.lo pipe2-safer.lo progname.lo propername.lo qcopy-acl.lo qset-acl.lo quotearg.lo safe-read.lo safe-write.lo sh-quote.lo sig-handler.lo spawn-pipe.lo striconv.lo striconveh.lo striconveha.lo strnlen1.lo styled-ostream.lo tempname.lo term-ostream.lo term-styled-ostream.lo  glthread/threadlib.lo glthread/tls.lo tmpdir.lo trim.lo uniconv/u8-conv-from-enc.lo unictype/ctype_space.lo unilbrk/lbrktables.lo unilbrk/u8-possible-linebreaks.lo unilbrk/u8-width-linebreaks.lo unilbrk/ulc-common.lo unilbrk/ulc-width-linebreaks.lo uniname/uniname.lo unistd.lo dup-safer.lo fd-safer.lo pipe-safer.lo unistr/u16-mbtouc.lo unistr/u16-mbtouc-aux.lo unistr/u8-check.lo unistr/u8-mblen.lo unistr/u8-mbtouc.lo unistr/u8-mbtouc-aux.lo unistr/u8-mbtouc-unsafe.lo unistr/u8-mbtouc-unsafe-aux.lo unistr/u8-mbtoucr.lo unistr/u8-prev.lo unistr/u8-uctomb.lo unistr/u8-uctomb-aux.lo uniwidth/width.lo wait-process.lo wctype-h.lo xmalloc.lo xstrdup.lo xconcat-filename.lo xerror.lo gl_xlist.lo xmalloca.lo xreadlink.lo xsetenv.lo xsize.lo xstriconv.lo xstriconveh.lo xvasprintf.lo xasprintf.lo asnprintf.lo fcntl.lo obstack.lo printf-args.lo printf-parse.lo vasnprintf.lo libcroco_rpl.la  libxml_rpl.la<br />
OpenWrt-libtool: link: warning: library <code>/home/jay/allwinner/Tina-Linux/out/t113-mq_r/staging_dir/target/host/lib/libglib-2.0.la' was moved. /home/jay/allwinner/Tina-Linux/out/host/bin/grep: /home/jay/linux/allwinner/Tina-Linux-20220815/Tina-Linux/out/t113-mq_r/staging_dir/target/host/lib/libpcre.la: No such file or directory /home/jay/allwinner/Tina-Linux/out/host/bin/sed: can't read /home/jay/linux/allwinner/Tina-Linux-20220815/Tina-Linux/out/t113-mq_r/staging_dir/target/host/lib/libpcre.la: No such file or directory OpenWrt-libtool: link: </code>/home/jay/linux/allwinner/Tina-Linux-20220815/Tina-Linux/out/t113-mq_r/staging_dir/target/host/lib/libpcre.la' is not a valid libtool archive<br />
Makefile:2532: recipe for target '<a href="http://libgettextlib.la" target="_blank" rel="noopener noreferrer nofollow ugc">libgettextlib.la</a>' failed<br />
make[9]: *** [<a href="http://libgettextlib.la" target="_blank" rel="noopener noreferrer nofollow ugc">libgettextlib.la</a>] Error 1<br />
make[9]: Leaving directory '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6/gettext-tools/gnulib-lib'<br />
Makefile:2284: recipe for target 'all' failed<br />
make[8]: *** [all] Error 2<br />
make[8]: Leaving directory '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6/gettext-tools/gnulib-lib'<br />
Makefile:1716: recipe for target 'all-recursive' failed<br />
make[7]: *** [all-recursive] Error 1<br />
make[7]: Leaving directory '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6/gettext-tools'<br />
Makefile:1582: recipe for target 'all' failed<br />
make[6]: *** [all] Error 2<br />
make[6]: Leaving directory '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6/gettext-tools'<br />
Makefile:380: recipe for target 'all-recursive' failed<br />
make[5]: *** [all-recursive] Error 1<br />
make[5]: Leaving directory '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6'<br />
Makefile:336: recipe for target 'all' failed<br />
make[4]: *** [all] Error 2<br />
make[4]: Leaving directory '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6'<br />
Makefile:78: recipe for target '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6/.built' failed<br />
make[3]: *** [/home/jay/allwinner/Tina-Linux/out/t113-mq_r/compile_dir/target/host/gettext-0.19.6/.built] Error 2<br />
make[3]: Leaving directory '/home/jay/allwinner/Tina-Linux/package/libs/gettext-full'<br />
package/Makefile:192: recipe for target 'package/libs/gettext-full/host/compile' failed<br />
make[2]: *** [package/libs/gettext-full/host/compile] Error 2<br />
make[2]: Leaving directory '/home/jay/allwinner/Tina-Linux'<br />
package/Makefile:189: recipe for target '/home/jay/allwinner/Tina-Linux/out/t113-mq_r/staging_dir/target/stamp/.package_compile' failed<br />
make[1]: *** [/home/jay/allwinner/Tina-Linux/out/t113-mq_r/staging_dir/target/stamp/.package_compile] Error 2<br />
make[1]: Leaving directory '/home/jay/allwinner/Tina-Linux'<br />
/home/jay/allwinner/Tina-Linux/build/toplevel.mk:304: recipe for target 'world' failed<br />
make: *** [world] Error 2<br />
[2]+  Done                    $T/tools/build/buildserver --path $T 2&gt; /dev/null 1&gt;&amp;2</p>
<h4>make failed to build some targets (54 seconds)</h4>
]]></description><link>https://bbs.aw-ol.com/post/21119</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21119</guid><dc:creator><![CDATA[cwj1986521]]></dc:creator><pubDate>Tue, 30 Jan 2024 02:08:56 GMT</pubDate></item><item><title><![CDATA[Reply to 编译报错 libgettextlib.la failed on Fri, 26 Jan 2024 02:57:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/1915">@awwwwa</a> 在 <a href="/post/21071">编译报错 libgettextlib.la failed</a> 中说：</p>
<blockquote>
<p dir="auto">glib-2.0、iconv、pcre</p>
</blockquote>
<p dir="auto">好的好的 我安装试下 ，非常感谢</p>
]]></description><link>https://bbs.aw-ol.com/post/21078</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21078</guid><dc:creator><![CDATA[cwj1986521]]></dc:creator><pubDate>Fri, 26 Jan 2024 02:57:59 GMT</pubDate></item><item><title><![CDATA[Reply to 编译报错 libgettextlib.la failed on Fri, 26 Jan 2024 02:28:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/4223">@cwj1986521</a> 在 <a href="/post/21063">编译报错 libgettextlib.la failed</a> 中说：</p>
<blockquote>
<p dir="auto">/usr/bin/ld: cannot find -lglib-2.0<br />
/usr/bin/ld: cannot find -liconv<br />
/usr/bin/ld: cannot find -lpcre</p>
</blockquote>
<p dir="auto">目前编译的是安装在编译主机上的gettext，报错找不到链接库，需要安装 glib-2.0、iconv、pcre</p>
]]></description><link>https://bbs.aw-ol.com/post/21071</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21071</guid><dc:creator><![CDATA[awwwwa]]></dc:creator><pubDate>Fri, 26 Jan 2024 02:28:26 GMT</pubDate></item></channel></rss>