Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Make error Keytouch-editor 3.2.0beta

Help
loki1950
2009-04-04
2013-04-17
  • loki1950
    loki1950
    2009-04-04

    Trying to build on fedora 10 and getting this as the make log

    [denis@teinlung keytouch-editor-3.2.0-beta]$ make
    make  all-recursive
    make[1]: Entering directory `/home/denis/LocalBuilds/keytouch-editor-3.2.0-beta'
    Making all in mxml
    make[2]: Entering directory `/home/denis/LocalBuilds/keytouch-editor-3.2.0-beta/mxml'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/denis/LocalBuilds/keytouch-editor-3.2.0-beta/mxml'
    Making all in string_to_keycode
    make[2]: Entering directory `/home/denis/LocalBuilds/keytouch-editor-3.2.0-beta/string_to_keycode'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/denis/LocalBuilds/keytouch-editor-3.2.0-beta/string_to_keycode'
    Making all in src
    make[2]: Entering directory `/home/denis/LocalBuilds/keytouch-editor-3.2.0-beta/src'
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../mxml/     -DPACKAGE_DATA_DIR=\""/usr/local/share"\"     -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\"     -I../string_to_keycode     -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12     -g -O2 -Wall -g -O2 -c ud_socket.c
    In file included from ud_socket.c:19:
    ud_socket.h:12: warning: ‘struct ucred’ declared inside parameter list
    ud_socket.h:12: warning: its scope is only this definition or declaration, which is probably not what you want
    ud_socket.c:56: warning: ‘struct ucred’ declared inside parameter list
    ud_socket.c:56: error: conflicting types for ‘ud_accept’
    ud_socket.h:12: error: previous declaration of ‘ud_accept’ was here
    ud_socket.c: In function ‘ud_accept’:
    ud_socket.c:73: error: invalid application of ‘sizeof’ to incomplete type ‘struct ucred’
    make[2]: *** [ud_socket.o] Error 1
    make[2]: Leaving directory `/home/denis/LocalBuilds/keytouch-editor-3.2.0-beta/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/denis/LocalBuilds/keytouch-editor-3.2.0-beta'
    make: *** [all-recursive-am] Error 2
    [denis@teinlung keytouch-editor-3.2.0-beta]$

    Not very familiar with C and it's variants but i do user support for the vegastrike project and we sometimes get similar errors is a declaration missing?

    Thanks for any help
    Enjoy the Choice :) 

     
    • shaftstick
      shaftstick
      2009-06-10

      hello ,
      igot the same error i am running ubuntu jaunty and can't compile due to this error if someone get the solutio please sharee.
      thanks.