Cyrus SASL 2.1.25 on Solaris 11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Compiling SASL 2.1.25 on Solaris 11 ends with an error in lib/saslutil.c due to:

saslutil.c:85:12: error: conflicting types for 'gethostname'
/usr/include/unistd.h:334:12: note: previous declaration of 'gethostname' was here
saslutil.c: In function 'randinit':
saslutil.c:439:7: warning: extra tokens at end of #else directive


lib/saslutil.c:

Line 83++:

#ifdef sun
/* gotta define gethostname ourselves on suns */
extern int gethostname(char *, int);
#endif

Solaris 11 does not need this, more, it does not have to be there.


So a test for Oracle Solaris has to be included in autoconf et.al...



--
Pascal Gienger     Jabber/XMPP/Mail: pascal.gienger@xxxxxxxxxxxxxxx
University of Konstanz, IT Services Department ("Rechenzentrum")
Building V, Room V404, Phone +49 7531 88 5048, Fax +49 7531 88 3739
G+: https://plus.google.com/114525323843315818983/


[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux