Re: Compilation problems with printer applet



Hi Jacob,
Thanks for the input.

I beleive that I am using the latest version of ORBit (ORBit2). But the
errors like the following are forking up, it's searching for files at
two paths, ie., one at "usr/include/orb/" and the other at
"gnome/head/INSTALL/include/orbit-2.0/orbit/orb-core/". Is this the
problem that you are referring to?
Is there any other means to make sure that ORBit.2 is been used?

-------------------------------------------------------------------------- 
In file included from
/home/rajks/project3/gnome/head/INSTALL/include/orbit-2.0/orbit/orb-core/orb-core-types.h:4,
                 from
/home/rajks/project3/gnome/head/INSTALL/include/orbit-2.0/orbit/orbit-types.h:6,
                 from
/home/rajks/project3/gnome/head/INSTALL/include/orbit-2.0/ORBitservices/CosNaming.h:9,
                 from /usr/include/libgnorba/gnorba.h:5,
                 from /usr/include/applet-widget.h:12,
                 from printer.c:18:
/home/rajks/project3/gnome/head/INSTALL/include/orbit-2.0/orbit/orb-core/orb-types.h:30:
warning: redefinition of `CORBA_ORBid'
/usr/include/orb/orbit_types.h:39: warning: `CORBA_ORBid' previously
declared here
/home/rajks/project3/gnome/head/INSTALL/include/orbit-2.0/orbit/orb-core/orb-types.h:31:
conflicting types for `CORBA_any'
/usr/include/orb/corba_any.h:34: previous declaration of `CORBA_any'
/home/rajks/project3/gnome/head/INSTALL/include/orbit-2.0/orbit/orb-core/orb-types.h:38:
conflicting types for `CORBA_fixed_d_s'
/usr/include/orb/orbit_types.h:121: previous declaration of
`CORBA_fixed_d_s'
/home/rajks/project3/gnome/head/INSTALL/include/orbit-2.0/orbit/orb-core/orb-types.h:40:
redefinition of `struct CORBA_NVList_type'
-------------------------------------------------------------------------- 


jacob berkman wrote:
> 
> On Fri, 2002-02-22 at 06:44, Rajkumar Sivasamy wrote:
> >
> > Hi,
> > Am trying to build printer applet which is a part of gnome-panel
> > (gnome-panel/applets/gen_utils/).
> 
> >
> > NOTE: The Error file appended herewith.
> > ----------------------------------------------------------------------------------------
> > /usr/include/orb/iop.h:197: previous declaration of
> > `IIOP_ProfileBody_1_0'
> 
>what is this file from?  

 This file is referred from printer.c as follows:
 In file included from
/home/rajks/project3/gnome/head/INSTALL/include/orbit-2.0/orbit/GIOP/giop-types.h:11,
                 from
/home/rajks/project3/gnome/head/INSTALL/include/orbit-2.0/orbit/GIOP/giop.h:7,
                 from
/home/rajks/project3/gnome/head/INSTALL/include/orbit-2.0/orbit/orbit.h:19,
                 from
/home/rajks/project3/gnome/head/INSTALL/include/orbit-2.0/orbit/orb-core/orbit-interface.h:837,
                 from
/home/rajks/project3/gnome/head/INSTALL/include/orbit-2.0/ORBitservices/CosNaming.h:960,
                 from /usr/include/libgnorba/gnorba.h:5,
                 from /usr/include/applet-widget.h:12,
                 from printer.c:18:

/home/rajks/project3/gnome/head/INSTALL/include/orbit-2.0/orbit/orb-core/iop-defs.h:638:
conflicting types for `IIOP_ProfileBody_1_0'
 /usr/include/orb/iop.h:197: previous declaration of
`IIOP_ProfileBody_1_0'



Regards,
Raj.



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