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

caius
MAME Fan
Reged: 10/09/06
Posts: 78
Send PM
MAME32UI 0.157 compiling issue
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







Entire thread
Subject Posted by Posted on
* MAME32UI 0.157 compiling issue caius 01/04/15 09:33 AM
. * Re: MAME32UI 0.157 compiling issue haynor666  01/05/15 09:07 PM
. * Re: MAME32UI 0.157 compiling issue Hadou Ken  01/06/15 12:21 AM
. * Re: MAME32UI 0.157 compiling issue caius  01/06/15 07:58 PM
. * Re: MAME32UI 0.157 compiling issue redk9258  01/07/15 12:49 AM
. * Re: MAME32UI 0.157 compiling issue caius  01/07/15 12:59 AM
. * Re: MAME32UI 0.157 compiling issue redk9258  01/07/15 04:56 AM
. * Re: MAME32UI 0.157 compiling issue haynor666  01/06/15 02:46 PM

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