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

Pages: 1

caius
MAME Fan
Reged: 10/09/06
Posts: 78
Send PM


MAME32UI 0.157 compiling issue
#335753 - 01/04/15 09:33 AM


Hi all,
I have some troubles in compiling MAME32UI with the new 0.157 source code, I changed nothing from my environment since 0.156 version.Instead, I can compile fine MAME command line with lastest source.I use WIndows 7 32 bit.

This is the error I get while compiling MAMEUI with MAME 0.157 source downloaded from GitHub and MAMEUI 0.157 source (downloaded from http://www.mameui.info/MameUIs.7z) :


Code:

C:\mamecompile\mame>make all -j3 OSD=winui EMULATOR=MAMEUI32.exe
Linking obj/winui/build/makedep.exe...
Linking obj/winui/build/makelist.exe...
Linking obj/winui/build/makemak.exe...
obj/winui/libocore.a(windir.o):windir.c:(.text+0x1ce): undefined reference to `_
imp__PathIsRelativeW@4'
obj/winui/libocore.a(wintime.o):wintime.c:(.text+0x1d): undefined reference to `
_imp__timeGetTime@0'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x17): undefined reference
to `_imp__WSAStartup@8'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x2f): undefined reference
to `_imp__WSACleanup@0'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x50): undefined reference
to `_imp__WSACleanup@0'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x61): undefined reference
to `_imp__WSACleanup@0'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x137): undefined reference
to `_imp__socket@12'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x17f): undefined reference
to `_imp__setsockopt@20'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x190): undefined reference
to `_imp__gethostbyname@4'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x1d1): undefined reference
to `_imp__htons@4'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x208): undefined reference
to `_imp__bind@12'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x22a): undefined reference
to `_imp__listen@8'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x262): undefined reference
to `_imp__connect@12'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x2f9): undefined reference
to `_imp__select@20'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x313): undefined reference
to `__WSAFDIsSet@8'
obj/winui/libocore.a(winsocket.o):objwinsocket.c/:winui(/.libocore.atext(+wintim
e.o0x33f))::wintime.c :undefined( .referencetext +to0x1d )`:_imp__accept @undefi
ned12 'reference
objto/ winui`/_imp__timeGetTimelibocore.a@(0winsocket.o')
bjwinsocket.c/:winui(/.libocore.atext(+winsocket.o0x355))::winsocket.c :undefi
ned( .referencetext +to0x17 )`:_imp__closesocket @undefined4 'reference
objto/ winui`/_imp__WSAStartuplibocore.a@(8winsocket.o')
bjwinsocket.c/:winui(/.libocore.atext(+winsocket.o0x409))::winsocket.c :undefi
ned( .referencetext +to0x2f )`:_imp__recv @undefined16 'reference
objto/ winui`/_imp__WSACleanuplibocore.a@(0winsocket.o')
bjwinsocket.c/:winui(/.libocore.atext(+winsocket.o0x47c))::winsocket.c :undefi
ned( .referencetext +to0x50 )`:_imp__send @undefined16 'reference
objto/ winui`/_imp__WSACleanuplibocore.a@(0winsocket.o')
bjwinsocket.c/:winui(/.libocore.atext(+winsocket.o0x4bf))::winsocket.c :undefi
ned( .referencetext +to0x61 )`:_imp__closesocket @undefined4 'reference
Cto: /`mingw_imp__WSACleanup/@mingw640-'w32
/objbin//winui./.libocore.a/(libwinsocket.o/)gcc:/winsocket.ci686:-(w64.-textmin
gw32+/0x1374.9.1)/:. .undefined/ .reference. /to. .`/_imp__socket.@.12/'i686
-objw64/-winuimingw32//libocore.abin(/winsocket.old.exe):: winsocket.cobj:/(winu
i./textlibocore.a+(0x17fwinsocket.o)):: undefinedbad referencereloc toaddress
`0x0_imp__setsockopt @in20 'section
obj`/.winuidata/'libocore.a
(collect2.exe: error: ld returned 1 exit status
winsocket.o):winsocket.c:(.text+0x190): undefined reference to `_imp__gethostbyn
ame@4'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x1d1): undefined reference
to `_imp__htons@4'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x208): undefined reference
to `_imp__bind@12'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x22a): undefined reference
to `_imp__listen@8'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x262): undefined reference
to `_imp__connect@12'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x2f9): undefined reference
to `_imp__select@20'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x313): undefined reference
to `__WSAFDIsSet@8'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x33f): undefined reference
to `_imp__accept@12'
obj/winui/libocore.a(src/build/build.mak:66: recipe for target 'obj/winui/build/
makedep.exe' failed
winsocket.o):winsocket.c:(.text+0x355): undefined reference to `_imp__closesocke
t@4'
obj/winui/libocore.a(winsocket.o):make: *** [obj/winui/build/makedep.exe] Error
1
winsocket.cobjmake: *** Waiting for unfinished jobs....
:/(winui./textlibocore.a+(0x409wintime.o)):: wintime.cundefined: (reference. tex
tto+ 0x1d`)_imp__recv:@ 16undefined'
referenceobj /towinui `/_imp__timeGetTimelibocore.a@(0winsocket.o')
bjwinsocket.c/:winui(/.libocore.atext(+winsocket.o0x47c))::winsocket.c :undefi
ned (reference. textto+ 0x17`)_imp__send:@ 16undefined'
obj/winui/libocore.a(winsocket.o):winsocket.creference: (to. text`+_imp__WSAStar
tup0x4bf@)8:'
undefinedobj /referencewinui /tolibocore.a (`winsocket.o_imp__closesocket)@:4win
socket.c':
(C.:text/+mingw0x2f/)mingw64:- w32undefined/ binreference/ .to. /`lib_imp__WSACl
eanup/@gcc0/'i686
-objw64/-winuimingw32//libocore.a4.9.1(/winsocket.o.).:/winsocket.c.:.(/..text.+
/0x50.).:/ i686undefined- w64reference- mingw32to/ bin`/_imp__WSACleanupld.exe@:
0 'obj
/objwinui//winuilibocore.a/(libocore.awinsocket.o()winsocket.o:) :badwinsocket.c
reloc: (address. text0x0+ 0x61in) :section undefined` .referencedata 'to
collect2.exe: error: ld returned 1 exit status
`_imp__WSACleanup@0'
obj/src/build/build.mak:85: recipe for target 'obj/winui/build/makemak.exe' fail
ed
winuimake: *** [obj/winui/build/makemak.exe] Error 1
/libocore.a(winsocket.o):winsocket.c:(.text+0x137): undefined reference to `_imp
__socket@12'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x17f): undefined reference
to `_imp__setsockopt@20'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x190): undefined reference
to `_imp__gethostbyname@4'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x1d1): undefined reference
to `_imp__htons@4'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x208): undefined reference
to `_imp__bind@12'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x22a): undefined reference
to `_imp__listen@8'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x262): undefined reference
to `_imp__connect@12'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x2f9): undefined reference
to `_imp__select@20'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x313): undefined reference
to `__WSAFDIsSet@8'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x33f): undefined reference
to `_imp__accept@12'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x355): undefined reference
to `_imp__closesocket@4'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x409): undefined reference
to `_imp__recv@16'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x47c): undefined reference
to `_imp__send@16'
obj/winui/libocore.a(winsocket.o):winsocket.c:(.text+0x4bf): undefined reference
to `_imp__closesocket@4'
C:/mingw/mingw64-w32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-
mingw32/bin/ld.exe: obj/winui/libocore.a(winsocket.o): bad reloc address 0x0 in
section `.data'
collect2.exe: error: ld returned 1 exit status
src/build/build.mak:104: recipe for target 'obj/winui/build/makelist.exe' failed

make: *** [obj/winui/build/makelist.exe] Error 1



haynor666
Reged: 05/06/06
Posts: 90
Loc: Tarnobrzeg/Poland
Send PM


Re: MAME32UI 0.157 compiling issue new [Re: caius]
#335783 - 01/05/15 09:07 PM


I have the same problem :/



Hadou Ken
MAME Fan
Reged: 10/07/06
Posts: 48
Send PM


Re: MAME32UI 0.157 compiling issue new [Re: haynor666]
#335790 - 01/06/15 12:21 AM


I have no problems compiling MAMEUI32 0.157 (x86). What are you compiling on? Specifics and specs etc.?



haynor666
Reged: 05/06/06
Posts: 90
Loc: Tarnobrzeg/Poland
Send PM


Re: MAME32UI 0.157 compiling issue new [Re: Hadou Ken]
#335801 - 01/06/15 02:46 PM


He's trying to compile git/svn update not official 157. Something has changed and UI needs changes as well.



caius
MAME Fan
Reged: 10/09/06
Posts: 78
Send PM


Re: MAME32UI 0.157 compiling issue new [Re: Hadou Ken]
#335808 - 01/06/15 07:58 PM


MASH has attached updated MAMEUI source on first thread, using it I'm now able to successfully compile MAMEUI32 under Windows 7 32bit with the latest source over GitHub.
Many thanks to him!



redk9258
Regular
Reged: 09/21/03
Posts: 3954
Loc: Troy, Illinois USA
Send PM


Re: MAME32UI 0.157 compiling issue new [Re: caius]
#335814 - 01/07/15 12:49 AM


So you were not compiling 0.157 then.



caius
MAME Fan
Reged: 10/09/06
Posts: 78
Send PM


Re: MAME32UI 0.157 compiling issue new [Re: redk9258]
#335815 - 01/07/15 12:59 AM


> So you were not compiling 0.157 then.

Sure, I was compiling it.For 0.157 I mean the latest source code downloaded from GitHub.We can always consider this a source suitable for 0.157 until 0.158 will released, I presume.

Edited by caius (01/07/15 01:00 AM)



redk9258
Regular
Reged: 09/21/03
Posts: 3954
Loc: Troy, Illinois USA
Send PM


Re: MAME32UI 0.157 compiling issue new [Re: caius]
#335819 - 01/07/15 04:56 AM


> Sure, I was compiling it.For 0.157 I mean the latest source code downloaded from
> GitHub.We can always consider this a source suitable for 0.157 until 0.158 will
> released, I presume.

Nope. Things can be broken as things are progressing. So, when you say you are using such and such version, you should be using it. Or at least mention that you are using GITHUB version r##########.


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 
0 registered and 5 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 4822