Philip M�tteli wrote:
No, no, misunderstanding! I was not talking about fink's libpng, but about libpng.a which is created during the compilation of doxygen. In the above linker command line, there is only one library search directory -L../lib, no /sw/lib, so fink's libpng should *not* be taken into account here. Contrary to fink's libpng.dylib, doxygen's libpng.a *does* contain definitions of the above symbols.Am Sonntag, 09.02.03, um 10:22 Uhr (Europe/Zurich) schrieb Martin Costabel:Philip M�tteli wrote:c++ -o ../bin/doxygen ../objects/main.o -L../lib -ldoxygen -ldoxycfg -lqtools -lpng
ld: Undefined symbols:
_crc32
_inflateReset
_deflate
_deflateEnd
_deflateInit2_
_deflateReset
These should all be defined in the static library lib/libpng.a that is built before. Look in your output if you see something suspicious about libpng, in particular in connection with zlib.
Both libraries seem to be installed correctly:
Of course, if for some reason fink's libpng.dylib is taken instead of doxygen's libpng.a, your error messages would be understandable. In this case, it might be useful to "fink install libpng", which removes libpng3 and makes libpng.dylib a symlink to libpng.2.dylib. As I learned in another context (see the 'gs and libpng' thread), your undefined symbols are "less undefined" in libpng.2 than in libpng.3.
--
Martin
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users
