Linux Compilig

Discussion of development and patch submission.
WoodNerd
Posts: 1
Joined: Mon 04 Jan, 2016 10:05 pm

Linux Compilig

Postby WoodNerd » Sat 09 Jan, 2016 5:43 pm

I try to Compile PCem under Linux,

from bash i launch:
./configure
make
following istruction of README-Linux.txt it give me error, obvius i have just installed library or ./configure cannot terminate

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/bash: /home/agreco/Develop/Altri/PCemV10.1Linux/missing: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking whether gcc and cc understand -c and -o together... yes
checking whether to enable debugging... no
checking for cpu... x86_64
checking for allegro-config... /usr/bin/allegro-config
checking for Allegro - version >= 4.0.0... yes (version 4.4.2)
checking for alGetError in -lopenal... yes
checking for alutInit in -lalut... yes
checking for pthread_create in -lpthread... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands

make result:

Making all in src
make [1]: entry in the "/home/agreco/Develop/Altri/PCemV10.1Linux/src"
source = '386.c' object = 'PCEM-386.o' libtool = no \
DEPDIR = .deps depmod = none / bin / bash ../depcomp \
gcc -DPACKAGE_NAME = \ "PCEM \" -DPACKAGE_TARNAME = \ "PCEM \" -DPACKAGE_VERSION = \ "v10.1 \" -DPACKAGE_STRING = \ "PCEM \ v10.1 \" -DPACKAGE_BUGREPORT = \ "Tom \ Walker \ \ <tommowalker@tommowalker.co.uk \> \ "-DPACKAGE_URL = \" \ "-DPACKAGE = \" PCEM \ "-DVERSION = \" v10.1 \ "-DHAVE_LIBOPENAL -DHAVE_LIBALUT = 1 = 1 = 1 -I -DHAVE_LIBPTHREAD . -I / Usr / include -O3 -c -o PCEM-386.o `test -f '386.c' || echo './'`386.c
/ bin / bash: ../depcomp: File or directory does not exist
Makefile: 582: instruction set for the "PCEM-386.o" Failed
make [1]: *** [PCEM-386.o] Error 127
make [1]: the output directory "/home/agreco/Develop/Altri/PCemV10.1Linux/src"
Makefile: 247: instruction set for the "all-recursive" Failed
make: *** [all-recursive] Error 1


Configure Report Allegro libversion.
Any ideay about? could be fixed

Andrea
startmenu
Posts: 103
Joined: Sat 29 Nov, 2014 7:39 am

Re: Linux Compilig

Postby startmenu » Sun 10 Jan, 2016 2:44 am

depcomp and missing in your source folder was linked to /usr/share/automake-1.11/depcomp and /usr/share/automake-1.11/missing. but automake-1.11 is an older version.
Go to /usr/share/automake-1.xx then copy depcomp and missing to your source folder.
te_lanus
Posts: 61
Joined: Tue 28 Jul, 2015 4:47 am

Re: Linux Compilig

Postby te_lanus » Thu 28 Jan, 2016 10:39 am

quick question

I've installed Mint 17.3. Installed the build tools and everything needed to compile (or so methinks), ./configure run without a hitch:

Code: Select all

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking whether to enable debugging... no
checking for cpu... i686
checking for allegro-config... /usr/bin/allegro-config
checking for Allegro - version >= 4.0.0... yes (version 4.4.2)
checking for alGetError in -lopenal... yes
checking for alutInit in -lalut... yes
checking for pthread_create in -lpthread... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands


but running make gives the following error:

