bug-commoncpp
[Top][All Lists]
Advanced

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

Re: bug in commoncpp


From: David Sugar
Subject: Re: bug in commoncpp
Date: Thu, 26 Dec 2002 08:54:23 -0500
User-agent: KMail/1.4.3

It seems ifr_addr and ifr_netmask are typically defined in a union and of the 
same type, so yes, they generally are interchangable.  I am not sure if there 
are any platforms this is not true for, however.

There are a few small issues left in 1.0.8 that need to be resolved.  I hope 
we can clarify them by the 1st to do a release then.  I think it is probably 
about time to do a new ccrtp release as well, as I think there is only a 
question about dropped packets still being investigated there...

On Thursday 26 December 2002 08:41, Prochnow, Christian wrote:
> Hi,
>
> this is a known issue, could you try this:
> change the member ifr_netmask to ifr_addr and check the demo program if it
> still prints you the right netmasks for your network devices?
>
> If this works we're going to change it to "ifr_addr" cause there seem to be
> a header-file problem with some BSD versions. It's weird because another
> people did compile network.cpp withour errors - also on FreeBSD 4.7-STABLE.
>
> Regards,
> Christian Prochnow
>
> > Hello.
> >
> > I am use Commoncpp2-1.0.7
> > OS - FreeBSD 4.7(stable)
> > glib 1.2
> >
> > I am compile and receive this message:
> >
> > c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
> > -I/usr/local/include -D_GNU_SOURCE -D_THREAD_SAFE
> > -I/usr/local/include/libxml2 -I/usr/local/include -I../include -c
> > network.cpp -fPIC -DPIC -o .libs/network.lo
> > network.cpp: In function `bool
> > ost::enumNetworkDevices(vector<ost::NetworkDeviceInfo,allocator<ost::Netw
> >or kDeviceInfo>
> >
> > > &)':
> >
> > network.cpp:119: `struct ifreq' has no member named `ifr_netmask'
> > *** Error code 1
> >
> > In FreeBSD stucture ifreq don`t have member ifr_netmask.
> >
> >
> > _______________________________________________
> > Bug-commoncpp mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp




reply via email to

[Prev in Thread] Current Thread [Next in Thread]