From ramil at azeurotel.com Wed Jun 10 04:49:30 2009 From: ramil at azeurotel.com (Ramil Abbasov) Date: Wed, 10 Jun 2009 12:49:30 +0400 Subject: maraDNS and Solaris 9 Message-ID: <611EEA429A9F4FCDBBA46C352D366DDB@r210l> I have a trouble with installing maradns 1.3.07.09 at SPARC machine (Enterprise 420) with Solaris 9. After ./configure I got the following: WARNING WARNING WARNING This is an unknown platform. MaraDNS may or may not compile on this platform. So maradns doesn't know about Solaris 9! Or I'm making mistake ... Hm ... After "make" command I got the following: cd libs ; make "CC=cc -O2 -Wall" DEBUG=-DNO_FLOCK ; cd ../dns ; make "CC=cc -O2 -Wall" DEBUG=-DNO_FLOCK ; cd ../rng ; make "CC=cc -O2 -Wall" DEBUG=-DNO_FLOCK ; cd ../parse ; make "CC=cc -O2 -Wall" DEBUG=-DNO_FLOCK ; cd ../qual ; make "CC=cc -O2 -Wall" DEBUG=-DNO_FLOCK ; cd ../server ; make "CC=cc -O2 -Wall" DEBUG=-DNO_FLOCK "VERSION=1.3.07.09" COMPILED=\""SunOS system at Wed Jun 10 12:40:56 AZST 2009"\" ; cd ../tools ; make "CC=cc -O2 -Wall" DEBUG=-DNO_FLOCK ; cd ../tcp ; make "CC=cc -O2 -Wall" DEBUG=-DNO_FLOCK "VERSION=1.3.07.09" ; cat ../00README.FIRST cc -O2 -Wall -c -o JsStr.o JsStr.c In file included from JsStr.c:7: JsStr.h:129: error: syntax error before "u_int32_t" JsStr.h:132: error: syntax error before "js_readuint32" JsStr.h:132: warning: type defaults to `int' in declaration of `js_readuint32' JsStr.h:132: warning: data definition has no type or storage class JsStr.h:133: error: syntax error before "u_int32_t" *** Error code 1 make: Fatal error: Command failed for target `JsStr.o' Current working directory /export/home/ramil/maradns/maradns-1.3.07.09/libs *** Error code 1 make: Fatal error: Command failed for target `all' I would be very appretiated if the problem solved or explained. Many thanks. Ramil Abbasov From strenholme.usenet at gmail.com Wed Jun 10 13:39:43 2009 From: strenholme.usenet at gmail.com (Sam Trenholme) Date: Wed, 10 Jun 2009 12:39:43 -0500 Subject: maraDNS and Solaris 9 In-Reply-To: <611EEA429A9F4FCDBBA46C352D366DDB@r210l> References: <611EEA429A9F4FCDBBA46C352D366DDB@r210l> Message-ID: <7bd685720906101039g6b7f9624wbc1c43f08978e191@mail.gmail.com> > JsStr.h:129: error: syntax error before "u_int32_t" First of all, the only platforms I fully support is CentOS 5 (MaraDNS 1.0 was fine on Solaris; MaraDNS 1.2 may or may not compile there, and good luck with MaraDNS 1.3). I also have partial support for Microsoft Windows. Other platforms: Unless you're willing to help sponsor MaraDNS, you're on your own (we can discuss rates in private mail if you want to go this route). If fixing this issue is important enough for you, you either pay me or take the source, make the appropriate changes and, if you're feeling extra nice, submit a patch to the list. And, if I'm feeling extra nice, I might even make the patch part of MaraDNS. Or maybe someone else on the list can help you. My first impression: You might not have the older BSD u_int32_t types. The solution might be to use and change u_int32_t to uint32_t. - Sam Note: I do not answer MaraDNS support requests sent by private email without being compensated for my time. I will discuss rates if you want this kind of support. Thank you for your understanding. MaraDNS security vulnerability reports, however, will be dealt with without charge and kept confidential. From strenholme.usenet at gmail.com Thu Jun 11 02:41:55 2009 From: strenholme.usenet at gmail.com (Sam Trenholme) Date: Thu, 11 Jun 2009 01:41:55 -0500 Subject: maraDNS and Solaris 9 In-Reply-To: <7bd685720906101039g6b7f9624wbc1c43f08978e191@mail.gmail.com> References: <611EEA429A9F4FCDBBA46C352D366DDB@r210l> <7bd685720906101039g6b7f9624wbc1c43f08978e191@mail.gmail.com> Message-ID: <7bd685720906102341s5fcc910n2c7fe65820590d25@mail.gmail.com> >> JsStr.h:129: error: syntax error before "u_int32_t" > My first impression: You might not have the older BSD u_int32_t types. > ?The solution might be to use and change u_int32_t to > uint32_t. OK, talking to myself, but this was an issue back when MaraDNS supported Solaris. To wit: /* Solaris needs u_int32_t and u_int16_t defined */ #ifdef SOLARIS #ifndef _uint_defined typedef unsigned int u_int32_t; typedef unsigned short u_int16_t; #define _uint_defined #endif /* _uint_defined */ #endif /* SOLARIS */ But I think this would look better something like this: /* Solaris needs u_int32_t and u_int16_t defined */ #ifdef SOLARIS #ifndef _uint_defined #include typedef uint32_t u_int32_t; typedef uint16_t u_int16_t; #define _uint_defined #endif /* _uint_defined */ #endif /* SOLARIS */ - Sam Note: I do not answer MaraDNS support requests sent by private email without being compensated for my time. I will discuss rates if you want this kind of support. Thank you for your understanding. MaraDNS security vulnerability reports, however, will be dealt with without charge and kept confidential. From sysadmin at mrgnetwork.com.br Thu Jun 25 21:26:54 2009 From: sysadmin at mrgnetwork.com.br (Marlon) Date: Thu, 25 Jun 2009 22:26:54 -0300 Subject: Deadwood and Maradns compiled with ICC Message-ID: <4A4423DE.4010309@mrgnetwork.com.br> Hi, I succefully compiled deadwood-2.3.04 and maradns-1.3.13 using ICC, any thoughts about how to benchmark them ? Follow the Makefiles for icc attached. Regards, Marlon -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Makefile_deadwood.icc URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Makefile_maradns.icc URL: From strenholme.usenet at gmail.com Thu Jun 25 23:55:02 2009 From: strenholme.usenet at gmail.com (Sam Trenholme) Date: Thu, 25 Jun 2009 22:55:02 -0500 Subject: Deadwood and Maradns compiled with ICC In-Reply-To: <4A4423DE.4010309@mrgnetwork.com.br> References: <4A4423DE.4010309@mrgnetwork.com.br> Message-ID: <7bd685720906252055l394a7397uf34c661cdbca28c6@mail.gmail.com> I'm really pleased to hear that! I will make the makefiles part of tomorrow's Deadwood snapshot and part of MaraDNS 1.3.14. I assume you don't mind me putting the same copyright on these files as with other MaraDNS and Deadwood files: http://www.maradns.org/license.html (Note to self: Since 1.0 is only updated for critical security holes, just call this the "MaraDNS license") The other issue I want to resolve in MaraDNS 1.3.14 is the usage of sys/types.h and the obsolete u_int32_t forms for integers where the size is important; these days it makes more sense to use stdint.h and the uint32_t forms (just as Deadwood does), since these cause problems compiling MaraDNS on unsupported [1] platforms > I ?succefully compiled deadwood-2.3.04 and maradns-1.3.13 using ICC, any > thoughts about how to ?benchmark them ? Good question. Perhaps number of DNS queries one can compress a second or some such. Once I finish the compression code, which I've been working on the last two weeks, and should finish up this weekend. - Sam [1] Unsupported is a relative term; it simply means "if you want me to give you a good answer to your concern with MaraDNS on this platform [2], you'll have to pay me for my time to setup a VMware virtual machine running that platform so I can test things." [2] MaraDNS and Deadwood are developed in CentOS 5 and tested in CentOS 5 and Windows XP (using mingw)