Compilation problems with printer applet



Hi,
Am trying to build printer applet which is a part of gnome-panel
(gnome-panel/applets/gen_utils/). Though this applet is a part of
gnome-panel it wasn't compiled when I built gnome-panel. B'coz in
Makefile (in gnome-panel/applets/gen_utils dir.) there wasn't any entry
for printer applet's source (printer.c & printer.h). So I made an entry
to it by adding printer.c and printer.h to Makefile.am (under
gnome-panel/applets/gen_utils) and generated the Makefile for the same
by running autogen.sh in gnome-panel. But the build (*make*) failed for
printer applet. 

The changes made in Makefile.am:
I have added printer.c & printer.h to the Mkaefile.am SOURCES as below:.


----------------------------------------------------------
libgen_util_applet_2_la_SOURCES = \
        main.c \
        clock.c \
        clock.h \
        pager.c \
        pager.h \
        tasklist.c \
        tasklist.h \
        mailcheck.c \
        mailcheck.h \
        popcheck.c \
        popcheck.h \
        remote-helper.c \
        remote-helper.h\
        printer.c\
        printer.h

libgen_util_applet_2_la_LDFLAGS = -module -avoid-version
libgen_util_applet_2_la_LIBADD =                        \
        ../../libpanel-applet/libpanel-applet-2.la      \
        $(WNCKLET_LIBS)

appletdir = $(libdir)
applet_LTLIBRARIES = libgen_util_applet-2.la
----------------------------------------------------------

Please let me know how to go about in building this applet.

Thanks & Regards,
Raj.






NOTE: The Error file appended herewith.
----------------------------------------------------------------------------------------
/usr/include/orb/iop.h:197: previous declaration of
`IIOP_ProfileBody_1_0'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:681: parse
error before `CORBA_string'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:681: warning:
no semicolon at end of struct or union
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:684: parse
error before `}'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:703:
conflicting types for `IIOP_ProfileBody_1_1'
/usr/include/orb/iop.h:205: previous declaration of
`IIOP_ProfileBody_1_1'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:785: parse
error before `CORBA_string'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:785: warning:
no semicolon at end of struct or union
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:789: parse
error before `}'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:811: parse
error before `CORBA_string'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:811: warning:
no semicolon at end of struct or union
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:813: parse
error before `}'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:917:
conflicting types for `GIOP_Version'
/usr/include/orb/iop.h:125: previous declaration of `GIOP_Version'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1003:
conflicting types for `GIOP_Request'
/usr/include/orb/iop.h:128: previous declaration of `GIOP_Request'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1004:
conflicting types for `GIOP_Reply'
/usr/include/orb/iop.h:129: previous declaration of `GIOP_Reply'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1005:
conflicting types for `GIOP_CancelRequest'
/usr/include/orb/iop.h:130: previous declaration of `GIOP_CancelRequest'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1006:
conflicting types for `GIOP_LocateRequest'
/usr/include/orb/iop.h:131: previous declaration of `GIOP_LocateRequest'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1007:
conflicting types for `GIOP_LocateReply'
/usr/include/orb/iop.h:132: previous declaration of `GIOP_LocateReply'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1008:
conflicting types for `GIOP_CloseConnection'
/usr/include/orb/iop.h:133: previous declaration of
`GIOP_CloseConnection'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1010:
conflicting types for `GIOP_MessageError'
/usr/include/orb/iop.h:135: previous declaration of `GIOP_MessageError'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1011:
warning: redefinition of `GIOP_MsgType_1_0'
/usr/include/orb/iop.h:135: warning: `GIOP_MsgType_1_0' previously
declared here
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1027:
conflicting types for `GIOP_MessageHeader_1_0'
/usr/include/orb/iop.h:143: previous declaration of
`GIOP_MessageHeader_1_0'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1054:
conflicting types for `GIOP_MessageHeader_1_1'
/usr/include/orb/iop.h:151: previous declaration of
`GIOP_MessageHeader_1_1'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1101:
conflicting types for `GIOP_RequestHeader_1_0'
/usr/include/orb/iop.h:160: previous declaration of
`GIOP_RequestHeader_1_0'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1147: parse
error before `CORBA_string'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1147:
warning: no semicolon at end of struct or union
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1149: parse
error before `}'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1168:
conflicting types for `GIOP_RequestHeader_1_1'
/usr/include/orb/iop.h:170: previous declaration of
`GIOP_RequestHeader_1_1'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1215: parse
error before `CORBA_string'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1215:
warning: no semicolon at end of struct or union
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1217: parse
error before `}'
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1273: field
`ior' has incomplete type
/opt/gnome-2.0/include/orbit-2.0/orbit/orb-core/iop-defs.h:1274:
confused by earlier errors, bailing out
make[1]: *** [printer.lo] Error 1
make: *** [all-recursive] Error 1

----------------------------------------------------------------------------------------



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