All these symbols are part of libz. Make sure to add linking to libz (-lz) to the linker command-line.
(Not sure how you would do that in the Makefile exactly on OS X, but worst case you can just manually run the command-line that was supposed to produce the xournal executable and instead gave you these errors, adding -lz near the other -l... libraries.) Denis On 01/21/2011 03:15 PM, Dmitry Kichenko wrote: > I'm trying to compile xournal on OS X. I initially installed xournal through > MacPorts, which was fine and it worked earlier but stopped launching today, > after what I believe was the upgrade to libpng. I decided to recompile it, > and haven't been able to do since. I've reverted all the packages that were > upgraded to the versions they were at previously; I've also tried compiling > the latest 0.4.5 source, and I keep getting the same undefined symbols: > > "_gzopen", referenced from: > _save_journal in xo-file.o > _open_journal in xo-file.o > "_gzread", referenced from: > _open_journal in xo-file.o > "_deflateInit_", referenced from: > _do_deflate in xo-print.o > "_gzputs", referenced from: > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > "_gzprintf", referenced from: > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > _save_journal in xo-file.o > "_gzeof", referenced from: > _open_journal in xo-file.o > "_deflate", referenced from: > _do_deflate in xo-print.o > (maybe you meant: _do_deflate) > "_gzclose", referenced from: > _save_journal in xo-file.o > _open_journal in xo-file.o > _open_journal in xo-file.o > _open_journal in xo-file.o > "_deflateEnd", referenced from: > _do_deflate in xo-print.o > "_deflateBound", referenced from: > _do_deflate in xo-print.o > > Glib was *not* one of the packages that changed when I upgraded libpng and > others. Glib exists, and `configure` indeed picks its the correct location > and headers. Seems like it's something else but after an hour I'm out of > ideas. Hope you guys can suggest where to look for the cause of this! > > Thanks! > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Xournal-devel mailing list > Xournal-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xournal-devel -- Denis Auroux MIT Department of Mathematics aur...@math.mit.edu (on leave) and University of California, Berkeley aur...@math.berkeley.edu Department of Mathematics Tel: 510-642-4367 817 Evans Hall # 3840 Fax: 510-642-8204 Berkeley, CA 94720-3840 ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Xournal-devel mailing list Xournal-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xournal-devel