Find the answer to your Linux question:
Results 1 to 2 of 2
hi, I am getting the following errors when i try and run 'make' within the Avant dir. Code: cookie@dbf:~/avant-window-navigator-0.1.1$ make make all-recursive make[1]: Entering directory `/home/cookie/avant-window-navigator-0.1.1' Making all in src ...
  1. #1
    Just Joined! rh-penguin's Avatar
    Join Date
    Oct 2006
    Location
    London
    Posts
    18

    installing Avant Window Navigator on etch (bit stuck)



    hi,

    I am getting the following errors when i try and run 'make' within the Avant dir.
    Code:
    cookie@dbf:~/avant-window-navigator-0.1.1$ make
    make  all-recursive
    make[1]: Entering directory `/home/cookie/avant-window-navigator-0.1.1'
    Making all in src
    make[2]: Entering directory `/home/cookie/avant-window-navigator-0.1.1/src'
    if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/freetype2 -I/usr/include/libpng12-I/usr/include/libwnck-1.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0    -DDATADIR=\""/usr/share"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\"   -g -O2 -Wall -pedantic -std=c99 -fno-strict-aliasing -fmessage-length=0 -D_FORTIFY_SOURCE=2 -MT awn-bar.o -MD -MP -MF ".deps/awn-bar.Tpo" -c -o awn-bar.o awn-bar.c; \
            then mv -f ".deps/awn-bar.Tpo" ".deps/awn-bar.Po"; else rm -f ".deps/awn-bar.Tpo"; exit 1; fi
    awn-bar.c:35: warning: type defaults to ‘int’ in declaration of ‘current_width’
    awn-bar.c: In function ‘awn_bar_new’:
    awn-bar.c:79: warning: passing argument 1 of ‘_position_window’ from incompatible pointer type
    awn-bar.c: In function ‘_on_expose’:
    awn-bar.c:259: warning: type defaults to ‘int’ in declaration of ‘oWidth’
    awn-bar.c:260: warning: type defaults to ‘int’ in declaration of ‘oHeight’
    awn-bar.c:260: warning: unused variable ‘oHeight’
    awn-bar.c:259: warning: unused variable ‘oWidth’
    awn-bar.c: In function ‘do_shape_combine_mask’:
    awn-bar.c:310: error: ‘Pixmap’ undeclared (first use in this function)
    awn-bar.c:310: error: (Each undeclared identifier is reported only once
    awn-bar.c:310: error: for each function it appears in.)
    awn-bar.c:310: error: expected ‘;’ before ‘pixmap’
    awn-bar.c:315: warning: implicit declaration of function ‘XShapeQueryExtension’
    awn-bar.c:315: warning: implicit declaration of function ‘GDK_WINDOW_XDISPLAY’
    awn-bar.c:318: warning: implicit declaration of function ‘XShapeQueryVersion’
    awn-bar.c:326: error: ‘pixmap’ undeclared (first use in this function)
    awn-bar.c:326: warning: implicit declaration of function ‘GDK_DRAWABLE_XID’
    awn-bar.c:331: error: ‘None’ undeclared (first use in this function)
    awn-bar.c:334: warning: implicit declaration of function ‘XShapeCombineMask’
    awn-bar.c:336: error: ‘ShapeInput’ undeclared (first use in this function)
    awn-bar.c:340: error: ‘ShapeSet’ undeclared (first use in this function)
    awn-bar.c: In function ‘awn_bar_resize’:
    awn-bar.c:467: warning: ISO C forbids conversion of function pointer to object pointer type
    awn-bar.c:467: warning: passing argument 2 of ‘g_timeout_add’ from incompatible pointer type
    make[2]: *** [awn-bar.o] Error 1
    make[2]: Leaving directory `/home/cookie/avant-window-navigator-0.1.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/cookie/avant-window-navigator-0.1.1'
    make: *** [all] Error 2
    I can see theres something regarding pixmap, but other than that i got no idea what to do............
    Can someone tell me what these errors are saying, and how can i fix them?

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,420
    Well you miss a library to compile it from source.
    So, well I dont know what Avant is but Check if you have the following Librarys:
    • /usr/include/glib-2.0
    • /usr/lib/glib-2.0/include
    • /usr/include/gtk-2.0
    • /usr/lib/gtk-2.0/include
    • /usr/include/atk-1.0
    • /usr/include/cairo
    • /usr/include/pango-1.0
    • /usr/include/freetype2
    • /usr/include/libpng12
    • /usr/include/libwnck-1.0
    • /usr/include/orbit-2.0
    New Users, please read this..
    Google first, then ask..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •