compile error on qmail and other djb products like ucspi-tcp, daemontools, djbdns, tinydns

since the new gcc version is out, djb software has its problems with compiling. also netqmail has problems.
something with errno … bla…bla…bla…

there is a simple fix for that.
just go to the sourcecode and find the file conf-cc.
edit it and add the following code :
cc -O2 -include /usr/include/errno.h

now it should work.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.