Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got error running make inside debug folder #958

Open
EppurSiMu0ve opened this issue Mar 4, 2020 · 3 comments
Open

Got error running make inside debug folder #958

EppurSiMu0ve opened this issue Mar 4, 2020 · 3 comments

Comments

@EppurSiMu0ve
Copy link

EppurSiMu0ve commented Mar 4, 2020

To compile debug pluginf irst I run ./configure and it returns:

geany-plugins-1.33

  Build Environment:
    Geany version:             1.33 (GTK3)
    Install prefix:                 /usr/local
    Datadir:                        /usr/local/share/geany-plugins
    Libdir:                           /usr/local/lib/geany-plugins
    Docdir:                         /usr/local/share/doc/geany-plugins
    Plugins path:                /usr/lib/x86_64-linux-gnu/geany

  Build Features:
    Unit tests:                              no
    Static code checking:            no
    Extra C compiler warnings:   yes
    Extra linker options:              yes

  Plugins:
    Addons:                       yes
    Autoclose:                    yes
    Automark:                     yes
    CodeNav:                      yes
    Commander:                    yes
    Debugger:                     no
    Defineformat:                 yes
    DevHelp:                      no
    GeanyCtags:                   yes
    GeanyDoc:                     yes
    GeanyExtraSel:                yes
    GeanyGenDoc:                  no
    GeanyInsertNum:               yes
    LaTeX:                        yes
    GeanyLua:                     no
    GeanyMacro:                   yes
    GeanyMiniScript:              yes
    GeanyNumberedBookmarks:       yes
    GeanyPrj:                     yes
    Geanypy:                      no
    GeanyVC:                      yes
    GeanyPG:                      no
    GeniusPaste:                  no
    GitChangeBar:                 no
    keyrecord:                    yes
    LineOperations:               yes
    Lipsum:                       yes
    Markdown:                     no
    MultiTerm:                    no
    Overview:                     yes
    PairTagHighlighter:           yes
    PoHelper:                     yes
    Pretty Printer:               no
    ProjectOrganizer:             yes
    Scope:                        no
    Sendmail:                     yes
    ShiftColumn:                  yes
    Spellcheck:                   no
    TreeBrowser:                  yes
    Tableconvert:                 yes
    Updatechecker:                no
    WebHelper:                    no
    Workbench:                    yes
    XMLSnippets:                  yes

  Features:
    GeanyVC GtkSpell support:    no
    Markdown library:                   peg-markdown
    TreeBrowser GIO support:      yes
    Utility library:                           yes

After that I run the command make inside debug plugin folder, but I go the following error:

Making all in src
make[1]: Entering directory '/home/epsm/Baixados/geany-plugins-1.33/debugger/src'
  CC       debugger_la-bptree.lo
In file included from bptree.c:48:
cell_renderers/cellrendererbreakicon.h:43:3: warning: parameter names (without types) in function declaration
   guint GSEAL (enabled);
   ^~~~~
cell_renderers/cellrendererbreakicon.h:43:9: error: field ‘GSEAL’ declared as a function
   guint GSEAL (enabled);
         ^~~~~
cell_renderers/cellrendererbreakicon.h:44:3: warning: parameter names (without types) in function declaration
   const gchar* GSEAL(condition);
   ^~~~~
cell_renderers/cellrendererbreakicon.h:44:16: error: field ‘GSEAL’ declared as a function
   const gchar* GSEAL(condition);
                ^~~~~
cell_renderers/cellrendererbreakicon.h:45:3: warning: parameter names (without types) in function declaration
   guint GSEAL (hitscount);
   ^~~~~
cell_renderers/cellrendererbreakicon.h:45:9: error: field ‘GSEAL’ declared as a function
   guint GSEAL (hitscount);
         ^~~~~
cell_renderers/cellrendererbreakicon.h:47:3: warning: parameter names (without types) in function declaration
   GdkPixbuf *GSEAL (pixbuf_enabled);
   ^~~~~~~~~
