<html>
<body>
It has taken some time but I figered out what the problem was.<br><br>
As I saw multiple problem reports with the same error, and with the
version of gcc incommen, I have installed the new version of gcc,
3.4.3.<br><br>
That seem to have solved most of the problem, with the excepion of
headerfiles missing definition of field types.<br><br>
So for all of you with the same trouble, DON'T use gcc 3.4.1 but upgrade
to version 3.4.3.<br><br>
Update the following files, and it should work!<br><br>
<br><br>
<font face="Arial, Helvetica">Update
<b>modules/gmysqlbackend/smysql.hh</b> add the following line:<br><br>
typedef unsigned short int u_int16_t;<br><br>
<br>
Update <b>modules/geobackend/ippreftree.hh </b>add the following
line:<br><br>
typedef unsigned int u_int32_t;<br><br>
</font>Maybe also update the official source to reflect these
"forgotton" typedef's<br><br>
Ronald Stubbe<br>
STUBBE IT bv<br><br>
<br><br>
<br><br>
At 15:50 20-11-2004, you wrote:<br>
<blockquote type=cite class=cite cite="">On Sat, Nov 20, 2004 at
02:29:09PM +0100, Ronald Stubbe wrote:<br>
> I tryed to complie the package, using ./configure<br>
> and then make, and it fails with:<br><br>
This error is new to me.<br><br>
> ../../pdns/utility.hh:175: error: declaration of `typedef struct
iovec <br>
> Utility::iovec'<br>
> /usr/include/sys/uio.h:34: error: changes meaning of `iovec' from
`struct <br>
> iovec'<br><br>
I don't entirely understand this error. The offending lines
are:<br><br>
typedef ::iovec iovec;<br>
typedef ::pid_t pid_t;<br>
typedef int sock_t;<br>
typedef ::socklen_t
socklen_t;<br><br>
And they are within a class.<br><br>
> ../../pdns/utility.hh:176: error: declaration of `typedef pid_t
<br>
> Utility::pid_t'<br>
>
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.1/include/sys/types.h:469:
<br>
> error: changes meaning of `pid_t' from `typedef long int
pid_t'<br><br>
What PowerDNS is trying to do here is to 'break out' the local pid_t to
the<br>
global pid_t.<br><br>
> Whatever options I try, always the same result.<br><br>
Try just removing the lines above in utility.hh, except for the
'sock_t'<br>
one.<br><br>
-- <br>
<a href="http://www.powerdns.com /" eudora="autourl">http://www.PowerDNS.com
</a> Open source, database driven DNS Software <br>
<a href="http://lartc.org /" eudora="autourl">http://lartc.org
</a> Linux Advanced Routing & Traffic Control
HOWTO</blockquote></body>
</html>