Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xavier@xavier-desktop:~/PeopsSoftGpu/gpuPeopsSoft/src$ make
- gcc -g -Wall -fPIC -O4 -fomit-frame-pointer -ffast-math -I/usr/local/include `gtk-config --cflags` -m32 `pkg-config --cflags --libs gtk+-3.0` -DUSE_XF86VM -c -o conf.o conf.c
- /bin/sh: 1: gtk-config: not found
- In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9:0,
- from /usr/include/glib-2.0/glib/gtypes.h:32,
- from /usr/include/glib-2.0/glib/galloca.h:32,
- from /usr/include/glib-2.0/glib.h:30,
- from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
- from /usr/include/gtk-3.0/gdk/gdk.h:30,
- from /usr/include/gtk-3.0/gtk/gtk.h:30,
- from conf.c:48:
- /usr/include/glib-2.0/glib/gtypes.h: In function ‘_GLIB_CHECKED_ADD_U64’:
- /usr/include/glib-2.0/glib/gtypes.h:423:3: error: size of array ‘_GStaticAssertCompileTimeAssertion_0’ is negative
- G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64));
- ^
- conf.c: In function ‘OnCfgFixes’:
- conf.c:215:28: error: ‘GTK_WINDOW_DIALOG’ undeclared (first use in this function)
- FixesDlg = gtk_window_new(GTK_WINDOW_DIALOG);
- ^~~~~~~~~~~~~~~~~
- conf.c:215:28: note: each undeclared identifier is reported only once for each function it appears in
- conf.c:221:14: warning: implicit declaration of function ‘gtk_packer_new’ [-Wimplicit-function-declaration]
- DlgPacker = gtk_packer_new();
- ^~~~~~~~~~~~~~
- conf.c:221:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- DlgPacker = gtk_packer_new();
- ^
- conf.c:224:2: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
- Box = gtk_vbox_new(0, 5);
- ^~~
- In file included from /usr/include/gtk-3.0/gtk/gtk.h:282:0,
- from conf.c:48:
- /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
- GtkWidget * gtk_vbox_new (gboolean homogeneous,
- ^~~~~~~~~~~~
- conf.c:226:2: warning: implicit declaration of function ‘gtk_packer_add’ [-Wimplicit-function-declaration]
- gtk_packer_add(GTK_PACKER(DlgPacker), Box, GTK_SIDE_TOP, GTK_ANCHOR_CENTER,
- ^~~~~~~~~~~~~~
- conf.c:226:17: warning: implicit declaration of function ‘GTK_PACKER’ [-Wimplicit-function-declaration]
- gtk_packer_add(GTK_PACKER(DlgPacker), Box, GTK_SIDE_TOP, GTK_ANCHOR_CENTER,
- ^~~~~~~~~~
- conf.c:226:45: error: ‘GTK_SIDE_TOP’ undeclared (first use in this function)
- gtk_packer_add(GTK_PACKER(DlgPacker), Box, GTK_SIDE_TOP, GTK_ANCHOR_CENTER,
- ^~~~~~~~~~~~
- conf.c:226:59: error: ‘GTK_ANCHOR_CENTER’ undeclared (first use in this function)
- gtk_packer_add(GTK_PACKER(DlgPacker), Box, GTK_SIDE_TOP, GTK_ANCHOR_CENTER,
- ^~~~~~~~~~~~~~~~~
- conf.c:227:17: error: ‘GTK_FILL_X’ undeclared (first use in this function)
- GTK_FILL_X, 0, 8, 8, 0, 0);
- ^~~~~~~~~~
- conf.c:235:2: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
- AddCfgFixBtn("Odd/even bit hack" , "epsxe 1.5.2 - ChronoCross");
- ^~~~~~~~~~~~
- In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:0,
- from conf.c:48:
- /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
- GtkWidget * gtk_hbox_new (gboolean homogeneous,
- ^~~~~~~~~~~~
- conf.c:198:2: warning: implicit declaration of function ‘gtk_widget_set_usize’ [-Wimplicit-function-declaration]
- gtk_widget_set_usize(FixesBtns[i], 180, 25); \
- ^
- conf.c:235:2: note: in expansion of macro ‘AddCfgFixBtn’
- AddCfgFixBtn("Odd/even bit hack" , "epsxe 1.5.2 - ChronoCross");
- ^~~~~~~~~~~~
- conf.c:236:2: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
- AddCfgFixBtn("Expand screen width" , "2D Capcom fighters");
- ^~~~~~~~~~~~
- In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:0,
- from conf.c:48:
- /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
- GtkWidget * gtk_hbox_new (gboolean homogeneous,
- ^~~~~~~~~~~~
- conf.c:237:2: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
- AddCfgFixBtn("Ignore brightness color" , "Black screens in Lunar");
- ^~~~~~~~~~~~
- In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:0,
- from conf.c:48:
- /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
- GtkWidget * gtk_hbox_new (gboolean homogeneous,
- ^~~~~~~~~~~~
- conf.c:238:2: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
- AddCfgFixBtn("Disable coord check" , "Old compatibility mode");
- ^~~~~~~~~~~~
- In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:0,
- from conf.c:48:
- /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
- GtkWidget * gtk_hbox_new (gboolean homogeneous,
- ^~~~~~~~~~~~
- conf.c:239:2: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
- AddCfgFixBtn("Unused" , "");
- ^~~~~~~~~~~~
- In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:0,
- from conf.c:48:
- /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
- GtkWidget * gtk_hbox_new (gboolean homogeneous,
- ^~~~~~~~~~~~
- conf.c:240:2: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
- AddCfgFixBtn("Use PC fps calculation" , "Better fps limitation with some games");
- ^~~~~~~~~~~~
- In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:0,
- from conf.c:48:
- /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
- GtkWidget * gtk_hbox_new (gboolean homogeneous,
- ^~~~~~~~~~~~
- conf.c:241:2: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
- AddCfgFixBtn("Lazy screen updates" , "Maybe faster, needed for Pandemonium2");
- ^~~~~~~~~~~~
- In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:0,
- from conf.c:48:
- /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
- GtkWidget * gtk_hbox_new (gboolean homogeneous,
- ^~~~~~~~~~~~
- conf.c:242:2: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
- AddCfgFixBtn("Use old frame skipping" , "Skips only every second frame");
- ^~~~~~~~~~~~
- In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:0,
- from conf.c:48:
- /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
- GtkWidget * gtk_hbox_new (gboolean homogeneous,
- ^~~~~~~~~~~~
- conf.c:243:2: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
- AddCfgFixBtn("Repeated flat tex triangles" , "Needed by Dark Forces");
- ^~~~~~~~~~~~
- In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:0,
- from conf.c:48:
- /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
- GtkWidget * gtk_hbox_new (gboolean homogeneous,
- ^~~~~~~~~~~~
- conf.c:244:2: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
- AddCfgFixBtn("Draw quads with triangles" , "Better g-colors, worse textures");
- ^~~~~~~~~~~~
- In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:0,
- from conf.c:48:
- /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
- GtkWidget * gtk_hbox_new (gboolean homogeneous,
- ^~~~~~~~~~~~
- conf.c:245:2: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
- AddCfgFixBtn("Fake 'gpu busy' states" , "Prevents lockups in some games ");
- ^~~~~~~~~~~~
- In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:0,
- from conf.c:48:
- /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
- GtkWidget * gtk_hbox_new (gboolean homogeneous,
- ^~~~~~~~~~~~
- conf.c:251:2: warning: ‘gtk_hbutton_box_new’ is deprecated: Use 'gtk_button_box_new' instead [-Wdeprecated-declarations]
- BBox = gtk_hbutton_box_new();
- ^~~~
- In file included from /usr/include/gtk-3.0/gtk/gtk.h:257:0,
- from conf.c:48:
- /usr/include/gtk-3.0/gtk/deprecated/gtkhbbox.h:62:12: note: declared here
- GtkWidget* gtk_hbutton_box_new (void);
- ^~~~~~~~~~~~~~~~~~~
- conf.c:252:46: error: ‘GTK_SIDE_BOTTOM’ undeclared (first use in this function)
- gtk_packer_add(GTK_PACKER(DlgPacker), BBox, GTK_SIDE_BOTTOM, GTK_ANCHOR_S,
- ^~~~~~~~~~~~~~~
- conf.c:252:63: error: ‘GTK_ANCHOR_S’ undeclared (first use in this function)
- gtk_packer_add(GTK_PACKER(DlgPacker), BBox, GTK_SIDE_BOTTOM, GTK_ANCHOR_S,
- ^~~~~~~~~~~~
- conf.c:253:30: error: ‘GTK_FILL_Y’ undeclared (first use in this function)
- GTK_FILL_X | GTK_FILL_Y | GTK_EXPAND, 0, 8, 8, 0, 0);
- ^~~~~~~~~~
- conf.c:256:2: warning: implicit declaration of function ‘gtk_signal_connect’ [-Wimplicit-function-declaration]
- gtk_signal_connect(GTK_OBJECT(Ok), "clicked", GTK_SIGNAL_FUNC(OnCfgFixes_Ok), NULL);
- ^~~~~~~~~~~~~~~~~~
- conf.c:256:21: warning: implicit declaration of function ‘GTK_OBJECT’ [-Wimplicit-function-declaration]
- gtk_signal_connect(GTK_OBJECT(Ok), "clicked", GTK_SIGNAL_FUNC(OnCfgFixes_Ok), NULL);
- ^~~~~~~~~~
- conf.c:256:48: warning: implicit declaration of function ‘GTK_SIGNAL_FUNC’ [-Wimplicit-function-declaration]
- gtk_signal_connect(GTK_OBJECT(Ok), "clicked", GTK_SIGNAL_FUNC(OnCfgFixes_Ok), NULL);
- ^~~~~~~~~~~~~~~
- conf.c:258:2: warning: implicit declaration of function ‘GTK_WIDGET_SET_FLAGS’ [-Wimplicit-function-declaration]
- GTK_WIDGET_SET_FLAGS(Ok, GTK_CAN_DEFAULT);
- ^~~~~~~~~~~~~~~~~~~~
- conf.c:258:27: error: ‘GTK_CAN_DEFAULT’ undeclared (first use in this function)
- GTK_WIDGET_SET_FLAGS(Ok, GTK_CAN_DEFAULT);
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0,
- from /usr/include/glib-2.0/gobject/gbinding.h:29,
- from /usr/include/glib-2.0/glib-object.h:23,
- from /usr/include/glib-2.0/gio/gioenums.h:28,
- from /usr/include/glib-2.0/gio/giotypes.h:28,
- from /usr/include/glib-2.0/gio/gio.h:26,
- from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
- from /usr/include/gtk-3.0/gdk/gdk.h:32,
- from /usr/include/gtk-3.0/gtk/gtk.h:30,
- from conf.c:48:
- conf.c: In function ‘OnDefFast’:
- conf.c:283:32: warning: implicit declaration of function ‘GTK_COMBO’ [-Wimplicit-function-declaration]
- gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(ComboModes)->entry), Text);
- ^
- conf.c:283:53: error: invalid type argument of ‘->’ (have ‘int’)
- gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(ComboModes)->entry), Text);
- ^
- conf.c:302:59: error: invalid type argument of ‘->’ (have ‘int’)
- gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(StretchComboModes)->entry),(char *)&szStretchModes[1][0]);
- ^
- conf.c:303:58: error: invalid type argument of ‘->’ (have ‘int’)
- gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(DitherComboModes)->entry),(char *)&szDitherModes[0][0]);
- ^
- conf.c: In function ‘OnDefNice’:
- conf.c:314:53: error: invalid type argument of ‘->’ (have ‘int’)
- gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(ComboModes)->entry), Text);
- ^
- conf.c:333:59: error: invalid type argument of ‘->’ (have ‘int’)
- gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(StretchComboModes)->entry),(char *)&szStretchModes);
- ^
- conf.c:334:58: error: invalid type argument of ‘->’ (have ‘int’)
- gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(DitherComboModes)->entry),(char *)&szDitherModes[1][0]);
- ^
- conf.c: In function ‘OnOk’:
- conf.c:351:82: error: invalid type argument of ‘->’ (have ‘int’)
- iUseNoStretchBlt =atoi(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(StretchComboModes)->entry)));
- ^
- conf.c:353:75: error: invalid type argument of ‘->’ (have ‘int’)
- iUseDither =atoi(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(DitherComboModes)->entry)));
- ^
- conf.c:355:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- tmp = gtk_entry_get_text(GTK_ENTRY(EditW));
- ^
- conf.c:357:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- tmp = gtk_entry_get_text(GTK_ENTRY(EditH));
- ^
- In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0,
- from /usr/include/glib-2.0/gobject/gbinding.h:29,
- from /usr/include/glib-2.0/glib-object.h:23,
- from /usr/include/glib-2.0/gio/gioenums.h:28,
- from /usr/include/glib-2.0/gio/giotypes.h:28,
- from /usr/include/glib-2.0/gio/gio.h:26,
- from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
- from /usr/include/gtk-3.0/gdk/gdk.h:32,
- from /usr/include/gtk-3.0/gtk/gtk.h:30,
- from conf.c:48:
- conf.c:361:59: error: invalid type argument of ‘->’ (have ‘int’)
- tmp = gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(ComboModes)->entry));
- ^
- conf.c:364:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- tmp = gtk_entry_get_text(GTK_ENTRY(EditF));
- ^
- conf.c: In function ‘SoftDlgProc’:
- conf.c:445:2: warning: implicit declaration of function ‘gtk_combo_set_popdown_strings’ [-Wimplicit-function-declaration]
- gtk_combo_set_popdown_strings(GTK_COMBO(ComboModes), Modes);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0,
- from /usr/include/glib-2.0/gobject/gbinding.h:29,
- from /usr/include/glib-2.0/glib-object.h:23,
- from /usr/include/glib-2.0/gio/gioenums.h:28,
- from /usr/include/glib-2.0/gio/giotypes.h:28,
- from /usr/include/glib-2.0/gio/gio.h:26,
- from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
- from /usr/include/gtk-3.0/gdk/gdk.h:32,
- from /usr/include/gtk-3.0/gtk/gtk.h:30,
- from conf.c:48:
- conf.c:449:53: error: invalid type argument of ‘->’ (have ‘int’)
- gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(ComboModes)->entry), Text);
- ^
- conf.c:478:59: error: invalid type argument of ‘->’ (have ‘int’)
- gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(StretchComboModes)->entry), (char *)&szStretchModes[iUseNoStretchBlt][0]);
- ^
- conf.c:486:58: error: invalid type argument of ‘->’ (have ‘int’)
- gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(DitherComboModes)->entry), (char *)&szDitherModes[iUseDither][0]);
- ^
- conf.c:488:2: warning: implicit declaration of function ‘gtk_toggle_button_set_state’ [-Wimplicit-function-declaration]
- gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(ShowFpsBtn), iShowFPS);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- conf.c: In function ‘ReadConfigFile’:
- conf.c:590:27: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
- FILE *in;char t[256];int len, size;
- ^~~
- <builtin>: recipe for target 'conf.o' failed
- make: *** [conf.o] Error 1
- xavier@xavier-desktop:~/PeopsSoftGpu/gpuPeopsSoft/src$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement