Can't compile lxpanel

Walter Hurry walterhurry at gmail.com
Wed Jun 5 23:54:32 UTC 2013


I'm running 10.0-CORRENT on amd64. Ports and source are both up to date.

When I try to compile x11/lxpanel I get this:
------------------------------------------
gmake[4]: Entering directory `/usr/ports/x11/lxpanel/work/lxpanel-0.5.12/
src/plugins/volume'
  CC       volume_la-volume.lo
volume.c:193:20: error: non-void function 'on_button_press' should return 
a value [-Wreturn-type]
                        if (! vol_spin) return;
                                        ^
volume.c:196:26: error: non-void function 'on_button_press' should return 
a value [-Wreturn-type]
                        if (! vol_adjustment) return;
                                              ^
volume.c:217:19: error: non-void function 'on_button_press' should return 
a value [-Wreturn-type]
                if (! vol_spin) return;
                                ^
volume.c:220:25: error: non-void function 'on_button_press' should return 
a value [-Wreturn-type]
                if (! vol_adjustment) return;
                                      ^
volume.c:286:21: error: non-void function 'volume_constructor' should 
return a value [-Wreturn-type]
    if (! vol_spin) return;
                    ^
volume.c:289:27: error: non-void function 'volume_constructor' should 
return a value [-Wreturn-type]
    if (! vol_adjustment) return;
                          ^
volume.c:309:5: warning: use of GNU old-style field designator extension 
[-Wgnu-designator]
    PLUGINCLASS_VERSIONING,
    ^
../../../src/plugin.h:35:5: note: expanded from macro 
'PLUGINCLASS_VERSIONING'
    structure_size : sizeof(PluginClass), \
    ^
volume.c:309:5: warning: use of GNU old-style field designator extension 
[-Wgnu-designator]
../../../src/plugin.h:36:5: note: expanded from macro 
'PLUGINCLASS_VERSIONING'
    structure_version : PLUGINCLASS_VERSION
    ^
volume.c:311:5: warning: use of GNU old-style field designator extension 
[-Wgnu-designator]
    type : "volume",
    ^~~~~~
    .type = 
volume.c:312:5: warning: use of GNU old-style field designator extension 
[-Wgnu-designator]
    name : N_("Volume Control"),
    ^~~~~~
    .name = 
volume.c:313:5: warning: use of GNU old-style field designator extension 
[-Wgnu-designator]
    version: "1.0",
    ^~~~~~~~
    .version = 
volume.c:314:5: warning: use of GNU old-style field designator extension 
[-Wgnu-designator]
    description : "Display and control volume",
    ^~~~~~~~~~~~~
    .description = 
volume.c:316:5: warning: use of GNU old-style field designator extension 
[-Wgnu-designator]
    constructor : volume_constructor,
    ^~~~~~~~~~~~~
    .constructor = 
volume.c:317:5: warning: use of GNU old-style field designator extension 
[-Wgnu-designator]
    destructor  : volume_destructor,
    ^~~~~~~~~~~~~
    .destructor = 
volume.c:318:5: warning: use of GNU old-style field designator extension 
[-Wgnu-designator]
    config : NULL,
    ^~~~~~~~
    .config = 
volume.c:319:5: warning: use of GNU old-style field designator extension 
[-Wgnu-designator]
    save : NULL
    ^~~~~~
    .save = 
10 warnings and 6 errors generated.
gmake[4]: *** [volume_la-volume.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/x11/lxpanel/work/lxpanel-0.5.12/
src/plugins/volume'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/x11/lxpanel/work/lxpanel-0.5.12/
src/plugins'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/lxpanel/work/lxpanel-0.5.12/
src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/lxpanel/work/lxpanel-0.5.12'
gmake: *** [all] Error 2
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/lxpanel
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/lxpanel
------------------------------------------
Is there anything I can do?



More information about the freebsd-current mailing list