Re: gnome-core/panel: applet-widget.c compile errors



"Brandon S. Allbery" wrote:
> 
> applet-widget.c:1051: parse error before `POA_GNOME_GenericFactory'
> applet-widget.c:1051: warning: no semicolon at end of struct or union
> applet-widget.c:1056: parse error before `}'
> applet-widget.c:1056: warning: type defaults to `int' in declaration of
> `AppletFactory'
> applet-widget.c:1056: warning: data definition has no type or storage class
> applet-widget.c:1059: parse error before `*'
> applet-widget.c: In function `server_applet_factory_supports':
> applet-widget.c:1063: `servant' undeclared (first use in this function)
> applet-widget.c:1063: (Each undeclared identifier is reported only once
> applet-widget.c:1063: for each function it appears in.)
> applet-widget.c:1064: `obj_goad_id' undeclared (first use in this function)
> applet-widget.c: At top level:
> applet-widget.c:1073: parse error before `*'
> 
> (many errors omitted)
> 
> Looks as if POA_GNOME_GenericFactory isn't defined.

I sorted this out by 

#include <libgnorba/gnome-factory.h>

I also needed to alter gnome-config to add -lgnorbagtk to GNORBALIBS as
without this you get an underfined symbol POA_GNOME_GenericFactory__init
(IIRC)



David

-- 
The superior man understands what is right;
the inferior man understands what will sell.
		-- Confucius



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