Advertisement
Guest User

dosbox-x log

a guest
Mar 4th, 2022
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.81 KB | None | 0 0
  1. dosbox.cpp: In function ‘void Init_VGABIOS()’:
  2. dosbox.cpp:920:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  3. 920 | fread((char*)MemBase+0xC0000,rom_sz,1,rom_fp);
  4. | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. At global scope:
  6. cc1plus: note: unrecognized command-line option ‘-Wno-int-to-void-pointer-cast’ may have been intended to silence earlier diagnostics
  7. cc1plus: note: unrecognized command-line option ‘-Wno-int-to-void-pointer-cast’ may have been intended to silence earlier diagnostics
  8. g++ -march=x86-64 -mtune=generic -pipe -fno-plt -std=gnu++14 -O2 -msse -Wall -Wextra -Wunused -pedantic -Wlogical-op -Wsign-promo -Wconversion-null -Wno-deprecated-declarations -Wno-implicit-fallthrough -Wno-strict-aliasing -Wno-missing-field-initializers -Wno-format-zero-length -Wno-address-of-packed-member -Wno-int-to-void-pointer-cast -I/home/chris_l/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23 -I/home/chris_l/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdlnet/linux-host/include -I/home/chris_l/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdlnet/linux-host/include/SDL -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/home/chris_l/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdlnet/linux-host/lib -o dosbox-x dosbox.o debug/libdebug.a dos/libdos.a shell/libshell.a builtin/libbuiltin.a ints/libints.a hardware/serialport/libserial.a hardware/parport/libparallel.a libs/porttalk/libporttalk.a gui/libgui.a libs/gui_tk/libgui_tk.a hardware/libhardware.a cpu/libcpu.a hardware/reSID/libresid.a fpu/libfpu.a gui/libgui.a misc/libmisc.a output/liboutput.a hardware/mame/libmame.a libs/zmbv/libzmbv.a libs/decoders/internal/libopusint.a aviwriter/libaviwriter.a libs/xBRZ/libxbrz.a libs/mt32/libmt32.a libs/fluidsynth/libfluidsynth.a -lasound -lm -ldl -lpthread -L/home/chris_l/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdl/linux-host/lib -Wl,-rpath,/home/chris_l/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdl/linux-host/lib -lSDL -L/usr/lib64 -R/usr/lib64 -lX11 -lXext -lts -lpthread -ltinfo -lfreetype -lSDL_net -lz -lpng -lz -lpcap -lslirp -lglib-2.0 -lX11 -lXrandr -lxkbfile -lavcodec -lavformat -lavutil -lswscale -L/usr/lib/ffmpeg4.4 -lavcodec -lGL
  9. /usr/bin/ld: hardware/libhardware.a(hardware.o): in function `ffmpeg_flush_video() [clone .part.0]':
  10. hardware.cpp:(.text+0x18a): undefined reference to `avcodec_encode_video2'
  11. /usr/bin/ld: hardware/libhardware.a(hardware.o): in function `ffmpeg_audio_frame_send()':
  12. hardware.cpp:(.text+0x98d): undefined reference to `avcodec_encode_audio2'
  13. /usr/bin/ld: hardware/libhardware.a(hardware.o): in function `ffmpeg_flushout()':
  14. hardware.cpp:(.text+0xd60): undefined reference to `avcodec_encode_audio2'
  15. /usr/bin/ld: hardware/libhardware.a(hardware.o): in function `ffmpeg_reopen_video(double, int)':
  16. hardware.cpp:(.text+0xfc1): undefined reference to `avcodec_get_context_defaults3'
  17. /usr/bin/ld: hardware.cpp:(.text+0x115f): undefined reference to `av_frame_set_colorspace'
  18. /usr/bin/ld: hardware.cpp:(.text+0x11b6): undefined reference to `av_frame_set_colorspace'
  19. /usr/bin/ld: hardware.cpp:(.text+0x11c8): undefined reference to `av_frame_set_color_range'
  20. /usr/bin/ld: hardware/libhardware.a(hardware.o): in function `CAPTURE_AddImage(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, float, unsigned char*, unsigned char*)':
  21. hardware.cpp:(.text+0x3b09): undefined reference to `avcodec_encode_video2'
  22. /usr/bin/ld: hardware.cpp:(.text+0x434e): undefined reference to `avcodec_get_context_defaults3'
  23. /usr/bin/ld: hardware.cpp:(.text+0x44fd): undefined reference to `avcodec_get_context_defaults3'
  24. /usr/bin/ld: hardware.cpp:(.text+0x460a): undefined reference to `av_frame_set_channels'
  25. /usr/bin/ld: hardware.cpp:(.text+0x461d): undefined reference to `av_frame_set_sample_rate'
  26. /usr/bin/ld: hardware.cpp:(.text+0x462f): undefined reference to `av_frame_set_channel_layout'
  27. /usr/bin/ld: hardware.cpp:(.text+0x4671): undefined reference to `av_frame_set_colorspace'
  28. /usr/bin/ld: hardware.cpp:(.text+0x46d0): undefined reference to `av_frame_set_colorspace'
  29. /usr/bin/ld: hardware.cpp:(.text+0x46e2): undefined reference to `av_frame_set_color_range'
  30. collect2: error: ld returned 1 exit status
  31. make[3]: *** [Makefile:468: dosbox-x] Error 1
  32. make[3]: Leaving directory '/home/chris_l/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/src'
  33. make[2]: *** [Makefile:528: all-recursive] Error 1
  34. make[2]: Leaving directory '/home/chris_l/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/src'
  35. make[1]: *** [Makefile:400: all-recursive] Error 1
  36. make[1]: Leaving directory '/home/chris_l/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23'
  37. make: *** [Makefile:333: all] Error 2
  38. ==> ERROR: A failure occurred in build().
  39. Aborting...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement