Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest commit does not appear to build a usable emulator #4

Closed
luciditee opened this issue Nov 1, 2020 · 3 comments
Closed

Latest commit does not appear to build a usable emulator #4

luciditee opened this issue Nov 1, 2020 · 3 comments

Comments

@luciditee
Copy link

luciditee commented Nov 1, 2020

EDIT: The initial reason for filing this bug report is solved, but there are further issues below that may warrant their own tickets. Title updated, see subsequent comments below.

Ubuntu 18.04, meson 0.56, gcc 7.5.0, latest stable libsdl2-dev:

~/umac$ meson builddir
The Meson build system
Version: 0.56.0
Source dir: /home/wpreston/umac
Build dir: /home/wpreston/umac/builddir
Build type: native build
Project name: microvmac
Project version: undefined
C compiler for the host machine: cc (gcc 7.5.0 "cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0")
C linker for the host machine: cc ld.bfd 2.30
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring CNFGRAPI.h using configuration
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency sdl2 found: YES 2.0.8

meson.build:175:0: ERROR: File lib/M68K/m68kops.c does not exist.

A full log can be found at /home/wpreston/umac/builddir/meson-logs/meson-log.txt

It appears that references to this file was added in the last few commits, but they aren't in the repo.

@luciditee
Copy link
Author

I got it to compile, but what I didn't fully understand at the time was that the source code depends on statically linking to incbin (https://github.com/graphitemaster/incbin/) and tomlc99 (https://github.com/cktan/tomlc99/), in addition to building the m68k emulator beforehand.

Can the Meson build system be configured to autopull these git repos? If not, maybe automating it behind a shell script would be worthwhile. I could make a gist that does this later on.

You'll need to ensure you've installed the latest libsdl2-dev (sudo apt install libsdl2-dev on Ubuntu 18.04).

To anyone else looking to compile off the current source as of 0c93bdb, try the following:

  1. Make sure you have meson 0.56 installed (sudo apt install pip3 and then pip3 install meson to install it on Ubuntu 18.04).
  2. Clone the source code if you haven't already, then cd into ./src/tomlc99 and clone the tomlc99 repo into that directory.
  3. cd back into ./src and then into ./src/incbin and clone the incbin repo into that directory.
  4. cd back to the minivmac topmost directory, and cd into ./lib/M68k, and run make.
  5. cd back to the minivmac topmost directory once more, and then set up the meson build directory by running meson setup builddir. If you get an error about /usr/bin/meson not existing, restart bash because your environment isn't up to date after pip3 installed it.
  6. Finally, run meson compile -C ./builddir. When this completes binary will be compiled and located in ./builddir.

Hope this helps.

@luciditee
Copy link
Author

Keeping up to date with this, it does successfully start on WSL Ubuntu 18.04 running Xming as an x window host, but it isn't usable. This setup works with generally all SDL2 applications, so I doubt it is unique to this particular setup. The vmac window shows the Macintosh default checkerboard 512x384 for a brief, sub-1-second time period and then the window draws white a flat white color with no further way to give input and no menu bar.

image

The mouse cursor appears as the default Macintosh mouse cursor, or something like it.

@halian
Copy link

halian commented Nov 2, 2020

The above instructions fail in Arch latest using commit 0c93bdb. Here's the error:

[39/39] Linking target microvmac
FAILED: microvmac 
cc  -o microvmac microvmac.p/src_HW_DISK_IWMEMDEV.c.o microvmac.p/src_HW_DISK_SONYEMDV.c.o microvmac.p/src_PATCHES_SONYDRV.c.o microvmac.p/lib_M68K_m68kcpu.c.o microvmac.p/lib_M68K_m68kdasm.c.o microvmac.p/lib_M68K_m68kops.c.o microvmac.p/lib_M68K_softfloat_softfloat.c.o microvmac.p/lib_M68K_m68khooks.c.o microvmac.p/lib_M68K_m68kgdb.c.o microvmac.p/src_HW_RTC_RTCEMDEV.c.o microvmac.p/src_HW_SOUND_SNDEMDEV.c.o microvmac.p/src_HW_VIA_VIAEMDEV.c.o microvmac.p/src_HW_SCREEN_SCRNEMDV.c.o microvmac.p/src_PATCHES_SCRNHACK.c.o microvmac.p/src_HW_SCC_SCCEMDEV.c.o microvmac.p/src_HW_SCSI_SCSIEMDV.c.o microvmac.p/src_HW_MOUSE_MOUSEMDV.c.o microvmac.p/src_HW_ROM_ROMEMDEV.c.o microvmac.p/src_HW_KBRD_KBRDEMDV.c.o microvmac.p/src_UI_COMOSGLU.c.o microvmac.p/src_UI_CONTROLM.c.o microvmac.p/src_UI_SDL2_OSGLUSD2.c.o microvmac.p/src_UI_SDL2_DBGLOG.c.o microvmac.p/src_UI_SDL2_DRIVES.c.o microvmac.p/src_UI_SDL2_INTL.c.o microvmac.p/src_UI_SDL2_KEYBOARD.c.o microvmac.p/src_UI_SDL2_MOUSE.c.o microvmac.p/src_UI_SDL2_ROM.c.o microvmac.p/src_UI_SDL2_SOUND.c.o microvmac.p/src_UI_SDL2_TIMEDATE.c.o microvmac.p/src_UI_SDL2_VIDEO.c.o microvmac.p/src_PROGMAIN.c.o microvmac.p/src_GLOBGLUE.c.o microvmac.p/src_CFGMAN.c.o microvmac.p/src_PATCHES_ROMEMDEV.c.o microvmac.p/src_UTIL_DATE2SEC.c.o microvmac.p/src_LANG_INTLCHAR.c.o microvmac.p/src_tomlc99_toml.c.o -Wl,--as-needed -Wl,--no-undefined -pthread -Wl,--start-group /usr/lib/libSDL2.so -Wl,--end-group
/usr/bin/ld: microvmac.p/src_HW_SCREEN_SCRNEMDV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_HW_SCREEN_SCRNEMDV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_HW_SCREEN_SCRNEMDV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_PATCHES_SCRNHACK.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_PATCHES_SCRNHACK.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_PATCHES_SCRNHACK.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_UI_CONTROLM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_CONTROLM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_CONTROLM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_CONTROLM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_CONTROLM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_CONTROLM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_DRIVES.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_DRIVES.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_DRIVES.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_DRIVES.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_DRIVES.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_DRIVES.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_INTL.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_INTL.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_INTL.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_INTL.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_INTL.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_INTL.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_KEYBOARD.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_KEYBOARD.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_KEYBOARD.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_KEYBOARD.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_KEYBOARD.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_KEYBOARD.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_MOUSE.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_MOUSE.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_MOUSE.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_MOUSE.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_MOUSE.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_MOUSE.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_ROM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_ROM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_ROM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_ROM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_ROM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_ROM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_SOUND.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_SOUND.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_SOUND.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_SOUND.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_SOUND.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_SOUND.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_PROGMAIN.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_PROGMAIN.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_PROGMAIN.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_CFGMAN.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_CFGMAN.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_CFGMAN.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_LANG_INTLCHAR.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_LANG_INTLCHAR.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_LANG_INTLCHAR.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_LANG_INTLCHAR.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_LANG_INTLCHAR.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_LANG_INTLCHAR.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

@luciditee luciditee changed the title m68kops.c missing from build Latest commit does not appear to build a usable emulator Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants