Previous Thread
Next Thread
Print Thread
Page 2 of 2 1 2
Re: SDLMAME build failure on Ubuntu 18.10 [Re: Tafoid] #114812 03/08/19 06:09 AM
Joined: Mar 2009
Posts: 53
M
mochamame Offline
Member
Offline
Member
M
Joined: Mar 2009
Posts: 53
Quote
I could be wrong but I see -Werror which can usually be counteracted by adding NOWERROR=1 in your make string. Give that a try.



That's funny because I thought I tried that but I guess I didn't do it correctly. It seems to have worked and resulted in a ~208 MB mame64 binary getting built. I also had to declare QT_SELECT, this is on an 8 core machine. Xubuntu 18.10 with gcc 8.2.0.

Code
$ export QT_SELECT=qt5
$ make -j9 CFLAGS='-U_FORTIFY_SOURCE' NOWERROR=1


Thanks.

Re: SDLMAME build failure on Ubuntu 18.10 [Re: mochamame] #115820 09/07/19 12:18 AM
Joined: Feb 2014
Posts: 320
G
Golden Child Online Content
Senior Member
Online Content
Senior Member
G
Joined: Feb 2014
Posts: 320
I installed Ubuntu 19.04 on a new system and got the wonderful problems with compiling with FORTIFY_SOURCE.

So now I just create an alias in my .bashrc

alias mmake='make CFLAGS="-U_FORTIFY_SOURCE" '

and then just type mmake instead of make.

Page 2 of 2 1 2

Moderated by  R. Belmont 

Who's Online Now
2 registered members (AJR, mfm005), 125 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,684
Posts114,030
Members4,863
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3