Problem compiling with latest libpng in 2.6.2_rc1
Problem compiling with latest libpng in 2.6.2_rc1
- Subject: Problem compiling with latest libpng in 2.6.2_rc1
- From: robert delius royar <email@hidden>
- Date: Wed, 09 Mar 2011 07:49:37 -0500
- Organization: An Apple OS X end user
- Priority: normal
I have hit a problem compiling XEmacs 21.5 (beta29) with the latest
version of XQuartz X11 from macosforge. I am also sending an email to
the XEmacs developers' list about the problem. Here is the error I see:
gcc-4.2 -c -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts
-Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement
-Wunused-parameter -g -O3 -fno-strict-aliasing -arch i386
-I/opt/local/include -Demacs -I. -I/Users/royar/src/xemacs-hg/src
-DHAVE_CONFIG_H -I/opt/X11/include -I/opt/X11/include/freetype2
-I/opt/local/include -I/opt/X11/include glyphs-eimage.c
glyphs-eimage.c: In function 'png_instantiate':
glyphs-eimage.c:985: error: dereferencing pointer to incomplete type
glyphs-eimage.c:986: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1048: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1051: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1052: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1055: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1057: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1063: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1070: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1084: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1091: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1092: error: dereferencing pointer to incomplete type
make[1]: *** [glyphs-eimage.o] Error 1
make: *** [src] Error 2
I checked to see whether there were any macports libpng leftovers, and
there were not any includes in the /opt/local/include hierarchy. The
problem appears to be an XEmacs variable typedefed to png_infop.
I am mainly looking for what to say to the XEmacs developers about the
Xorg version currently in use so that they can change the source to be
compatible with 1.5 (oddly, I was able to compile XEmacs under 2.6.1),
and otool -L shows that it was using
/opt/X11/lib/libpng15.15.dylib (compatibility version 17.0.0, current
version 17.0.0). That compilable version was made on 06 March.
--
Here is a chair. Can you see it clearly?--Good--now translate it into
French!
-Ludwig Wittgenstein
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden