From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.devel Subject: Re: Failed to compile the emacs latest git master version on Ubuntu 20.10. Date: Fri, 11 Dec 2020 09:29:44 -0500 Message-ID: References: <83360c35vd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15327"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 11 15:33:16 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1knjTu-0003pT-JO for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Dec 2020 15:33:14 +0100 Original-Received: from localhost ([::1]:56762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knjTt-0003oc-Lc for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Dec 2020 09:33:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knjQo-000283-0W for Emacs-devel@gnu.org; Fri, 11 Dec 2020 09:30:02 -0500 Original-Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:41043) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knjQm-0002g0-BI; Fri, 11 Dec 2020 09:30:01 -0500 Original-Received: by mail-lf1-x133.google.com with SMTP id r24so13566364lfm.8; Fri, 11 Dec 2020 06:29:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UivqDmu6QTnIyXTdan+yvIhUc2g4ptZzZldza9eZc2U=; b=swxinYSnUd7mmPHESO0feeWMxrHfsnekQGdkHMa3cjAZFGJx99mbXBS7n58K8DHxoR HPnEG4w6vzpiByEBbOo47MoxetXbszXoecR2B9igMBE7rT1PzuKhq4FGTvw0q3hrEg0T piBLPItX1TsBgyXNbc3tP4+O2/dR0KXytHzJKVzkFnzoSDtCyfnAOZDY7oWFE3EL5L7+ nQu2zFGxtzBvYhnbNlB51vKvCr4nBf0SkYbSGkTV9NpJp47Wvhgz5IHnka59VMXjg/2L Vy0/Gvjux3jZIntycYnscqU/4mKcm52yjQkGldeZUnVCeJ3CEPBBRbdsL9lBbi+cSEB3 64PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UivqDmu6QTnIyXTdan+yvIhUc2g4ptZzZldza9eZc2U=; b=ag/KvxDNXDKqh8OBVjX/gFZ2Q/kVlp+QaypIMazB3+QikZWgimxtVUaagUGI5Zp/5u zwV+piDq3xc29ccrJSQnmawDrqcO+NGRGNmCJg9m5dMNVf8ZDU8iI/whUAFWJVxS6u32 MWtoUPziWAf/fTL0bObsHmGXZWrwdDXNEo8upRdSvLZnLrwqJBi4rYp8/GP3/0PpTTtm HhuC14uXJhUZvetx5SBytX/SGCQIpnppGC60LfStxX3LoPNNgyWe48UqcPxi8RyVg7B+ rtzRoeqSlDR1jhA3hc7beeJ3Yn8k6sA/rvs2j2jbW6ft9pEYtXHHqL13izyIirgxH3Ed Z6BA== X-Gm-Message-State: AOAM531g9XaKnvOffAIAZ1ivw6U23Yz2yqk/yfcUUjSPMp7RiCktTZMr 968/WrpaZHYvbKY8R4KKLk+cZC0E0tcX/EpJesHLfaOkOVcLhcPw X-Google-Smtp-Source: ABdhPJwPPMoAgtOmje6BJIKsnwEeq2eBZ2ragE1Q/s5xrN7Vil3fmFXh9wcJy1kjlLH4ppGv9jU2aGlDG/j8UTrSh80= X-Received: by 2002:ac2:59ce:: with SMTP id x14mr4844048lfn.545.1607696997051; Fri, 11 Dec 2020 06:29:57 -0800 (PST) In-Reply-To: <83360c35vd.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=hongyi.zhao@gmail.com; helo=mail-lf1-x133.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260694 Archived-At: On Fri, Dec 11, 2020 at 7:05 AM Eli Zaretskii wrote: > > > From: Hongyi Zhao > > Date: Fri, 11 Dec 2020 04:59:20 -0500 > > > > On Ubuntu 20.10, I try to compile the emacs latest git master version > > but meet the following error: > > > > /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libm17n-core.a(mtext-wseg.o): > > undefined reference to symbol 'th_brk@@LIBTHAI_0.1' > > /usr/bin/ld: /lib/x86_64-linux-gnu/libthai.so.0: error adding symbols: > > DSO missing from command line > > collect2: error: ld returned 1 exit status > > make[1]: *** [Makefile:655: temacs] Error 1 > > make[1]: Leaving directory '/home/werner/Public/editor/emacs/emacs.git/src' > > make: *** [Makefile:424: src] Error 2 > > > > Any hints for fixing this problem? > > Install HarfBuzz, so that Emacs uses that for text shaping. If you > already have HarfBuzz installed, reconfigure --without-m17n-flt, so > that the problematic library is not compiled into Emacs (you don't > need it if you have HarfBuzz). Thanks for your valuable notes. It does the trick. And furthermore, it seems that HarfBuzz is more powerful, feature-rich and more actively maintained currently. Thanks again. -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Polytechnic Vocational and Technical University NO. 552 North Gangtie Road, Xingtai, China