You are not logged in.

#1 2017-11-08 17:12:06

nagyation
Member
Registered: 2016-07-11
Posts: 21

i8086emu build error

I need some help installing i8086emu, or finding any alternatives,

https://sourceforge.net/projects/i8086emu/

While configuring it outputs

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

while I already have gtk2, pango and gobject and newer versions:

the output of
pacman -Qs gtk2

local/gtk-sharp-2 2.12.42-1
    gtk2 bindings for C#
local/gtk2 2.24.31-1
    GObject-based multi-platform GUI toolkit (legacy)
local/gtkglext 1.2.0-10
    opengl extensions for gtk2
local/gtkmm 2.24.5-2
    C++ bindings for gtk2
local/lib32-gtk2 2.24.31-1
    GObject-based multi-platform GUI toolkit (legacy) (32-bit)
local/webkitgtk2 2.4.11-6
    Legacy Web content engine for GTK+ 2
local/wxgtk-common 3.0.3.1-9
    Common libraries and headers for wxgtk2 and wxgtk3
local/wxgtk2 3.0.3.1-9
    GTK+2 implementation of wxWidgets API for GUI

neglecting it and building using make:
it gives this error

make[2]: Entering directory '/tmp/i8086emu-src-0.9.2/src'
gcc -g -O2 -shared -fPIC devices/i8086pic.c i8086error.o i8086messages.o i8086util.o -o devices/i8086pic.so
/usr/bin/ld: i8086messages.o: relocation R_X86_64_PC32 against symbol `msgFuncs' can not be used when making a shared object; recompile with -fPIC

I tried manually compiling i8086messages with -fPIC flag

now make gives me this:

gcc -g -O2 -o i8086text i8086text.o i8086proc.o i8086error.o i8086datatrans.o i8086emufuncs.o i8086arithmetic.o i8086control.o i8086logic.o i8086util.o i8086controltrans.o i8086wrapper.o i8086messages.o i8086strings.o i8086config.o disasm/*.o i8086devices.o -lncurses `if [ "xterm-256color" != "cygwin" ]; then echo "-ldl"; fi;`
/usr/bin/ld: i8086text.o: undefined reference to symbol 'acs_map'
/usr/lib/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

additional informations:
uname -a:

Linux nagys-laptop 4.13.11-1-ARCH #1 SMP PREEMPT Thu Nov 2 10:25:56 CET 2017 x86_64 GNU/Linux

and I'm running gnome:

local/gnome-session 3.26.1-1 (gnome)
    The GNOME Session Handler

Last edited by nagyation (2017-11-08 17:14:28)

Offline

#2 2017-11-10 21:23:42

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: i8086emu build error


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2017-11-10 22:22:11

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,911
Website

Re: i8086emu build error

Mod note: Moving to AUR issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2017-11-11 12:44:39

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,982

Re: i8086emu build error

nagyation wrote:

or finding any alternatives

Would something like dosbox work for you ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB