|
From: | Maarten Thibaut |
Subject: | Re: [bug-mailutils] Compiling mailutils 2.0 on solaris |
Date: | Wed, 24 Jun 2009 15:37:24 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 |
Sergey, Thanks for the new 06-23 version, I tested it out. CC sendmail.lo sendmail.c: In function `_url_sendmail_init': sendmail.c:61: error: `_PATH_SENDMAIL' undeclared (first use in this function) sendmail.c:61: error: (Each undeclared identifier is reported only once sendmail.c:61: error: for each function it appears in.) make[3]: *** [sendmail.lo] Error 1 libproto/mailer/sendmail.c doesn't include mail/mail.h where _PATH_SENDMAIL is defined, so I added mail.h to sendmail.c to fix this. A second error: CC mu_dbgport.lo mu_dbgport.c: In function 'mu_scm_make_debug_port': mu_dbgport.c:36: warning: assignment makes pointer from integer without a cast mu_dbgport.c:39: error: expected _expression_ before 'scm_t_cell' make[3]: *** [mu_dbgport.lo] Error 1 I'm not sure how to fix this one, the code is generated using macros. The line is: port = scm_cell (scm_tc16_mu_debug_port, 0); -- maarten On 6/24/09 9:58 AM, Sergey Poznyakoff wrote: Hi Maarten,I'm getting this error when compiling mailutils 2.0 on Solaris 10: asprintf ../mailbox/.libs/libmailutils.so ld: fatal: Symbol referencing errors. No output written to .libs/aclck Is this a known error, and what is the fix?Well, strictly speaking it is not an error, it is a GNU dependency: the version 2.0 extensively used asprintf, which is a GNU extension and is therefore absent in many non-GNU libc implementations. Since then, we have abandoned this practice and now latest Mailutils snapshots are known to succesfully build on several non-GNU architectures. I'd suggest to try the latest snapshot, which is available at anonymous[1]: ftp://download.gnu.org.ua/pub/alpha/mailutils/mailutils-latest.tar.bz2 Give it a try, and let me know if you experience any problems. Regards, Sergey [1] The corresponding GPG detached signature is available at the same server under the name mailutils-latest.tar.bz2.sig. You can use it to verify that the tarball is intact, by running gpg --verify mailutils-latest.tar.bz2.sig. The public key can be obtained by the following command: gpg --keyserver keys.gnupg.net --recv-keys 55D0C732 |
[Prev in Thread] | Current Thread | [Next in Thread] |