XFce 4 Netload plugin
Michelle
shadoe at shadoegrounds.com
Tue Aug 12 18:18:55 CEST 2003
eep maybe i should have stressed further how much of a dirty hack that
was. its makes the plugin work on freebsd with that portion but thats
all my friend fixed. That particular include is absolutely necessary for
it to work on freebsd.
Just put something like
#if defined(__FreeBSD__)
...
#endif
around the #include <net/something>'s
sorry about that.
:)
Michelle
Danny wrote:
>Hi!
>
>Am Die, 2003-08-12 um 12.27 schrieb Jens Luedicke:
>
>
>>On Mon, Aug 11, 2003 at 08:34:47PM +0200, Bernhard Walle wrote:
>>
>>
>>>On Mon, 11 Aug 2003 at 03:20 (-0400), Shadoe wrote:
>>>
>>>
>>>>Yep I noticed afterward that opera mailer hides them at the very bottom :/
>>>>i dont usually use this thing :)
>>>>
>>>>
>>>I released version 0.1.1 now. Should work. Contact me/the list if not.
>>>http://www.bwalle.de/xfce4/xfce4/xfce4-netload-plugin-0.1.1.tar.gz
>>>http://www.bwalle.de/xfce4/xfce4/xfce4-netload-plugin-0.1.1.asc
>>>
>>>
>>when compiling I get the following error:
>>
>>
>>gcc -DHAVE_CONFIG_H -I. -I. -I..
>>-DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\"
>>-I/usr/local/include/xfce4 -I/usr/X11R6/include -I/usr/include/libxml2
>>-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
>>-I/usr/include/pango-1.0 -I/usr/include/freetype2
>>-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>>-I/usr/include/atk-1.0 -g -O2 -MT libnetload_la-net.lo -MD -MP -MF
>>.deps/libnetload_la-net.Tpo -c net.c -fPIC -DPIC -o
>>.libs/libnetload_la-net.lo
>>net.c:38:24: net/if_mib.h: No such file or directory
>>make[2]: *** [libnetload_la-net.lo] Error 1
>>make[2]: Leaving directory
>>`/home/jens/xfce4-netload-plugin-0.1.1/panel-plugin'
>>make[1]: *** [all-recursive] Error 1
>>make[1]: Leaving directory `/home/jens/xfce4-netload-plugin-0.1.1'
>>make: *** [all] Error 2
>>
>>
>I have that problem too... But removing the #include <net/if_mib.h> from
>net.c fixes that with no problem whatsoever...
>
>Maybe add this to the automake check stuff...
>
>
>
>>Jens
>>
>>
>
>Danny
>
>
>_______________________________________________
>Xfce4-dev mailing list
>Xfce4-dev at xfce.org
>http://moongroup.com/mailman/listinfo/xfce4-dev
>
>
>
More information about the Xfce4-dev
mailing list