From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: torys.anderson@gmail.com (Tory S. Anderson) Newsgroups: gmane.emacs.help Subject: Re: Failed to build emacs 24.4 source: /bin/ld error Date: Thu, 05 Feb 2015 12:48:17 -0500 Message-ID: <87pp9oxna6.fsf@gmail.com> References: <87vbjgs1ga.fsf@turtle.gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423158739 25052 80.91.229.3 (5 Feb 2015 17:52:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2015 17:52:19 +0000 (UTC) To: Emacs Help List , Sven Joachim Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 05 18:52:19 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJQbC-0004lR-9J for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Feb 2015 18:52:18 +0100 Original-Received: from localhost ([::1]:43598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJQbB-0002ov-L8 for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Feb 2015 12:52:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJQXP-0004n2-OI for help-gnu-emacs@gnu.org; Thu, 05 Feb 2015 12:48:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJQXK-0007A4-T6 for help-gnu-emacs@gnu.org; Thu, 05 Feb 2015 12:48:23 -0500 Original-Received: from mail-yh0-x232.google.com ([2607:f8b0:4002:c01::232]:64396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJQXK-00079q-Py for help-gnu-emacs@gnu.org; Thu, 05 Feb 2015 12:48:18 -0500 Original-Received: by mail-yh0-f50.google.com with SMTP id t59so3980130yho.9 for ; Thu, 05 Feb 2015 09:48:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=xn4Tj+mpma1Otq/rI0K/nvTxbbNnhcAeUBfw7eci8Yg=; b=fZlGDHuR+2+RAIiO2ldThHlEinGf0ogFfuKhqeKtF7mfqT93CUS3NHBmZAw7KDWc0H iuNEtQVTy4lfB9V204CYjlcyFiewwWuO2xCOxfR8W5BV8O2VPz0zGDNaGqa2Km5fArvj vo2aT4wSu6zCId8qZJCliPLs/Efss2u2MQAgPkB2Q2FS/z4KR7F9VBmOcdfd3lASvh2J gzvMPMUOh+7glyo828HProPDxvsxdizKrah6iGRZUOVHZWV3xEU1PBkWj1cr+AE01JOX 6DC7NDAT/ZEawDKOzFDKZ8niqAvZJMpXkI6ibUSNzuu8DQ+eOOIe0eiSWzIMirj//ODV 7H1Q== X-Received: by 10.236.28.101 with SMTP id f65mr2085630yha.156.1423158498267; Thu, 05 Feb 2015 09:48:18 -0800 (PST) Original-Received: from localhost.localdomain (lawn-143-215-49-140.lawn.gatech.edu. [143.215.49.140]) by mx.google.com with ESMTPSA id k61sm3332281yho.44.2015.02.05.09.48.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Feb 2015 09:48:17 -0800 (PST) In-Reply-To: <87vbjgs1ga.fsf@turtle.gmx.de> (Sven Joachim's message of "Thu, 05 Feb 2015 18:38:45 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c01::232 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102500 Archived-At: I installed an updated libpng today: libpng-1.6.6-3.fc20.x86_64.rpm The emacs distribution is 24.4 from http://mirror.thecodefactory.org/gnu/emacs/ I'm on Fedora 20 64-bit. Sven Joachim writes: > On 2015-02-05 18:28 +0100, Tory S. Anderson wrote: > >> I finally got the point where ./configure runs successfully for the >> 24.4 source (I'm still not there for the 25 source); but it fails when >> I attempt to "make". What is the meaning of this ld error? What can I >> do? >> >> Here's the ending of the make: >> ============================== >> $ make >> # ... # many lines... >> make[1]: Entering directory `/home/torys/workspace/emacs-24.4/src' >> gcc -std=gnu99 -Demacs -I. -I. -I../lib -I./../lib -pthread >> -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 >> -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ >> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz >> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo >> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm >> -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 >> -I/usr/include/libpng16 -I/usr/include/glib-2.0 >> -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 >> -I/usr/include/alsa -pthread -I/usr/include/glib-2.0 >> -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 >> -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 >> -I/usr/include/freetype2 -MMD -MF deps/.d -MP -pthread >> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g3 -O2 >> -Wl,-znocombreloc \ >> -o temacs vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o >> xmenu.o window.o charset.o coding.o category.o ccl.o character.o >> chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o >> xselect.o xrdb.o xsmfns.o xsettings.o gtkutil.o emacsgtkfixed.o >> emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o >> insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o >> casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o >> editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o >> syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o >> region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o >> composite.o xml.o gfilenotify.o profiler.o decompress.o xfont.o >> ftfont.o xftfont.o ftxfont.o fontset.o fringe.o image.o xgselect.o >> terminfo.o lastfile.o ../lib/libgnu.a -ltiff -ljpeg -lpng15 -lz -lm >> -lgif -lXpm -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 >> -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 >> -lglib-2.0 -lX11 -lXrender -lXft -lasound -lrt -lXrandr -lXinerama >> -ltinfo -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgobject-2.0 -lglib-2.0 >> -lfreetype -lfontconfig -lfreetype -lpthread -lgio-2.0 -lgobject-2.0 >> -lglib-2.0 -lm -lz >> /bin/ld: cannot find -lpng15 > > Looks like your libpng installation is messed up. The include > directories indicate you have libpng 1.6 but the linker tries to link > with libpng15.so which would come from libpng 1.5. > > Which distribution is that, and what versions of libpng do you have > installed? > > Cheers, > Sven