|
From: Phillip S. <ps...@ub...> - 2013-03-04 22:20:34
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/4/2013 3:42 PM, Marc Thomas wrote: > I finally figured this out. On Slackware64 14.0 (and 13.37 most > likely), in order to compile dump-0.4b44, one must: export > EXT2FS_LIBS="-lext2fs -lcom_err" > > before building. It seems that configure now relies on the output > of "pkg-config --libs <package>" to get some of the flags, and in > my case the com_err library is never specified. FWIW, "pkg-config > --libs ext2fs" returns: "-L/lib64 -lext2fs" on this system. Then slackware's e2fsprogs-dev package is broken. Specifically it's pkg-config file is missing that flag. This is probably due to the still somewhat recent changes in gcc. You used to be able to get away with just linking to ext2fs, and gcc would see that it imports com_err, and link that as well. This was a bug and gcc no longer does this so you have to explicitly link the other lib. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRNQ4cAAoJEJrBOlT6nu75pQIIAMvq0WPHbpeRAKgCmUIBEGMh gAU5tjGsyVh2ABYWQp8H628C7f5eXyVnSn7gnEXSrAnBx79RdocHXGNieMVuAQ90 VHLlQF4ZcRPQHY3etVKUUg6rxHZVmp+AaNMBaNzTPlt2iOY0jgx/kw8BcWQJ/HH8 hnpVR3A5nunF+MtfPYWdxxEnfOm+D/SEbW29p6zSUJGwe/yXuMJ4l9PUB+/T9Xdf JvXhlAH60UJgjFAh+4xU/s8lAN2PJegPRMwGJBgngLkUKSK4TvwZ2+qoMpTPAU2/ TvYInKI8y5/v8vGlDObEp7ntnPBMGUa2aaZcD9qrVdQsI3L0WDenenw1S/+EWbY= =7wrs -----END PGP SIGNATURE----- |