all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "T.V. Raman" <tv.raman.tv@gmail.com>
To: emacs-devel@gnu.org
Subject: error building image.o
Date: Sat, 11 Dec 2010 19:31:01 -0800	[thread overview]
Message-ID: <AANLkTi=txd0iy-Bkb5TM-UKjDmPz-+kbkndqz=2opoU2@mail.gmail.com> (raw)

-- 
Best Regards,
--raman
This is from the emacs 24 snapshot.
Build bombs: see errors below.
This is on Ubuntu Jaunty -- do I need a newer png library?
gcc -c  -Demacs -DHAVE_CONFIG_H  -I.
-I/home/raman/sourceforge/emacs/src   -D_REENTRANT
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/directfb -I/usr/include/libpng12
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2    -I/usr/include/alsa   -D_REENTRANT
-I/usr/include/librsvg-2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/directfb -I/usr/include/libpng12   -fopenmp
-I/usr/include/ImageMagick   -I/usr/include/libxml2
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DORBIT2=1
-pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include       -MMD -MF
deps/image.d   -Wimplicit-function-declaration -Wold-style-definition
-Wdeclaration-after-statement -Wno-pointer-sign  -g -O2 image.c
In file included from image.c:34:
/usr/include/libpng12/png.h:1078: error: stray ‘\357’ in program
/usr/include/libpng12/png.h:1078: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘w_info’
/usr/include/libpng12/png.h:1153: error: expected
specifier-qualifier-list before ‘png_error_ptr’
/usr/include/libpng12/png.h:1481: error: expected declaration
specifiers or ‘...’ before ‘png_error_ptr’
/usr/include/libpng12/png.h:1481: error: expected declaration
specifiers or ‘...’ before ‘png_error_ptr’
/usr/include/libpng12/png.h:1486: error: expected declaration
specifiers or ‘...’ before ‘png_error_ptr’
/usr/include/libpng12/png.h:1486: error: expected declaration
specifiers or ‘...’ before ‘png_error_ptr’
/usr/include/libpng12/png.h:1505: error: expected declaration
specifiers or ‘...’ before ‘png_error_ptr’
/usr/include/libpng12/png.h:1505: error: expected declaration
specifiers or ‘...’ before ‘png_error_ptr’
/usr/include/libpng12/png.h:1509: error: expected declaration
specifiers or ‘...’ before ‘png_error_ptr’
/usr/include/libpng12/png.h:1509: error: expected declaration
specifiers or ‘...’ before ‘png_error_ptr’
/usr/include/libpng12/png.h:1939: error: expected declaration
specifiers or ‘...’ before ‘png_error_ptr’
/usr/include/libpng12/png.h:1939: error: expected declaration
specifiers or ‘...’ before ‘png_error_ptr’
image.c: In function ‘png_load’:
image.c:5669: error: too many arguments to function ‘png_create_read_struct’
make[2]: *** [image.o] Error 1
make[2]: Leaving directory `/data/v3/raman/sourceforge/git-emacs/emacs/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/data/v3/raman/sourceforge/git-emacs/emacs'
make: *** [bootstrap] Error 2
19:27:09 labrador emacs $

-- 
Best Regards,
--raman



             reply	other threads:[~2010-12-12  3:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-12  3:31 T.V. Raman [this message]
2010-12-12  3:56 ` error building image.o Eli Zaretskii
     [not found]   ` <AANLkTin23=E_E6OTFz_5dv4suE+ahkf-5Q34=WPuGdB+@mail.gmail.com>
2010-12-12 19:19     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=txd0iy-Bkb5TM-UKjDmPz-+kbkndqz=2opoU2@mail.gmail.com' \
    --to=tv.raman.tv@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.