cell_renderers/cellrendererbreakicon.h:47:14: error: field ‘GSEAL’ declared as a function
   GdkPixbuf *GSEAL (pixbuf_enabled);
              ^~~~~
cell_renderers/cellrendererbreakicon.h:48:3: warning: parameter names (without types) in function declaration
   GdkPixbuf *GSEAL (pixbuf_disabled);
   ^~~~~~~~~
cell_renderers/cellrendererbreakicon.h:48:14: error: field ‘GSEAL’ declared as a function
   GdkPixbuf *GSEAL (pixbuf_disabled);
              ^~~~~
cell_renderers/cellrendererbreakicon.h:49:3: warning: parameter names (without types) in function declaration
   GdkPixbuf *GSEAL (pixbuf_conditional);
   ^~~~~~~~~
cell_renderers/cellrendererbreakicon.h:49:14: error: field ‘GSEAL’ declared as a function
   GdkPixbuf *GSEAL (pixbuf_conditional);
              ^~~~~
cell_renderers/cellrendererbreakicon.h:50:3: warning: parameter names (without types) in function declaration
   GdkPixbuf *GSEAL (pixbuf_file);
   ^~~~~~~~~
cell_renderers/cellrendererbreakicon.h:50:14: error: field ‘GSEAL’ declared as a function
   GdkPixbuf *GSEAL (pixbuf_file);
              ^~~~~
cell_renderers/cellrendererbreakicon.h:44:16: error: duplicate member ‘GSEAL’
   const gchar* GSEAL(condition);
                ^~~~~
cell_renderers/cellrendererbreakicon.h:45:9: error: duplicate member ‘GSEAL’
   guint GSEAL (hitscount);
         ^~~~~
cell_renderers/cellrendererbreakicon.h:47:14: error: duplicate member ‘GSEAL’
   GdkPixbuf *GSEAL (pixbuf_enabled);
              ^~~~~
cell_renderers/cellrendererbreakicon.h:48:14: error: duplicate member ‘GSEAL’
   GdkPixbuf *GSEAL (pixbuf_disabled);
              ^~~~~
cell_renderers/cellrendererbreakicon.h:49:14: error: duplicate member ‘GSEAL’
   GdkPixbuf *GSEAL (pixbuf_conditional);
              ^~~~~
cell_renderers/cellrendererbreakicon.h:50:14: error: duplicate member ‘GSEAL’
   GdkPixbuf *GSEAL (pixbuf_file);
              ^~~~~
bptree.c: In function ‘on_hitscount_changed’:
bptree.c:373:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (oldcount != count)
     ^~
bptree.c:376:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  gtk_tree_path_free(tree_path);
  ^~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:976: debugger_la-bptree.lo] Error 1
make[1]: Leaving directory '/home/epsm/Baixados/geany-plugins-1.33/debugger/src'
make: *** [Makefile:583: all-recursive] Error 1

I would be very gratefull for some help. Thanks in advance.

*Edit 1: when I run ./configure --enable-debugger, I get:

configure: error: Debugger is not compatible with the GTK version in use
@elextr
Copy link
Member

elextr commented Mar 4, 2020

Did you notice the "no" for debugger on the configure output? That means that the requirements for debugger are not met, so its not surprising that it doesn't compile.

Since you mentioned 1.33 and GTK3 thats probably the problem, debugger was not made gtk3 compatible until 1.36 AFAIK

@codebrainz
Copy link
Member

What version are you trying to compile, and what OS/distro/version are you trying to compile on?

Also check out existing Issues on this bug tracker for various similar issues and fixes.

@EppurSiMu0ve
Copy link
Author

@codebrainz I'm using Debian 10 + i3wm and I'm trying to compile debugger plugin version 1.33 since this is Geany's version running on my PC.

@elextr Too bad! I'll try to use gtk2 to see what happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants