[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in commoncpp
From: |
Prochnow, Christian |
Subject: |
Re: bug in commoncpp |
Date: |
Thu, 26 Dec 2002 14:41:50 +0100 |
User-agent: |
KMail/1.4.3 |
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::Networ
>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