marcelobc548
(usa Fedora)
Enviado em 21/04/2015 - 16:29h
1- Executei no terminal o camndo abaixo
CFLAGS="-O2 -fPIC" CXXFLAGS="-O2 -fPIC" ./configure
... e retornou
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for dlsym in -ldl... yes
checking for wrefresh in -lncurses... yes
checking for pthread_create in -lpthread... yes
checking for g_signal_emit in -lgtk-x11-2.0... no
configure: WARNING: Without GTK there will be no GTK-GUI of i8086emu!
checking for XkbGetMap in -lgdk-x11-2.0... no
configure: WARNING: Without GTK there will be no GTK-GUI of i8086emu!
checking for g_malloc in -latk-1.0... no
configure: WARNING: Without ATK there will be no GTK-GUI of i8086emu!
checking for g_log in -lgdk_pixbuf-2.0... no
configure: WARNING: Without GTK there will be no GTK-GUI of i8086emu!
checking for cpowf in -lm... yes
checking for pango_xft_picture_render in -lpangoxft-1.0... yes
checking for g_module_open in -lpangox-1.0... no
configure: WARNING: Without Pango there will be no GTK-GUI of i8086emu!
checking for g_module_open in -lpango-1.0... no
configure: WARNING: Without Pango there will be no GTK-GUI of i8086emu!
checking for g_free in -lgobject-2.0... no
configure: WARNING: Without gobject there will be no GTK-GUI of i8086emu!
checking for g_free in -lgmodule-2.0... no
checking for g_free in -lglib-2.0... yes
configure: creating ./config.status
config.status: creating ./src/Makefile
configure: creating ./config.status
config.status: creating ./src/Makefile
config.status: creating ./src/emu.cfg
configure: creating ./config.status
config.status: creating ./src/Makefile
config.status: creating ./src/emu.c
2 - Em seguida executei o comando make e me retornou
make[1]: Entering directory '/home/bc548/Downloads/i8086emu-src-0.9.2/src'
if [ "0" != "0" ]; then make i8086gui;else echo "GTK GUI is disabled - may be you lack of gtk!";fi;
GTK GUI is disabled - may be you lack of gtk!
if [ 1 -eq 1 ]; then make i8086text;fi;
make[2]: Entering directory '/home/bc548/Downloads/i8086emu-src-0.9.2/src'
gcc -O2 -fPIC -DVERSION_NUMBER=\"0.9.2\" -c i8086text.c
gcc -O2 -fPIC -DVERSION_NUMBER=\"0.9.2\" -c i8086proc.c
i8086proc.c: In function ‘WBMemSignalHandler’:
i8086proc.c:72:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
r_mem = (char*)lParam;
^
gcc -O2 -fPIC `if [ "xterm-256color" = "cygwin" ]; then echo "-D _WIN32"; fi;` -c i8086error.c
gcc -O2 -fPIC -c i8086datatrans.c
gcc -O2 -fPIC -c i8086emufuncs.c
gcc -O2 -fPIC -c i8086arithmetic.c
gcc -O2 -fPIC -c i8086control.c
gcc -O2 -fPIC -c i8086logic.c
gcc -O2 -fPIC -c i8086util.c
gcc -O2 -fPIC -c i8086controltrans.c
gcc -O2 -fPIC -c i8086wrapper.c
gcc -O2 -fPIC `if [ "xterm-256color" = "cygwin" ]; then echo "-D _WIN32"; fi;` -c i8086messages.c
gcc -O2 -fPIC -c i8086strings.c
gcc -O2 -fPIC `if [ "xterm-256color" = "cygwin" ]; then echo "-D _WIN32"; fi;` -DDATADIR=\"/usr/local/etc/i8086emu\" -c i8086config.c
gcc -O2 -fPIC -c disasm/disasm.c -o disasm/disasm.o
gcc -O2 -fPIC -c disasm/insnsa.c -o disasm/insnsa.o
gcc -O2 -fPIC -c disasm/insnsd.c -o disasm/insnsd.o
gcc -O2 -fPIC -c disasm/regs.c -o disasm/regs.o
gcc -O2 -fPIC -c disasm/regvals.c -o disasm/regvals.o
gcc -O2 -fPIC -c disasm/sync.c -o disasm/sync.o
gcc -O2 -fPIC -c -DVERSION_NUMBER=\"0.9.2\" i8086devices.c
gcc -O2 -fPIC -shared -fPIC devices/i8086pic.c i8086error.o i8086messages.o i8086util.o -o devices/i8086pic.so
gcc -O2 -fPIC -shared -fPIC devices/i8086pit.c i8086error.o i8086messages.o i8086util.o -o devices/i8086pit.so -lpthread
if [ "0" != "0" ]; then gcc -O2 -fPIC `if [ "xterm-256color" = "cygwin" ]; then echo "-D _WIN32"; fi;` -shared -fPIC devices/i8086sic.c i8086error.o i8086messages.o -o devices/i8086sic.so `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0`;fi;
gcc -O2 -fPIC `if [ "xterm-256color" = "cygwin" ]; then echo "-D _WIN32"; fi;` -shared -fPIC devices/i8086beep.c i8086error.o i8086messages.o i8086util.o -o devices/i8086beep.so
if [ 1 -eq 1 ]; then gcc -O2 -fPIC `if [ "xterm-256color" = "cygwin" ]; then echo "-D _WIN32"; fi;` -shared -fPIC devices/i8086vga.c i8086error.o i8086messages.o -o devices/i8086vga.so -lpthread `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0`;fi;
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
devices/i8086vga.c:24:28: fatal error: gdk/gdkkeysyms.h: Arquivo ou diretório não encontrado
#include <gdk/gdkkeysyms.h>
^
compilation terminated.
Makefile:131: recipe for target 'devices/i8086vga.so' failed
make[2]: *** [devices/i8086vga.so] Error 1
make[2]: Leaving directory '/home/bc548/Downloads/i8086emu-src-0.9.2/src'
Makefile:34: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/bc548/Downloads/i8086emu-src-0.9.2/src'
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2
Ainda não funciona ...
Marcelo Sousa