Guest User

MLBevelReflect compile error

a guest
Feb 9th, 2014
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.41 KB | None | 0 0
  1. nixnine@nixnine-Inspiron-1545:~/Downloads/MLBevelReflect-Source/Linux_Makefile$ sudo make
  2. [sudo] password for nixnine:
  3. cc -O3 -m32 -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/harfbuzz -I/usr/include/gimp-2.0 -c -o MLBevelReflect.o MLBevelReflect.c
  4. MLBevelReflect.c: In function ‘mlBevelReflect’:
  5. MLBevelReflect.c:208:7: warning: variable ‘probeImgChannels’ set but not used [-Wunused-but-set-variable]
  6. MLBevelReflect.c:184:9: warning: unused variable ‘val’ [-Wunused-variable]
  7. MLBevelReflect.c: In function ‘invertInput_changed_callback’:
  8. MLBevelReflect.c:635:2: warning: passing argument 1 of ‘gtk_toggle_button_get_active’ from incompatible pointer type [enabled by default]
  9. In file included from /usr/include/gtk-2.0/gtk/gtkcheckbutton.h:35:0,
  10. from /usr/include/gtk-2.0/gtk/gtk.h:66,
  11. from /usr/include/gimp-2.0/libgimp/gimpui.h:22,
  12. from MLBevelReflect.c:23:
  13. /usr/include/gtk-2.0/gtk/gtktogglebutton.h:84:12: note: expected ‘struct GtkToggleButton *’ but argument is of type ‘struct GtkCheckButton *’
  14. MLBevelReflect.c: In function ‘slopeType_changed_callback’:
  15. MLBevelReflect.c:640:2: warning: passing argument 1 of ‘gtk_toggle_button_get_active’ from incompatible pointer type [enabled by default]
  16. In file included from /usr/include/gtk-2.0/gtk/gtkcheckbutton.h:35:0,
  17. from /usr/include/gtk-2.0/gtk/gtk.h:66,
  18. from /usr/include/gimp-2.0/libgimp/gimpui.h:22,
  19. from MLBevelReflect.c:23:
  20. /usr/include/gtk-2.0/gtk/gtktogglebutton.h:84:12: note: expected ‘struct GtkToggleButton *’ but argument is of type ‘struct GtkRadioButton *’
  21. MLBevelReflect.c:644:2: warning: passing argument 1 of ‘gtk_toggle_button_get_active’ from incompatible pointer type [enabled by default]
  22. In file included from /usr/include/gtk-2.0/gtk/gtkcheckbutton.h:35:0,
  23. from /usr/include/gtk-2.0/gtk/gtk.h:66,
  24. from /usr/include/gimp-2.0/libgimp/gimpui.h:22,
  25. from MLBevelReflect.c:23:
  26. /usr/include/gtk-2.0/gtk/gtktogglebutton.h:84:12: note: expected ‘struct GtkToggleButton *’ but argument is of type ‘struct GtkRadioButton *’
  27. MLBevelReflect.c:648:2: warning: passing argument 1 of ‘gtk_toggle_button_get_active’ from incompatible pointer type [enabled by default]
  28. In file included from /usr/include/gtk-2.0/gtk/gtkcheckbutton.h:35:0,
  29. from /usr/include/gtk-2.0/gtk/gtk.h:66,
  30. from /usr/include/gimp-2.0/libgimp/gimpui.h:22,
  31. from MLBevelReflect.c:23:
  32. /usr/include/gtk-2.0/gtk/gtktogglebutton.h:84:12: note: expected ‘struct GtkToggleButton *’ but argument is of type ‘struct GtkRadioButton *’
  33. MLBevelReflect.c: In function ‘reflection_changed_callback’:
  34. MLBevelReflect.c:655:2: warning: passing argument 1 of ‘gtk_toggle_button_get_active’ from incompatible pointer type [enabled by default]
  35. In file included from /usr/include/gtk-2.0/gtk/gtkcheckbutton.h:35:0,
  36. from /usr/include/gtk-2.0/gtk/gtk.h:66,
  37. from /usr/include/gimp-2.0/libgimp/gimpui.h:22,
  38. from MLBevelReflect.c:23:
  39. /usr/include/gtk-2.0/gtk/gtktogglebutton.h:84:12: note: expected ‘struct GtkToggleButton *’ but argument is of type ‘struct GtkRadioButton *’
  40. MLBevelReflect.c:660:2: warning: passing argument 1 of ‘gtk_toggle_button_get_active’ from incompatible pointer type [enabled by default]
  41. In file included from /usr/include/gtk-2.0/gtk/gtkcheckbutton.h:35:0,
  42. from /usr/include/gtk-2.0/gtk/gtk.h:66,
  43. from /usr/include/gimp-2.0/libgimp/gimpui.h:22,
  44. from MLBevelReflect.c:23:
  45. /usr/include/gtk-2.0/gtk/gtktogglebutton.h:84:12: note: expected ‘struct GtkToggleButton *’ but argument is of type ‘struct GtkRadioButton *’
  46. MLBevelReflect.c: At top level:
  47. MLBevelReflect.c:77:17: warning: ‘mlbr_constraint’ declared ‘static’ but never defined [-Wunused-function]
  48. cc -O3 -m32 -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/harfbuzz -I/usr/include/gimp-2.0 -lm -o MLBevelReflect MLBevelReflect.o -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
  49. /usr/bin/ld: MLBevelReflect.o: undefined reference to symbol 'atan2@@GLIBC_2.0'
  50. /usr/bin/ld: note: 'atan2@@GLIBC_2.0' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/libm.so so try adding it to the linker command line
  51. /usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/libm.so: could not read symbols: Invalid operation
  52. collect2: error: ld returned 1 exit status
  53. make: *** [MLBevelReflect] Error 1
Advertisement
Add Comment
Please, Sign In to add comment