Code: Select all

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/telanus/src/pcem/missing --run aclocal-1.11
main::scan_file() called too early to check prototype at /usr/bin/aclocal-1.11 line 643.
configure.ac:57: warning: macro `AM_PATH_ALLEGRO' not found in library
 cd . && /bin/bash /home/telanus/src/pcem/missing --run automake-1.11 --gnu
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/telanus/src/pcem/missing --run autoconf
configure.ac:57: error: possibly undefined macro: AM_PATH_ALLEGRO
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
make: *** [configure] Error 1


any ideas why it breaks?
startmenu
Posts: 103
Joined: Sat 29 Nov, 2014 7:39 am

Re: Linux Compilig

Postby startmenu » Thu 28 Jan, 2016 11:35 am

Install automake-1.11 or link /home/telanus/src/pcem/missing and /home/telanus/src/pcem/depcomp to your current automake ones.
blackadder
Posts: 1
Joined: Fri 29 Jan, 2016 10:07 am

Re: Linux Compilig

Postby blackadder » Sat 30 Jan, 2016 10:56 am

The problem is that with the latest allegro (version 4.4.2) having switched to cmake, is missing allegro.m4.

You can get this from an earlier version, I used allegro-4.2.3.1, it lives in the misc directory/folder.

There are then two ways to fix the build, either copy allegro.m4 to your aclocal directory, usually /usr/share/aclocal (symlinked to /usr/share/aclocal-1.1x) which is what I did, (or create a m4 directory in the pcem folder and run aclocal -I m4)

Then run autoreconf -fiv

This basically regenerates the autoconf/automake/libtool build system for later versions, the -f option forces depcomp and missing to be re-installed.

Should then configure and compile ok, seems to be a slight problem with the menu system though, as its doesn't pick up or let you scroll through all the options. (could be my 64 bit system though)

Hope that helps.
amadama
Posts: 54
Joined: Mon 25 Aug, 2014 9:47 pm

Re: Linux Compilig

Postby amadama » Sat 26 Mar, 2016 9:43 pm

Thanks for the tips on the linux compile. Installed automake-1.11 and also put in an allegro.m4 in /usr/share/aclocal
Compiles and runs ok. Same problem as blackadder with the messed up menu options though.
szadycbr
Posts: 185
Joined: Mon 21 Nov, 2016 6:23 pm

Re: Linux Compilig

Postby szadycbr » Sat 22 Jul, 2017 12:50 pm

Hi everyone, i dont know whats wrong but i can not compile sources from PCem git page under linux, neither by ./configure ,make or from src directory trying the sdl2 wx version. The sources from github provided by Bit compiles fine , but there might be some working issues , so i try to compile original source from PCem git hub and thats what i get:

Code: Select all

pcem-386_dynarec.o: In function `opFS_REPE_l_a32':
386_dynarec.c:(.text+0x1208e): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opSS_REPE_l_a32':
386_dynarec.c:(.text+0x1211e): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opCS_REPE_w_a32':
386_dynarec.c:(.text+0x121ae): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opES_REPE_w_a32':
386_dynarec.c:(.text+0x1223e): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opDS_REPE_l_a16':
386_dynarec.c:(.text+0x122ce): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o:386_dynarec.c:(.text+0x1235e): more undefined references to `x86_opcodes_REPE' follow
pcem-386_dynarec.o: In function `opDS_REPNE_l_a32':
386_dynarec.c:(.text+0x125be): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opCS_REPNE_l_a32':
386_dynarec.c:(.text+0x1264e): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opES_REPNE_l_a32':
386_dynarec.c:(.text+0x126de): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opES_REPNE_w_a32':
386_dynarec.c:(.text+0x1276e): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opFS_REPNE_l_a16':
386_dynarec.c:(.text+0x127fe): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o:386_dynarec.c:(.text+0x1288e): more undefined references to `x86_opcodes_REPNE' follow
pcem-386_dynarec.o: In function `opREPE':
386_dynarec.c:(.text+0x53172): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opES_REPE_w_a16':
386_dynarec.c:(.text+0x534a9): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opGS_REPE_w_a16':
386_dynarec.c:(.text+0x537f9): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opCS_REPNE_w_a16':
386_dynarec.c:(.text+0x53b49): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opSS_REPNE_w_a16':
386_dynarec.c:(.text+0x541d9): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opGS_REPNE_w_a16':
386_dynarec.c:(.text+0x54529): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opSS_REPE_w_a16':
386_dynarec.c:(.text+0x54879): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opES_REPNE_w_a16':
386_dynarec.c:(.text+0x54bc9): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opDS_REPE_w_a16':
386_dynarec.c:(.text+0x54f19): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opFS_REPNE_w_a16':
386_dynarec.c:(.text+0x55269): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opFS_REPE_w_a16':
386_dynarec.c:(.text+0x555b9): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opDS_REPNE_w_a16':
386_dynarec.c:(.text+0x55909): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opCS_REPE_w_a16':
386_dynarec.c:(.text+0x55f99): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opFS_REPNE_w_a32':
386_dynarec.c:(.text+0x570c9): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opSS_REPNE_l_a32':
386_dynarec.c:(.text+0x57759): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opSS_REPNE_w_a32':
386_dynarec.c:(.text+0x57aa9): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opDS_REPE_w_a32':
386_dynarec.c:(.text+0x57df9): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opDS_REPNE_w_a32':
386_dynarec.c:(.text+0x58149): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opSS_REPE_w_a32':
386_dynarec.c:(.text+0x587d9): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opFS_REPE_w_a32':
386_dynarec.c:(.text+0x58b29): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opGS_REPNE_l_a32':
386_dynarec.c:(.text+0x5a129): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opFS_REPNE_l_a32':
386_dynarec.c:(.text+0x5a479): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opDS_REPE_l_a32':
386_dynarec.c:(.text+0x5ab09): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opGS_REPNE_l_a16':
386_dynarec.c:(.text+0x5ae59): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opES_REPE_l_a32':
386_dynarec.c:(.text+0x5b1a9): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opFS_REPE_l_a16':
386_dynarec.c:(.text+0x5b4f9): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opCS_REPNE_l_a16':
386_dynarec.c:(.text+0x5c209): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opGS_REPE_w_a32':
386_dynarec.c:(.text+0x5c899): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opGS_REPE_l_a16':
386_dynarec.c:(.text+0x5cf29): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opES_REPNE_l_a16':
386_dynarec.c:(.text+0x5d279): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opGS_REPE_l_a32':
386_dynarec.c:(.text+0x5d5c9): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opGS_REPNE_w_a32':
386_dynarec.c:(.text+0x5d919): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opCS_REPE_l_a32':
386_dynarec.c:(.text+0x5dc69): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opSS_REPE_l_a16':
386_dynarec.c:(.text+0x5dfb9): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec.o: In function `opSS_REPNE_l_a16':
386_dynarec.c:(.text+0x5e309): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec.o: In function `opCS_REPNE_w_a32':
386_dynarec.c:(.text+0x5ecd9): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec_ops.o: In function `opREPE':
386_dynarec_ops.c:(.text+0x2c357): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec_ops.o: In function `opREPNE':
386_dynarec_ops.c:(.text+0x2c3c7): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec_ops.o: In function `opGS_REPE_l_a32':
386_dynarec_ops.c:(.text+0x2ce7e): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec_ops.o: In function `opFS_REPE_l_a32':
386_dynarec_ops.c:(.text+0x2cefe): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec_ops.o: In function `opDS_REPE_l_a32':
386_dynarec_ops.c:(.text+0x2cf7e): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec_ops.o: In function `opSS_REPE_l_a32':
386_dynarec_ops.c:(.text+0x2cffe): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec_ops.o: In function `opCS_REPE_l_a32':
386_dynarec_ops.c:(.text+0x2d07e): undefined reference to `x86_opcodes_REPE'
pcem-386_dynarec_ops.o:386_dynarec_ops.c:(.text+0x2d0fe): more undefined references to `x86_opcodes_REPE' follow
pcem-386_dynarec_ops.o: In function `opGS_REPNE_l_a32':
386_dynarec_ops.c:(.text+0x2db3e): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec_ops.o: In function `opFS_REPNE_l_a32':
386_dynarec_ops.c:(.text+0x2dbbe): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec_ops.o: In function `opDS_REPNE_l_a32':
386_dynarec_ops.c:(.text+0x2dc3e): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec_ops.o: In function `opSS_REPNE_l_a32':
386_dynarec_ops.c:(.text+0x2dcbe): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec_ops.o: In function `opCS_REPNE_l_a32':
386_dynarec_ops.c:(.text+0x2dd3e): undefined reference to `x86_opcodes_REPNE'
pcem-386_dynarec_ops.o:386_dynarec_ops.c:(.text+0x2ddbe): more undefined references to `x86_opcodes_REPNE' follow
pcem-808x.o: In function `dumpregs':
808x.c:(.text+0x23fb): undefined reference to `logs_path'
pcem-hdd.o:(.data+0x1c0): undefined reference to `wd1007vse1_device'
pcem-hdd_esdi.o: In function `esdi_close':
hdd_esdi.c:(.text+0x30): undefined reference to `hdd_close'
hdd_esdi.c:(.text+0x3e): undefined reference to `hdd_close'
pcem-hdd_esdi.o: In function `esdi_init':
hdd_esdi.c:(.text+0xb1): undefined reference to `hdd_load'
hdd_esdi.c:(.text+0xc7): undefined reference to `hdd_load'
pcem-hdd_esdi.o: In function `esdi_callback':
hdd_esdi.c:(.text+0xdcd): undefined reference to `hdd_read_sectors'
hdd_esdi.c:(.text+0xfeb): undefined reference to `hdd_write_sectors'
pcem-ide.o: In function `resetide':
ide.c:(.text+0x151): undefined reference to `hdd_close'
ide.c:(.text+0x287): undefined reference to `hdd_load'
pcem-ide.o: In function `callbackide':
ide.c:(.text+0x9dd): undefined reference to `hdd_format_sectors'
ide.c:(.text+0xb64): undefined reference to `hdd_write_sectors'
ide.c:(.text+0xca5): undefined reference to `hdd_read_sectors'
ide.c:(.text+0xea4): undefined reference to `hdd_write_sectors'
ide.c:(.text+0xf7e): undefined reference to `hdd_write_sectors'
ide.c:(.text+0x11be): undefined reference to `hdd_read_sectors'
ide.c:(.text+0x1308): undefined reference to `hdd_read_sectors'
pcem-mfm_at.o: In function `mfm_init':
mfm_at.c:(.text+0x2e): undefined reference to `hdd_load'
mfm_at.c:(.text+0x44): undefined reference to `hdd_load'
pcem-mfm_at.o: In function `mfm_close':
mfm_at.c:(.text+0xf0): undefined reference to `hdd_close'
mfm_at.c:(.text+0xfe): undefined reference to `hdd_close'
pcem-mfm_at.o: In function `mfm_callback':
mfm_at.c:(.text+0x963): undefined reference to `hdd_format_sectors'
mfm_at.c:(.text+0xa46): undefined reference to `hdd_read_sectors'
mfm_at.c:(.text+0xbd0): undefined reference to `hdd_write_sectors'
pcem-mfm_xebec.o: In function `xebec_close':
mfm_xebec.c:(.text+0x50): undefined reference to `hdd_close'
mfm_xebec.c:(.text+0x5e): undefined reference to `hdd_close'
pcem-mfm_xebec.o: In function `dtc_5150x_init':
mfm_xebec.c:(.text+0x9e): undefined reference to `hdd_load'
mfm_xebec.c:(.text+0xb4): undefined reference to `hdd_load'
pcem-mfm_xebec.o: In function `xebec_init':
mfm_xebec.c:(.text+0x187): undefined reference to `hdd_load'
mfm_xebec.c:(.text+0x19d): undefined reference to `hdd_load'
pcem-mfm_xebec.o: In function `xebec_callback':
mfm_xebec.c:(.text+0xa53): undefined reference to `hdd_format_sectors'
mfm_xebec.c:(.text+0x10b0): undefined reference to `hdd_write_sectors'
mfm_xebec.c:(.text+0x1246): undefined reference to `hdd_read_sectors'
mfm_xebec.c:(.text+0x13c2): undefined reference to `hdd_read_sectors'
pcem-model.o: In function `at_batman_init':
model.c:(.text+0xf70): undefined reference to `sio_init'
pcem-model.o: In function `xt_laserxt_init':
model.c:(.text+0x20c): undefined reference to `laserxt_init'
pcem-nvr.o: In function `nvrfopen':
nvr.c:(.text+0x4e8): undefined reference to `nvr_path'
pcem-pc.o: In function `pclog':
pc.c:(.text+0x44): undefined reference to `logs_path'
pcem-pc.o: In function `fatal':
pc.c:(.text+0x126): undefined reference to `logs_path'
pcem-pc.o: In function `loadconfig':
pc.c:(.text+0xb6c): undefined reference to `pcem_path'
pcem-pc.o: In function `saveconfig':
pc.c:(.text+0x17d5): undefined reference to `pcem_path'
pcem-rom.o: In function `romfopen':
rom.c:(.text+0x6d): undefined reference to `num_roms_paths'
rom.c:(.text+0x95): undefined reference to `num_roms_paths'
rom.c:(.text+0xa6): undefined reference to `get_roms_path'
pcem-x86seg.o: In function `x86abort':
x86seg.c:(.text+0x1cc): undefined reference to `logs_path'
pcem-sound_dbopl.o: In function `opl_init':
/home/szadycbr/Downloads/pcem/src/sound_dbopl.cc:50: undefined reference to `OPL3_Reset(opl3_chip*, unsigned int)'
pcem-sound_dbopl.o: In function `opl_write':
/home/szadycbr/Downloads/pcem/src/sound_dbopl.cc:96: undefined reference to `OPL3_WriteReg(opl3_chip*, unsigned short, unsigned char)'
/home/szadycbr/Downloads/pcem/src/sound_dbopl.cc:89: undefined reference to `OPL3_WriteAddr(opl3_chip*, unsigned int, unsigned char)'
pcem-sound_dbopl.o: In function `opl3_update':
/home/szadycbr/Downloads/pcem/src/sound_dbopl.cc:162: undefined reference to `OPL3_GenerateStream(opl3_chip*, short*, unsigned int)'
pcem-allegro-gui-config-sel.o: In function `populate_configs':
allegro-gui-config-sel.c:(.text+0x6b): undefined reference to `configs_path'
pcem-allegro-gui-config-sel.o: In function `hdd_proc':
allegro-gui-config-sel.c:(.text+0x1a7): undefined reference to `configs_path'
pcem-allegro-gui-config-sel.o: In function `config_proc':
allegro-gui-config-sel.c:(.text+0x237): undefined reference to `configs_path'
pcem-allegro-gui-config-sel.o: In function `new_proc':
allegro-gui-config-sel.c:(.text+0x37b): undefined reference to `configs_path'
pcem-allegro-gui-config-sel.o: In function `config_sel':
allegro-gui-config-sel.c:(.text+0x53f): undefined reference to `configs_path'
pcem-allegro-main.o: In function `main':
allegro-main.c:(.text.startup+0x65): undefined reference to `paths_init'
allegro-main.c:(.text.startup+0x6c): undefined reference to `pcem_path'
allegro-main.c:(.text.startup+0x87): undefined reference to `get_path_separator'
allegro-main.c:(.text.startup+0x9c): undefined reference to `pcem_path'
allegro-main.c:(.text.startup+0xb0): undefined reference to `set_default_roms_paths'
allegro-main.c:(.text.startup+0xbf): undefined reference to `pcem_path'
allegro-main.c:(.text.startup+0xce): undefined reference to `set_default_nvr_path'
allegro-main.c:(.text.startup+0xdd): undefined reference to `pcem_path'
allegro-main.c:(.text.startup+0xec): undefined reference to `set_default_configs_path'
allegro-main.c:(.text.startup+0xfb): undefined reference to `pcem_path'
allegro-main.c:(.text.startup+0x10a): undefined reference to `set_default_logs_path'
allegro-main.c:(.text.startup+0x127): undefined reference to `pcem_path'
allegro-main.c:(.text.startup+0x432): undefined reference to `pcem_path'
allegro-main.c:(.text.startup+0x457): undefined reference to `pcem_path'
allegro-main.c:(.text.startup+0x47f): undefined reference to `pcem_path'
allegro-main.c:(.text.startup+0x4b7): undefined reference to `pcem_path'
pcem-allegro-main.o:allegro-main.c:(.text.startup+0x4ef): more undefined references to `pcem_path' follow
pcem-codegen_x86.o: In function `codegen_generate_call':
codegen_x86.c:(.text+0x7385): undefined reference to `x86_opcodes_REPNE'
codegen_x86.c:(.text+0x7391): undefined reference to `x86_opcodes_REPE'
codegen_x86.c:(.text+0x7983): undefined reference to `x86_dynarec_opcodes_REPE'
codegen_x86.c:(.text+0x7a49): undefined reference to `x86_dynarec_opcodes_REPNE'
collect2: error: ld returned 1 exit status
Makefile:616: recipe for target 'pcem' failed
make[1]: *** [pcem] Error 1
make[1]: Leaving directory '/home/szadycbr/Downloads/pcem/src'
Makefile:368: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

I did build bit sources fine, but then when i try to ./configure original source it showed me that i have no ALUT libray (why bit sources builds without it?) so i did install the alutlibs and ./configure worked well, then i did MAKE and above are results, did i do something wrong?

Return to “Development”

Who is online

Users browsing this forum: No registered users and 1 guest