[I am not on the xemacs-beta list. Please include
bwarsaw(a)cnri.reston.va.us in any followups. -BAW]
I am having a problem building XEmacs 21.0-b44 --with-png, on Solaris
2.6. I grabbed libpng-0.90 from /anonymous@ftp.xemacs.org:/pub/xemacs/aux
and re-configured XEmacs --with-png, but there seems to be a few
functions used that aren't in the library. Sure enough, grepping the
0.90 source doesn't seem to turn up those functions.
If there is a newer version of libpng that XEmacs 21 depends on, then
/pub/xemacs/aux should be updated, or the INSTALL file should point to
the real location of this library.
Has anybody else had similar problems?
Thanks,
-Barry
-------------------- snip snip --------------------
[...]
cc -c -v -xO4 -Demacs -I. -DHAVE_CONFIG_H -I/depot/gnu/include -I/depot/sundry/include
-I/usr/dt/include -I/usr/openwin/include glyphs-eimage.c
"glyphs-eimage.c", line 883: warning: argument #3 is incompatible with
prototype:
prototype: pointer to function(pointer to struct png_struct_def {array[12] of int jmpbuf,
pointer to function(pointer to struct png_str... :
"/depot/sundry/include/png.h", line 770
argument : pointer to function(pointer to struct png_struct_def {array[12] of int jmpbuf,
pointer to function(pointer to struct png_str...
"glyphs-eimage.c", line 916: warning: implicitly declaring function to return
int: png_set_strip_alpha()
"glyphs-eimage.c", line 918: warning: implicitly declaring function to return
int: png_get_valid()
"glyphs-eimage.c", line 946: warning: implicitly declaring function to return
int: png_get_bKGD()
[...]
cc -v -xO4 -L/depot/gnu/plat/lib -L/depot/sundry/plat/lib -L/usr/ccs/lib -xildoff
-R/depot/gnu/plat/lib:/depot/sundry/plat/lib:/usr/dt/lib:/usr/openwin/lib:/opt/SUNWdt/lib
-L/usr/dt/lib -L/usr/openwin/lib -o temacs abbrev.o alloc.o blocktype.o buffer.o
bytecode.o callint.o callproc.o casefiddle.o casetab.o chartab.o cmdloop.o cmds.o
console.o console-stream.o data.o device.o dired.o doc.o doprnt.o dynarr.o editfns.o
elhash.o emacs.o eval.o events.o unexsol2-6.o dragdrop.o menubar.o scrollbar.o dialog.o
toolbar.o gui.o menubar-x.o scrollbar-x.o dialog-x.o toolbar-x.o gui-x.o sunplay.o
console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o
terminfo.o event-unixoid.o database.o sysdll.o dll.o process-unix.o event-stream.o
extents.o faces.o fileio.o filemode.o floatfns.o fns.o font-lock.o frame.o general.o
getloadavg.o glyphs.o glyphs-eimage.o hash.o imgproc.o indent.o insdel.o intl.o keymap.o
line-number.o lread.o lstream.o macros.o marker.o md5.o minibuf.o objects.o opaque.o
print.o process.o profile.o pure.o rangetab.o redisplay.o redisplay-output.o regex.o
search.o signal.o sound.o specifier.o strftime.o symbols.o syntax.o sysdep.o undo.o
balloon_help.o balloon-x.o console-x.o device-x.o event-Xt.o frame-x.o glyphs-x.o
objects-x.o redisplay-x.o xgccache.o xselect.o widget.o window.o lastfile.o gmalloc.o
vm-limit.o ralloc.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o
EmacsManager.o offix.o ../lwlib/liblw.a -lXm -lcompface -lpng -ljpeg -lz -lXpm -lXmu
-lXt -lXext -lX11 -lSM -lICE -ldl -lgdbm -lcurses /usr/demo/SOUND/lib/libaudio.a -lkvm
-lkstat -lm -lsocket -lnsl -lelf -lgen -ldl
Undefined first referenced
symbol in file
png_set_strip_alpha glyphs-eimage.o
png_get_bKGD glyphs-eimage.o
png_get_valid glyphs-eimage.o
ld: fatal: Symbol referencing errors. No output written to temacs