Previous Thread
Next Thread
Print Thread
Page 209 of 528 1 2 207 208 209 210 211 527 528
Re: SVN builds - new driver flood [Re: Anna Wu] #66801 01/15/11 08:04 AM
Joined: Aug 2009
Posts: 667
Kaylee Offline
Senior Member
Offline
Senior Member
Joined: Aug 2009
Posts: 667
Just tested again, Trying to build everything with the OSD=winui switch (after restarting the computer)
And Compiles until I get the error:
http://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=66791#Post66791

But compiles with tools if I drop the OSD=winui

Re: SVN builds - new driver flood [Re: Anna Wu] #66805 01/15/11 02:32 PM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
OP Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Here my results after ultra clean compile with GCC on XP 32-bit:

SVN r10046

make all TARGET=mess

Compilation (all tools included) ok, messui.exe was not builded.

Quote:
C:\Emulator\Mess\SVN\Bin\mess>make all TARGET=mess
Linking mess.exe...
Linking ledutil.exe...
Linking imgtool.exe...
Linking castool.exe...
Linking messtest.exe...
Linking dat2html.exe...
Linking wimgtool.exe...
Linking romcmp.exe...
Linking chdman.exe...
Linking jedutil.exe...
Linking unidasm.exe...
Linking ldresample.exe...
Linking ldverify.exe...
Linking regrep.exe...
Linking srcclean.exe...
Linking src2html.exe...
Linking split.exe...


---

make all TARGET=mess OSD=winui

Compilation error:

Quote:
C:\Emulator\Mess\SVN\Bin\mess>make all TARGET=mess OSD=winui
Linking mess.exe...
Linking messui.exe...
Linking ledutil.exe...
Linking imgtool.exe...
c:/mingw/bin/../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw32/lib/
libmingw32.a(lib32_libmingw32_a-crt0_c.o): In function `main':
/W64_155431-src/build-crt/../mingw-w64-crt/crt/crt0_c.c:18: undefined reference
to `WinMain@16'
collect2: ld returned 1 exit status
make: *** [imgtool.exe] Error 1


---

make TARGET=mess

Compilation ok. Only mess.exe was builded.

---

make TARGET=mess OSD=winui

Compilation ok. Only messui.exe was builded.

---

make TARGET=mess tools

Compilation ok.


Re: SVN builds - new driver flood [Re: Anna Wu] #66806 01/15/11 02:33 PM
Joined: Aug 2004
Posts: 1,385
Robbbert Offline
Very Senior Member
Offline
Very Senior Member
Joined: Aug 2004
Posts: 1,385
I had no problems compiling mess on win32XP, both the winui and non-winui versions (non-debug). Don't normally compile the tools, so no idea there. Also no longer use debug builds because it takes about 15 minutes to link, even for the most minor change.

Re: SVN builds - new driver flood [Re: Robbbert] #66808 01/15/11 02:46 PM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
OP Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Originally Posted By robbbert
I had no problems compiling mess on win32XP, both the winui and non-winui versions (non-debug). Don't normally compile the tools, so no idea there. Also no longer use debug builds because it takes about 15 minutes to link, even for the most minor change.


I just need a confirmation
make all TARGET=mess OSD=winui
is ok or not.

For Kaylee and me it is not ok.

Re: SVN builds - new driver flood [Re: Anna Wu] #66809 01/15/11 03:24 PM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
quoting myself

Originally Posted By etabeta
your error is clearly due to a bug in the code not the compiler, probably due to Micko's changes to the makefile (it does not happen on my MacOSX). it will get fixed for sure asap.


in other words, it is a bug: tools do not compile at the moment if you set OSD=winui. they compile if you do not set OSD=winui.

I think Micko will fix them soon. it is a makefile problem, probably.

Re: SVN builds - new driver flood [Re: Anna Wu] #66810 01/15/11 04:40 PM
Joined: Mar 2001
Posts: 16,376
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,376
The problem's a bit hairier than that: the tools are command-line only and OSD=winui tries to compile then as GUI apps (on windows GUI apps have a different entry point and some other different semantics. other OSes don't do that).

Re: SVN builds - new driver flood [Re: Anna Wu] #66813 01/15/11 07:45 PM
Joined: Feb 2008
Posts: 326
M
Micko Offline
Senior Member
Offline
Senior Member
M
Joined: Feb 2008
Posts: 326
Should work fine now. Please check.

Re: SVN builds - new driver flood [Re: Anna Wu] #66814 01/15/11 08:07 PM
Joined: Aug 2009
Posts: 667
Kaylee Offline
Senior Member
Offline
Senior Member
Joined: Aug 2009
Posts: 667
Thanx Micko It compiled without any errors

Re: SVN builds - new driver flood [Re: Anna Wu] #66816 01/16/11 12:19 AM
Joined: Aug 2004
Posts: 1,385
Robbbert Offline
Very Senior Member
Offline
Very Senior Member
Joined: Aug 2004
Posts: 1,385
now i get errors..

r10054
retries didn't fix anything, had to modify code

segmentation fault in mess\machine\pmd85.c at line 28 (commented out the last bankswitch line of this routine and continued on)

segmentation fault in mame\drivers\megadriv.c at line 9694 (the old problem of _32x; renamed to x32x and continued on)

so after an hour finally got an executable.

Last edited by robbbert; 01/16/11 01:23 AM.
Re: SVN builds - new driver flood [Re: Anna Wu] #66817 01/16/11 12:29 AM
Joined: Aug 2004
Posts: 1,385
Robbbert Offline
Very Senior Member
Offline
Very Senior Member
Joined: Aug 2004
Posts: 1,385
Found a regression, mess no longer produces a list of suggestions if you enter a system that doesn't exist

> mess x

>



Seems quite few bugs have come along recently.

- enter mess pce -cart 664
This produces 15 separate answerable messages before finally dropping back to the prompt. It should all be one big message.

- mess xeye
This does a few things then when the X heads toward you it drops back to the prompt. It used to give a little dump but no longer.

- any error message now produces message boxes (or nothing) instead of writing under the command line. For example N64 normally produces lots of info, this has all gone missing. The summary of average speed isn't there any more.


-removed comment-


edit: seems all printf no longer work. That should only happen in messui, not in mess.

Last edited by robbbert; 01/16/11 03:56 AM.
Page 209 of 528 1 2 207 208 209 210 211 527 528

Who's Online Now
2 registered members (AJR, Cpt. Pugwash), 203 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,712
Posts114,515
Members4,869
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3