|
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
|
|
|
|
Re: TINYMESS compile error
[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...
|
|
|
|
|
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
|
|
|
|
Re: TINYMESS compile error
[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
|
|
|
|
Re: TINYMESS compile error
[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
|
|
|
|
Re: TINYMESS compile error
[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.
|
|
|