MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

gtmoa
Lurker
Reged: 02/21/04
Posts: 132
Send PM


TINYMESS compile error
#320578 - 01/19/14 08:23 PM


Hello

I Have got trouble compiling a TINYMESS 0.152 with a few drivers

Everything compile fine and then I got these messages

obj/windows/libformats.a(basicdsk.o):basicdsk.c:(.text+0x4a6): undefined reference to `option_resolution_getdefault(char const*, int, int*)'

windows/libformats.a(flopimg.o):flopimg.c:(.text+0x61db): undefined reference to `option_resolution_finish(option_resolution*)'

Apparently I deals with floppy disk but can't find any reference
The drivers I compile Which includes floppies are:
msx.c
nes.c

I use MAME Compiler

Can someone nice help me?

Thank you



etabeta
Reged: 08/25/04
Posts: 2036
Send PM


Re: TINYMESS compile error new [Re: gtmoa]
#320619 - 01/20/14 07:59 AM


the function you miss is in lib/util/opresolve.c
not sure why lib/ is not compiled...



gtmoa
Lurker
Reged: 02/21/04
Posts: 132
Send PM


Re: TINYMESS compile error new [Re: etabeta]
#320628 - 01/20/14 12:53 PM Attachment: tiny.mak 14 KB (6 downloads)


thank you for the answer but I can't get any further

Here's my tiny.mak
could you be kind to have a look at it please?
Thank you



etabeta
Reged: 08/25/04
Posts: 2036
Send PM


Re: TINYMESS compile error new [Re: gtmoa]
#320634 - 01/20/14 04:54 PM


there seems to be nothing wrong (even if I'm not super expert about makefiles)
can you check if a libutil.a is generated in your obj/ folder?

the compile process should include, also for tiny builds, a call of lib.mak which in turn generates the required code to make available those functions to the main program...
and for some reasons it's not happening at your end

/me is puzzled



OrochiZ
MAME Fan
Reged: 03/06/15
Posts: 5
Send PM


Re: TINYMESS compile error new [Re: gtmoa]
#337500 - 03/06/15 02:17 PM


I could not speak English, the following is Google translation


I have encountered this problem too,

Code:


Linking mamepnes.exe...
obj/windows/mamepnes/libformats.a(flopimg.o):flopimg.c:(.text+0x2fd9):

undefined reference to `option_resolution_finish(
option_resolution*)'


I made the tinyNes.mak,
Based Mame159


When I started making the compiler is VC2010 version, everything goes smoothly

But in the final version of the GCC compiler is experiencing this problem

I have had to use VC2010 version to a temporary solution



OrochiZ
MAME Fan
Reged: 03/06/15
Posts: 5
Send PM


Re: TINYMESS compile error new [Re: gtmoa]
#337501 - 03/06/15 02:36 PM



Code:


//tinynes.mak

DRVLIST += \
$(MAMEOBJ)/nes.lst \

DRVLIBS = \
$(EMUDRIVERS)/emudummy.o \
$(LIBOBJ)/util/opresolv.o \

DRVLIBS += \
$(MESSOBJ)/nintendo.a \

Code:



I just tried to add opresolv.o in tinynes.mak inside.
Then use the GCC compiler success.
For unknown reasons.


Pages: 1

MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

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