[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Don't make zmailer on FreeBSD 5.4



Hello All !

I don't making zmailer on FreeBSD 5.4

--- Cut ---
> uname -a
FreeBSD akvaline.ru 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Fri Aug 12
09:02:29 MSD 2005
root@proxy.intra.net:/usr/src/sys/i386/compile/AQUA  i386
-----------
--- Cut ---
> head ChangeLog
2006-06-26  Matti Aarnio  <mea@zmailer.org>

        * configure.in, man/scheduler.8.in, router/rfc822.c,
          lib/taspoolid.c, scheduler/msgerror.c, scheduler/scheduler.c,
          scheduler/scheduler.h, scheduler/threads.c,
-----------
--- Cut ---
> make
cd libs && make  all
cd ../router/libdb;  make  libzmdb.a
gcc -g -O2  -DHAVE_CONFIG_H -I../.. -I../../include -I./../../include
-I./../../libsh  -c header.c
In file included from header.c:18:
../../include/libz.h:138: error: field `sa' has incomplete type
*** Error code 1
-----------

My be forget #include <sys/socket.h> in .h files ?

With this tiny patch making is Ok :-)
--- Cut ---
--- libz.h.orig Tue Jun 27 17:37:34 2006
+++ libz.h      Tue Jun 27 17:37:34 2006
@@ -12,4 +12,6 @@
#endif

+#include <sys/socket.h>
+
#ifndef CISTREQ
#define  CISTREQ(x,y)   (cistrcmp ((const char*)(x), (const char*)(y)
)==0)
----------

Bye !

-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi