switchboard-shell.h:45:10: error: field ‘parent’ has incomplete type

Bug #1359976 reported by beta992
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pantheon Plugs
New
Undecided
Unassigned

Bug Description

Scanning dependencies of target i18n
[ 1%] messages.”
[ 1%] Built target i18n
[ 2%] Generating /tmp/aur-alucryd/pantheon/switchboard-plug-gcc-bzr/src/switchboard-plug-gcc/build/config.c;BluetoothPlug.c
Scanning dependencies of target gcc-bluetooth
[ 4%] Building C object plugs/Bluetooth/CMakeFiles/gcc-bluetooth.dir/__/__/libgnome-control-center/cc-gnome_cc-panel.c.o
In file included from /tmp/aur-alucryd/pantheon/switchboard-plug-gcc-bzr/src/switchboard-plug-gcc/libgnome-control-center/cc-gnome_cc-panel.c:27:0:
/tmp/aur-alucryd/pantheon/switchboard-plug-gcc-bzr/src/switchboard-plug-gcc/libgnome-control-center/switchboard-shell.h:45:10: error: field ‘parent’ has incomplete type
  CcShell parent;
          ^
/tmp/aur-alucryd/pantheon/switchboard-plug-gcc-bzr/src/switchboard-plug-gcc/libgnome-control-center/switchboard-shell.h:52:2: error: unknown type name ‘CcShellClass’
  CcShellClass parent_class;
  ^
plugs/Bluetooth/CMakeFiles/gcc-bluetooth.dir/build.make:65: recipe for target 'plugs/Bluetooth/CMakeFiles/gcc-bluetooth.dir/__/__/libgnome-control-center/cc-gnome_cc-panel.c.o' failed
make[2]: *** [plugs/Bluetooth/CMakeFiles/gcc-bluetooth.dir/__/__/libgnome-control-center/cc-gnome_cc-panel.c.o] Error 1
CMakeFiles/Makefile2:211: recipe for target 'plugs/Bluetooth/CMakeFiles/gcc-bluetooth.dir/all' failed
make[1]: *** [plugs/Bluetooth/CMakeFiles/gcc-bluetooth.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I'm unable to build it, gnome-bluetooth-3.12.0 installed.

Tags: archlinux
beta992 (beta992)
tags: added: archlinux
Revision history for this message
Tom Beckmann (tombeckmann) wrote :

Make sure your version of libgnome-control-center-dev has the type CcShell. It should work then.

Revision history for this message
beta992 (beta992) wrote :

Hi Tom,

Thanks for your reply.

Source of the package:
https://github.com/alucryd/aur-alucryd/tree/master/pantheon/libgnome-control-center

I'm not that good (yet) on this kind of stuff, but from the patch (in the source) it includes cc-shell.c & cc-shell.h.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.