Re: is libgtop compile-able ?...



On Thu, 26 Nov 1998, Jeff Garzik wrote:

> I just saw a commit go by that may fix this.  Do a 'cvs up'.

Look at netload.c - if it has a

#include <net/if.h>
#include <netinet/ip_fw.h>

in it, then you're having the newest version that should be ok.

If you still get problems with this, please let me know.

Martin



> 
> 	Jeff
> 
> 
> 
> 
> Phillip Neumann wrote:
> > 
> > Hello,
> > 
> > I heared that libgtop has some problems.... Are thouse still there?
> > 
> > 
> > 
> > This is what i get:
> > 
> > <many messages>
> > /usr/include/netinet/in.h:40: previous declaration of `IPPROTO_UDP'
> > /usr/include/linux/in.h:33: conflicting types for `IPPROTO_IDP'
> > /usr/include/netinet/in.h:41: previous declaration of `IPPROTO_IDP'
> > /usr/include/linux/in.h:35: conflicting types for `IPPROTO_RAW'
> > /usr/include/netinet/in.h:45: previous declaration of `IPPROTO_RAW'
> > /usr/include/linux/in.h:37: conflicting types for `IPPROTO_MAX'
> > /usr/include/netinet/in.h:47: previous declaration of `IPPROTO_MAX'
> > /usr/include/linux/in.h:41: redefinition of `struct in_addr'
> > /usr/include/linux/in.h:48: redefinition of `struct ip_mreq'
> > /usr/include/linux/in.h:56: redefinition of `struct sockaddr_in'
> > In file included from /usr/include/linux/in.h:120,
> >                  from /usr/include/linux/ip_fw.h:56,
> >                  from netload.c:33:
> > /usr/include/asm/byteorder.h:22: conflicting types for `ntohl'
> > /usr/include/netinet/in.h:204: previous declaration of `ntohl'
> > /usr/include/asm/byteorder.h:24: conflicting types for `htonl'
> > /usr/include/netinet/in.h:206: previous declaration of `htonl'
> > make[3]: *** [netload.lo] Error 1
> > 
> > 
> > 
> > Thanks,
> > 
> > 
> > 
> > -- 
> >                          __________________________________________
> >                         /                             /
> >                        /      Phillip  Neumann       /
> >                       /     filsin@bigfoot.com      /
> > _____________________/_____________________________/
> > 
> > 
> > -- 
> >         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> >          To unsubscribe: mail gnome-list-request@gnome.org with 
> >                        "unsubscribe" as the Subject.
> > 
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 

-----------------------------------------------------------------
   Martin Baulig - Angewandte Mathematik - Universitaet Trier
   martin@home-of-linux.org, http://www.home-of-linux.org/
------------------------------------------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]