- --
Viewing Issue Advanced Details
[ Jump to Notes ]
ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
---|---|---|---|---|---|
07406 | Compiling | Major | Always | Sep 5, 2019, 01:25 | Sep 5, 2019, 15:12 |
Tester | MrGW | View Status | Public | Platform | MAME (Self-compiled) |
Assigned To | Resolution | Invalid report | OS | Linux (64-bit) | |
Status [?] | Closed | Driver | |||
Version | 0.213 | Fixed in Version | Build | 64-bit | |
Fixed in Git Commit | Github Pull Request # | ||||
Summary | 07406: MAME 0.213 fails to compile under Linux 64 bit | ||||
Description | I have had no issues compiling MAME for the last 3 years, but getting a compile error with 0.213 as detailed in attached text. | ||||
Steps To Reproduce |
Download latest MAME source from git. make TOOLS=1 NOWERROR=1 ... takes some time and then the error. |
||||
Additional Information |
$ gcc --version gcc (Ubuntu 8.3.0-16ubuntu3~16.04) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ g++ --version g++ (Ubuntu 8.3.0-16ubuntu3~16.04) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ ldd --version ldd (Ubuntu GLIBC 2.23-0ubuntu11) 2.23 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. Thanks for any help someone can provide. |
||||
Github Commit | |||||
Flags | |||||
Regression Version | |||||
Affected Sets / Systems | |||||
Attached Files
|
compilerrror.txt (2,810 bytes) Sep 5, 2019, 02:05 Uploaded by Tafoid compile error text [Show Content] [Hide Content]GCC 8 detected Linking mame64... ../../../../linux_gcc/bin/x64/Release/mame_mame/liboptional.a(vrender0.o): In function `vrender0soc_device::screen_update(screen_device&, bitmap_ind16&, rectangle const&)':vrender0.cpp:(.text+0x220): undefined reference to `vr0video_device::screen_update(screen_device&, bitmap_ind16&, rectangle const&)' ../../../../linux_gcc/bin/x64/Release/mame_mame/liboptional.a(vrender0.o): In function `vrender0soc_device::device_start()':vrender0.cpp:(.text+0xbd4): undefined reference to `vr0video_device::set_areas(unsigned short*, unsigned short*)' ../../../../linux_gcc/bin/x64/Release/mame_mame/liboptional.a(vrender0.o): In function `vrender0soc_device::audiovideo_map(address_map&)':vrender0.cpp:(.text+0xd5c): undefined reference to `typeinfo for vr0video_devicevrender0.cpp:(.text+0xdb2): undefined reference to `vr0video_device::regs_map(address_map&)' ../../../../linux_gcc/bin/x64/Release/mame_mame/liboptional.a(vrender0.o): In function `vrender0soc_device::vrender0soc_device(machine_config const&, char const*, device_t*, unsigned int)':vrender0.cpp:(.text+0x39cf): undefined reference to `vtable for device_finder<vr0video_device, true>' ../../../../linux_gcc/bin/x64/Release/mame_mame/liboptional.a(vrender0.o): In function `vrender0soc_device::device_add_mconfig(machine_config&)':vrender0.cpp:(.text+0x43f9): undefined reference to `vr0video_device::vr0video_device(machine_config const&, char const*, device_t*, unsigned int)' ../../../../linux_gcc/bin/x64/Release/mame_mame/liboptional.a(vrender0.o): In function `vrender0soc_device::screen_vblank(int)':vrender0.cpp:(.text+0x404): undefined reference to `vr0video_device::execute_flipping()'vrender0.cpp:(.text+0x449): undefined reference to `vr0video_device::execute_flipping()' ../../../../linux_gcc/bin/x64/Release/mame_mame/liboptional.a(vrender0.o): In function `delegate_generic_class* delegate_base<void, address_map&>::late_bind_helper<vr0video_device>(delegate_late_bind&)':vrender0.cpp:(.text._ZN13delegate_baseIvJR11address_mapEE16late_bind_helperI15vr0video_deviceEEP22delegate_generic_classR18delegate_late_bind[_ZN13delegate_baseIvJR11address_mapEE16late_bind_helperI15vr0video_deviceEEP22delegate_generic_classR18delegate_late_bind]+0x4): undefined reference to `typeinfo for vr0video_device' ../../../../linux_gcc/bin/x64/Release/mame_mame/liboptional.a(vrender0.o): In function `.LC2':vrender0.cpp:(.rodata.cst8+0x10): undefined reference to `typeinfo for vr0video_device' collect2: error: ld returned 1 exit status mame.make:250: recipe for target '../../../../../mame64' failed make[2]: *** [../../../../../mame64] Error 1 Makefile:1090: recipe for target 'mame' failed make[1]: *** [mame] Error 2 makefile:1290: recipe for target 'linux_x64' failed make: *** [linux_x64] Error 2 | ||||
Relationships
There are no relationship linked to this issue. |
Notes
4
No.16835
Tafoid Administrator
Sep 5, 2019, 03:03
|
Are you 100% positive you are using the mamedev.org provided sources and/or pulling from branch "mame0213"? https://github.com/mamedev/mame/tree/mame0213 |
---|---|
No.16836
MrGW Tester
Sep 5, 2019, 12:39
|
Hi Tafoid, Yes, I believe so: $ git branch -a * mame0213 master remotes/origin/3rdparty_update remotes/origin/HEAD -> origin/master remotes/origin/android-updates remotes/origin/argb32_all remotes/origin/arm_playground remotes/origin/c148_rewrite remotes/origin/cashier-knife remotes/origin/doxygen remotes/origin/floppy_sound remotes/origin/hlsl_aviplay remotes/origin/konami remotes/origin/ksys573_io remotes/origin/list_xml_light remotes/origin/lua_engine_ui_refactor_2 remotes/origin/macro_removal remotes/origin/make_coco_fdc_fixed remotes/origin/master remotes/origin/midtunit_video remotes/origin/n64-angrylion remotes/origin/netlist_dev remotes/origin/new_menus remotes/origin/optionalsplit remotes/origin/palmhacks remotes/origin/polyplay remotes/origin/precompiled_headers remotes/origin/psx_metafix remotes/origin/s32_kokoroji remotes/origin/saturn_cdblock remotes/origin/selfregister-drivers remotes/origin/ui_colors_refactor remotes/origin/voodoo_directx11 remotes/origin/vrender0_3 remotes/origin/wof I cleared it all and tried again. Same issue. Previous version compiles fine. Thanks again for your help. |
No.16838
MrGW Tester
Sep 5, 2019, 14:56
|
One additional test. I used the following command to download MAME (taken from the MAME download website): git clone -b mame0213 --depth 1 https://github.com/mamedev/mame.git mame0213 This seems to have worked. No issues compiling. I can't figure out why downloading from git and changing to the correct branch (prior to compiling) results in the errors I listed as it always worked for me before. In any case, there doesn't appear to be an issue. I apologize for submitting the report. Thanks |
No.16839
Tafoid Administrator
Sep 5, 2019, 15:11
|
Sources pulled from current Git master sources can fail in certain configurations though much testing is done to try to avoid this. In your case, your sources you pulled were not from the MAME213 tag which goes through more than normal compile testing in multiple OS/Configs to ready for release. A few others have reported this compile issue and has already been fixed in current Git - so that should now function properly as well. Closing. |