Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dosbox.cpp: In function ‘void Init_VGABIOS()’:
- 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]
- 920 | fread((char*)MemBase+0xC0000,rom_sz,1,rom_fp);
- | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- At global scope:
- cc1plus: note: unrecognized command-line option ‘-Wno-int-to-void-pointer-cast’ may have been intended to silence earlier diagnostics
- cc1plus: note: unrecognized command-line option ‘-Wno-int-to-void-pointer-cast’ may have been intended to silence earlier diagnostics
- 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
- /usr/bin/ld: hardware/libhardware.a(hardware.o): in function `ffmpeg_flush_video() [clone .part.0]':
- hardware.cpp:(.text+0x18a): undefined reference to `avcodec_encode_video2'
- /usr/bin/ld: hardware/libhardware.a(hardware.o): in function `ffmpeg_audio_frame_send()':
- hardware.cpp:(.text+0x98d): undefined reference to `avcodec_encode_audio2'
- /usr/bin/ld: hardware/libhardware.a(hardware.o): in function `ffmpeg_flushout()':
- hardware.cpp:(.text+0xd60): undefined reference to `avcodec_encode_audio2'
- /usr/bin/ld: hardware/libhardware.a(hardware.o): in function `ffmpeg_reopen_video(double, int)':
- hardware.cpp:(.text+0xfc1): undefined reference to `avcodec_get_context_defaults3'
- /usr/bin/ld: hardware.cpp:(.text+0x115f): undefined reference to `av_frame_set_colorspace'
- /usr/bin/ld: hardware.cpp:(.text+0x11b6): undefined reference to `av_frame_set_colorspace'
- /usr/bin/ld: hardware.cpp:(.text+0x11c8): undefined reference to `av_frame_set_color_range'
- /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*)':
- hardware.cpp:(.text+0x3b09): undefined reference to `avcodec_encode_video2'
- /usr/bin/ld: hardware.cpp:(.text+0x434e): undefined reference to `avcodec_get_context_defaults3'
- /usr/bin/ld: hardware.cpp:(.text+0x44fd): undefined reference to `avcodec_get_context_defaults3'
- /usr/bin/ld: hardware.cpp:(.text+0x460a): undefined reference to `av_frame_set_channels'
- /usr/bin/ld: hardware.cpp:(.text+0x461d): undefined reference to `av_frame_set_sample_rate'
- /usr/bin/ld: hardware.cpp:(.text+0x462f): undefined reference to `av_frame_set_channel_layout'
- /usr/bin/ld: hardware.cpp:(.text+0x4671): undefined reference to `av_frame_set_colorspace'
- /usr/bin/ld: hardware.cpp:(.text+0x46d0): undefined reference to `av_frame_set_colorspace'
- /usr/bin/ld: hardware.cpp:(.text+0x46e2): undefined reference to `av_frame_set_color_range'
- collect2: error: ld returned 1 exit status
- make[3]: *** [Makefile:468: dosbox-x] Error 1
- make[3]: Leaving directory '/home/chris_l/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/src'
- make[2]: *** [Makefile:528: all-recursive] Error 1
- make[2]: Leaving directory '/home/chris_l/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/src'
- make[1]: *** [Makefile:400: all-recursive] Error 1
- make[1]: Leaving directory '/home/chris_l/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23'
- make: *** [Makefile:333: all] Error 2
- ==> ERROR: A failure occurred in build().
- Aborting...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement