Dear SIR's
On Tru64 4.0F i get  do you know how I can avoid it?
Rgds
Henrik
PS. What should I expect on LDAP (got an error using --with-ldap):
==============================================================================
Compiling nmbd/nmbd_nameregister.c
In file included from include/includes.h:258,
                 from nmbd/nmbd_nameregister.c:25:
/usr/include/net/if.h:182: warning: `struct rtentry' declared inside
parameter list
/usr/include/net/if.h:182: warning: its scope is only this definition or
declaration,
/usr/include/net/if.h:182: warning: which is probably not what you want.
/usr/include/net/if.h:182: warning: `struct mbuf' declared inside parameter
list
In file included from include/includes.h:258,
                 from nmbd/nmbd_nameregister.c:25:
/usr/include/net/if.h:462: warning: `struct rtentry' declared inside
parameter list
Compiling nmbd/nmbd_namerelease.c
In file included from include/includes.h:258,
                 from nmbd/nmbd_namerelease.c:25:
/usr/include/net/if.h:182: warning: `struct rtentry' declared inside
parameter list
/usr/include/net/if.h:182: warning: its scope is only this definition or
declaration,
/usr/include/net/if.h:182: warning: which is probably not what you want.
/usr/include/net/if.h:182: warning: `struct mbuf' declared inside parameter
list
In file included from include/includes.h:258,
                 from nmbd/nmbd_namerelease.c:25:
/usr/include/net/if.h:462: warning: `struct rtentry' declared inside
parameter list
Compiling nmbd/nmbd_nodestatus.c
In file included from include/includes.h:258,
                 from nmbd/nmbd_nodestatus.c:25:
/usr/include/net/if.h:182: warning: `struct rtentry' declared inside
parameter list
/usr/include/net/if.h:182: warning: its scope is only this definition or
declaration,
/usr/include/net/if.h:182: warning: which is probably not what you want.
/usr/include/net/if.h:182: warning: `struct mbuf' declared inside parameter
list
In file included from include/includes.h:258,
                 from nmbd/nmbd_nodestatus.c:25:
/usr/include/net/if.h:462: warning: `struct rtentry' declared inside
parameter list
Compiling nmbd/nmbd_packets.c
In file included from include/includes.h:258,
                 from nmbd/nmbd_packets.c:25:
/usr/include/net/if.h:182: warning: `struct rtentry' declared inside
parameter list
/usr/include/net/if.h:182: warning: its scope is only this definition or
declaration,
/usr/include/net/if.h:182: warning: which is probably not what you want.
/usr/include/net/if.h:182: warning: `struct mbuf' declared inside parameter
list
On Tue, Jan 30, 2001 at 03:08:08PM +0100, Henrik Lassen wrote:> On Tru64 4.0F i get do you know how I can avoid it? > > PS. What should I expect on LDAP (got an error using --with-ldap): > ===========================================================================> /usr/include/net/if.h:182: warning: `struct rtentry' declared inside > parameter list > /usr/include/net/if.h:182: warning: its scope is only this definition or > declaration, > /usr/include/net/if.h:182: warning: which is probably not what you want. > /usr/include/net/if.h:182: warning: `struct mbuf' declared inside parameter > listDo not worry, this will not harm your installation. I see the same here, not only with samba, it is a common problem, when compiling with gcc >=2.95. I guess these header files are a bit buggy, and gcc's fixincludes did not take care of them. About ldap, I can only replay comments of this list, that advise not to use it from the released versions. Regards, Axel. -- Axel.Thimm@physik.fu-berlin.de