There are at least two GCC visibility bugs preventing enigmail from building: 20297 and 26905 (both present in Debian gcc 4.0.3-1). Mozilla configure from CVS trunk includes a check which uses -fvisibility=hidden instead of pragmas if your compiler suffers from bug 20297, but this check was too late for Thunderbird 1.5. http://benjamin.smedbergs.us/blog/2006-03-28/gcc-and-visibility-one-step-forward-hit-a-brick-wall/ recommends that you work around these by setting ac_cv_visibility_pragma=no when running configure.
(The NS_NewGenericModule2 error which comes up first is not explained by either of these bugs, and it looks to me like the Mozilla headers have the visibility of that set wrongly. But even after correcting that, you run into the above GCC bugs so you may as well just disable the visibility pragma.) -- Martin Orr
signature.asc
Description: OpenPGP digital signature