Frontend Tech + >> MAMEUI & IV/Play
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

rma
MAME Fan
Reged: 08/31/05
Posts: 34
Send PM


compile problems with last update mameui 179
#360663 - 11/27/16 03:38 PM


I have gcc 5.3.0 and with the last update. I have this error:

Compiling src/devices/cpu/m6502/m6502.cpp...Compiling src/devices/cpu/m6502/m6509.cpp...

Compiling src/devices/cpu/m6502/m6510.cpp...
Compiling src/devices/cpu/m6502/m65c02.cpp...
Compiling src/devices/cpu/m6502/m65ce02.cpp...
Compiling src/devices/cpu/m6502/m740.cpp...
Compiling src/devices/cpu/m6502/n2a03.cpp...
Compiling src/devices/cpu/m6502/r65c02.cpp...
Compiling src/devices/cpu/m6809/hd6309.cpp...
Compiling src/devices/cpu/m6809/konami.cpp...
Compiling src/devices/cpu/m6809/m6809.cpp...
Compiling src/devices/cpu/mcs96/i8x9x.cpp...
Compiling src/devices/cpu/mcs96/mcs96.cpp...
Compiling src/devices/cpu/mcs96/i8xc196.cpp...
Archiving liboptional.a...
Compiling src/mame/mame.cpp...
Compiling src/version.cpp...
Emitting mamevers.rc...
Building driver list...
1331 source file(s) found
Compiling resources src/osd/winui/mame.rc...
31357 driver(s) found
Compiling generated/mame/arcade/drivlist.cpp...
Linking mamearcadeui64.exe...
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0x4363): undefined reference to `MyFillSoftwareList(int, int)'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0x45c1): undefined reference to `SoftwareList_GetNumberOfItems()'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0x4862): undefined reference to `MessReadMountedSoftware(int)'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0x698e): undefined reference to `DevView_RegisterClass()'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0x7212): undefined reference to `InitMessPicker()'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0x753d): undefined reference to `CreateMessIcons()'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0x7c58): undefined reference to `MySoftwareListClose()'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0x8b85): undefined reference to `MessApproveImageList(HWND__*, int)'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0x8be1): undefined reference to `MessApproveImageList(HWND__*, int)'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0x928f): undefined reference to `MessApproveImageList(HWND__*, int)'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0x9cd8): undefined reference to `MessCommand(HWND__*, int, HWND__*, unsigned int)'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0x9d10): undefined reference to `MessApproveImageList(HWND__*, int)'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0xa03c): undefined reference to `MessApproveImageList(HWND__*, int)'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0xaa57): undefined reference to `MessUpdateSoftwareList()'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0xb286): undefined reference to `MessUpdateSoftwareList()'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0xc575): undefined reference to `MessApproveImageList(HWND__*, int)'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.text+0xdaf8): undefined reference to `MessUpdateSoftwareList()'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.rdata$.refptr.g_szSelectedItem[.refptr.g_szSelectedItem]+0x0): undefined reference to `g_szSelectedItem'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.rdata$.refptr.g_szSelectedDevice[.refptr.g_szSelectedDevice]+0x0): undefined reference to `g_szSelectedDevice'
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(winui.o):winui.cpp:(.rdata$.refptr.g_szSelectedSoftware[.refptr.g_szSelectedSoftware]+0x0): undefined reference to `g_szSelectedSoftware'
collect2.exe: error: ld returned 1 exit status
mamearcade.make:252: fallo en las instrucciones para el objetivo '../../../../../mamearcadeui64.exe'
make[2]: *** [../../../../../mamearcadeui64.exe] Error 1
Makefile:382: fallo en las instrucciones para el objetivo 'mamearcade'
make[1]: *** [mamearcade] Error 2
makefile:974: fallo en las instrucciones para el objetivo 'windows_x64'
make: *** [windows_x64] Error 2



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3200
Loc: A long way from you
Send PM


- new [Re: rma]
#360714 - 11/29/16 07:54 AM





rma
MAME Fan
Reged: 08/31/05
Posts: 34
Send PM


Re: compile problems with last update mameui 179 new [Re: Robbbert]
#360734 - 11/30/16 08:37 AM


Ok. Thanks.
Now the command is:

make -j4 OSD=messui SUBTARGET=arcade PTR64=1



BrianT
MAME Fan
Reged: 08/07/04
Posts: 142
Send PM


Re: compile problems with last update mameui 179 new [Re: rma]
#360788 - 12/01/16 05:36 AM Attachment: arcadeui.zip 15 KB (23 downloads)


I tried that and it didn't work because the build would complain about no arcade.rc file. But thanks to Robbbert here is what I did:

make a copy of mame.rc and mameui.rc and rename to arcade.rc and arcadeui.rc

Edit arcade.rc and change line #20 to point to arcadeui.rc so it reads:

#include "arcadeui.rc"

Edit arcadeui.rc and change line #1512 to point to arcadevers.rc so it reads:

#include "arcadevers.rc" // Version block



Then build it with your command (modified as needed) and it worked like a charm!! THANKS Robbbert

BrianT


PS: Or grab this file and unzip the files into mame/src/osd/winui

Edited by BrianT (12/01/16 06:55 AM)



Ashura-X
MAME Compiler!
Reged: 01/22/04
Posts: 408
Send PM


Re: compile problems with last update mameui 179 new [Re: BrianT]
#360800 - 12/01/16 02:22 PM


It works too for MAME 0.180?

Worked

Edited by Ashura-X (12/01/16 05:58 PM)



rma
MAME Fan
Reged: 08/31/05
Posts: 34
Send PM


Re: compile problems with last update mameui 179 new [Re: BrianT]
#360802 - 12/01/16 03:44 PM


Thank you.


Pages: 1

Frontend Tech + >> MAMEUI & IV/Play
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  John IV, Robbbert 
0 registered and 38 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2417