Re: if_aironet_iee.h ?

看板DFBSD_bugs作者時間21年前 (2005/01/18 20:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
On Tue, 18 Jan 2005, Roland Hammerle wrote: > walt wrote: > > > #include <dev/netif/an/if_aironet_ieee.h> > > > > I can find the header in /usr/src/sys but not in /usr/include. > > Is it possible that this file has been omitted by mistake? > Are you sure that this is required for libgtop2? The only place I know where > it is needed is in gnomeapplets2. I don't think the wireless applet builds > so I always commented out the wireless directory in the Makefile. Sorry, I was doing too many things at once. The wireless applet compiled okay once I fed it the missing header. But now the multiload applet has a missing symbol: cc -O -pipe -o multiload-applet-2 cpuload.o linux-proc.o load-graph.o loadavg.o main.o memload.o netload.o properties.o swapload.o -Wl,--export-dynamic -L/usr/local/lib -pthread -L/usr/X11R6/lib -lpanel-applet-2 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -lgthread-2.0 -lXau -lgtop-2.0 -lglib-2.0 -liconv /usr/X11R6/lib/libgtop-2.0.so: undefined reference to `kinfo_get_sched_cputime' That symbol is defined in libkinfo -- so I fix this by including -lkinfo in the linker flags, is that right?
文章代碼(AID): #11xG7700 (DFBSD_bugs)
文章代碼(AID): #11xG7700 (DFBSD_bugs)