* error building image.o
@ 2010-12-12 3:31 T.V. Raman
2010-12-12 3:56 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: T.V. Raman @ 2010-12-12 3:31 UTC (permalink / raw)
To: emacs-devel
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: error building image.o
2010-12-12 3:31 error building image.o T.V. Raman
@ 2010-12-12 3:56 ` Eli Zaretskii
[not found] ` <AANLkTin23=E_E6OTFz_5dv4suE+ahkf-5Q34=WPuGdB+@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2010-12-12 3:56 UTC (permalink / raw)
To: T.V. Raman; +Cc: emacs-devel
> Date: Sat, 11 Dec 2010 19:31:01 -0800
> From: "T.V. Raman" <tv.raman.tv@gmail.com>
>
> 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’
What is on line 1078 of your png.h?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: error building image.o
[not found] ` <AANLkTin23=E_E6OTFz_5dv4suE+ahkf-5Q34=WPuGdB+@mail.gmail.com>
@ 2010-12-12 19:19 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2010-12-12 19:19 UTC (permalink / raw)
To: T.V. Raman; +Cc: emacs-devel
> Date: Sun, 12 Dec 2010 10:18:39 -0800
> From: "T.V. Raman" <tv.raman.tv@gmail.com>
>
> Lines 1077 and 1078 of png.h:
>
> typedef png_row_info FAR * png_row_infop;
> typedef png_rïw_info FAR * FAR * png_row_infopp;
^
This character is your problem. How did it get into the header file?
Edit the file and replace that character with a `o', like in the line
above it.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-12 19:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-12 3:31 error building image.o T.V. Raman
2010-12-12 3:56 ` Eli Zaretskii
[not found] ` <AANLkTin23=E_E6OTFz_5dv4suE+ahkf-5Q34=WPuGdB+@mail.gmail.com>
2010-12-12 19:19 ` Eli Zaretskii
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.