* bug#14260: 24.3; build fails, undefined symbols _png_longjmp _png_set_longjmp_fn in image.o
@ 2013-04-24 19:42 Joe Corneli
2013-04-24 19:58 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Joe Corneli @ 2013-04-24 19:42 UTC (permalink / raw)
To: 14260
If I turn on png support when I build,
Does Emacs use -lpng?...................................yes
then I get the appended error message. Note, I just installed fontforge
before rebuilding Emacs, and after Googling it seems that most of the
messages involving the symbols in question are associated with that
program.
gcc -std=gnu99 -c -Demacs -I. -I/Users/jac2349/emacs-24.3/src
-I../lib -I/Users/jac2349/emacs-24.3/src/../lib -D_REENTRANT
-I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/
-I/opt/local/include -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
-I/opt/local/include/pixman-1 -I/opt/local/include/libpng15
-I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0
-I/opt/local/include/libpng15 -I/opt/local/include/pango-1.0
-I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include -D_REENTRANT
-I/opt/local/include/librsvg-2.0 -I/opt/local/include/gdk-pixbuf-2.0
-I/opt/local/include/libpng15 -I/opt/local/include/cairo
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -I/opt/local/include/pixman-1
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include -I/opt/local/include/libpng15
-I/opt/local/include -fopenmp -I/opt/local/include/ImageMagick
-I/opt/local/include/libxml2 -D_REENTRANT
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include -MMD -MF deps/lastfile.d -MP -g3 -O2
lastfile.c
gcc -std=gnu99 -Demacs -I. -I/Users/jac2349/emacs-24.3/src -I../lib
-I/Users/jac2349/emacs-24.3/src/../lib -D_REENTRANT
-I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/
-I/opt/local/include -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
-I/opt/local/include/pixman-1 -I/opt/local/include/libpng15
-I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0
-I/opt/local/include/libpng15 -I/opt/local/include/pango-1.0
-I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include -D_REENTRANT
-I/opt/local/include/librsvg-2.0 -I/opt/local/include/gdk-pixbuf-2.0
-I/opt/local/include/libpng15 -I/opt/local/include/cairo
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -I/opt/local/include/pixman-1
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include -I/opt/local/include/libpng15
-I/opt/local/include -fopenmp -I/opt/local/include/ImageMagick
-I/opt/local/include/libxml2 -D_REENTRANT
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include -MMD -MF deps/.d -MP -g3 -O2 -fno-pie
-prebind -Xlinker -headerpad -Xlinker 690 -L/usr/X11/lib \
-o temacs pre-crt0.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 xgselect.o gtkutil.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
unexmacosx.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
profiler.o xfont.o ftfont.o xftfont.o ftxfont.o fontset.o
fringe.o image.o terminfo.o lastfile.o ../lib/libgnu.a
-ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -L/opt/local/lib -lgtk-x11-2.0
-lgdk-x11-2.0 -lpangocairo-1.0 -lgio-2.0 -lXrender -lXinerama -lXi
-lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -lXext
-latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0
-lpango-1.0 -lm -lgobject-2.0 -lfreetype -lfontconfig -lglib-2.0
-lintl -lSM -lICE -lX11 -lXrender -L/opt/local/lib -lXft
-L/opt/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0
-lglib-2.0 -lintl -lcairo -L/opt/local/lib -lMagickWand -lMagickCore
-L/opt/local/lib -lxml2 -lncurses -L/opt/local/lib -lgio-2.0
-lgobject-2.0 -lglib-2.0 -lintl -L/opt/local/lib -lgobject-2.0
-lglib-2.0 -lintl -L/opt/local/lib -lfreetype -L/opt/local/lib
-lfontconfig -lpthread
Undefined symbols:
"_png_longjmp", referenced from:
_my_png_error in image.o
"_png_set_longjmp_fn", referenced from:
_png_load_body in image.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make: *** [src] Error 2
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/local/share/emacs/24.3/etc/DEBUG.
In GNU Emacs 24.3.1 (x86_64-apple-darwin10.8.0, X toolkit, Xaw scroll bars)
of 2013-04-24 on mckm219335.local
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
Configured using:
`configure '--without-png''
Important settings:
locale-coding-system: nil
default enable-multibyte-characters: t
Major mode: Shell
Minor modes in effect:
diff-auto-refine-mode: t
show-paren-mode: t
shell-dirtrack-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: 1
Recent input:
<return> C-r C-g p o r t SPC h e l p <return> M-v C-l
C-s u p d a t e C-a C-SPC M-f M-w M-> s u o d SPC p
o r t SPC C-a M-f <backspace> <backspace> d o C-e C-y
<return> <up> C-e C-SPC <C-left> <C-left> <C-left>
M-w M-> C-y <return> <C-up> C-a s u d o SPC C-e <return>
C-r p n g C-s C-s M-> <help-echo> <help-echo> C-r p
n g C-g c d SPC / / <backspace> <backspace> ~ / t h
e s <tab> <M-backspace> <M-backspace> e m <tab> c <tab>
2 <tab> 4 <tab> <return> . / c o n f i g u r e <return>
C-r p n g C-e M-> m a k e <return> <help-echo> <help-echo>
<up> C-e C-SPC C-a <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> M-w i m <backspace> <backspace> C-SPC
C-e <down> M-> <up> C-e M-w M-x m <backspace> b u g
- g n <tab> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> r e p <tab> o r t <tab> <r
eturn>
Recent messages:
Mark set [6 times]
History item: 1
Mark saved where search started
Mark set
Quit
Making completion list...
~/emacs-24.3
Mark saved where search started
Mark set [3 times]
Making completion list...
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils sql mule-util ediff-merg
ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff
view dired-aux magit-bisect magit-key-mode magit diff-mode log-edit
pcvs-util add-log vc-git tex-mode warnings compile latexenc misearch
multi-isearch help-mode pcmpl-unix paren cus-start cus-load slime-repl
slime easy-mmode pp hyperspec thingatpt browse-url dired-x dired
info-look info edmacro kmacro cl-macs gv php-mode derived etags cc-langs
cl cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs speedbar sb-image ezimage dframe easymenu
tramp tramp-compat auth-source eieio byte-opt bytecomp byte-compile
cconv gnus-util mm-util mail-prsvr password-cache tramp-loaddefs shell
pcomplete comint ansi-color ring format-spec advice help-fns cl-lib
advice-preload server time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
make-network-process dynamic-setting system-font-setting
font-render-setting x-toolkit x multi-tty emacs)
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#14260: 24.3; build fails, undefined symbols _png_longjmp _png_set_longjmp_fn in image.o
2013-04-24 19:42 bug#14260: 24.3; build fails, undefined symbols _png_longjmp _png_set_longjmp_fn in image.o Joe Corneli
@ 2013-04-24 19:58 ` Eli Zaretskii
2013-04-25 9:38 ` Joe Corneli
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2013-04-24 19:58 UTC (permalink / raw)
To: Joe Corneli; +Cc: 14260
> Date: Wed, 24 Apr 2013 20:42:52 +0100
> From: Joe Corneli <holtzermann17@gmail.com>
>
> If I turn on png support when I build,
>
> Does Emacs use -lpng?...................................yes
>
> then I get the appended error message. Note, I just installed fontforge
> before rebuilding Emacs, and after Googling it seems that most of the
> messages involving the symbols in question are associated with that
> program.
> [...]
> Undefined symbols:
> "_png_longjmp", referenced from:
> _my_png_error in image.o
> "_png_set_longjmp_fn", referenced from:
> _png_load_body in image.o
My crystal ball says that you somehow donwgraded your libraries to a
libpng version older than 1.5, while the headers are still for 1.5.
These functions are needed by Emacs for libpng 1.5 or later.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#14260: 24.3; build fails, undefined symbols _png_longjmp _png_set_longjmp_fn in image.o
2013-04-24 19:58 ` Eli Zaretskii
@ 2013-04-25 9:38 ` Joe Corneli
0 siblings, 0 replies; 3+ messages in thread
From: Joe Corneli @ 2013-04-25 9:38 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 14260
On Wed, Apr 24, 2013 at 8:58 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> My crystal ball says that you somehow donwgraded your libraries to a
> libpng version older than 1.5, while the headers are still for 1.5.
> These functions are needed by Emacs for libpng 1.5 or later.
Thanks Eli - I've reported this to Macports, we'll see what they say.
https://trac.macports.org/ticket/38918
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-25 9:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-24 19:42 bug#14260: 24.3; build fails, undefined symbols _png_longjmp _png_set_longjmp_fn in image.o Joe Corneli
2013-04-24 19:58 ` Eli Zaretskii
2013-04-25 9:38 ` Joe Corneli
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).