Skip to content

Instantly share code, notes, and snippets.

@phranck
Created February 7, 2025 14:56
Show Gist options
  • Save phranck/5b1b94d9734170279b86beeab41ffe31 to your computer and use it in GitHub Desktop.
Save phranck/5b1b94d9734170279b86beeab41ffe31 to your computer and use it in GitHub Desktop.
make output of Previous emulator
[ 38%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/sdlgui.c.o
[ 39%] Linking C static library libGuiSdl.a
[ 39%] Built target GuiSdl
[ 40%] Building C object src/cpu/CMakeFiles/build68k.dir/build68k.c.o
[ 40%] Linking C executable build68k
[ 40%] Built target build68k
[ 41%] Generating cpudefs.c
[ 42%] Building C object src/cpu/CMakeFiles/gencpu.dir/gencpu.c.o
[ 42%] Building C object src/cpu/CMakeFiles/gencpu.dir/readcpu.c.o
[ 43%] Building C object src/cpu/CMakeFiles/gencpu.dir/cpudefs.c.o
[ 44%] Linking C executable gencpu
/usr/bin/ld: CMakeFiles/gencpu.dir/readcpu.c.o:/home/phranck/previous/previous-code/src/cpu/compat.h:31: multiple definition of `quit_program'; CMakeFiles/gencpu.dir/gencpu.c.o:/home/phranck/previous/previous-code/src/cpu/compat.h:31: first defined here
/usr/bin/ld: CMakeFiles/gencpu.dir/readcpu.c.o:/home/phranck/previous/previous-code/src/cpu/compat.h:30: multiple definition of `vpos'; CMakeFiles/gencpu.dir/gencpu.c.o:/home/phranck/previous/previous-code/src/cpu/compat.h:30: first defined here
/usr/bin/ld: CMakeFiles/gencpu.dir/cpudefs.c.o:/home/phranck/previous/previous-code/src/cpu/compat.h:31: multiple definition of `quit_program'; CMakeFiles/gencpu.dir/gencpu.c.o:/home/phranck/previous/previous-code/src/cpu/compat.h:31: first defined here
/usr/bin/ld: CMakeFiles/gencpu.dir/cpudefs.c.o:/home/phranck/previous/previous-code/src/cpu/compat.h:30: multiple definition of `vpos'; CMakeFiles/gencpu.dir/gencpu.c.o:/home/phranck/previous/previous-code/src/cpu/compat.h:30: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [src/cpu/CMakeFiles/gencpu.dir/build.make:134: src/cpu/gencpu] Error 1
make[1]: *** [CMakeFiles/Makefile2:408: src/cpu/CMakeFiles/gencpu.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment