LPMuds.net
September 09, 2010, 04:31:10 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: This is the forum page. For the main LPMuds page, visit
http://lpmuds.net
Home
SITE FAQ
INTERMUD
DOWNLOADS
LINKS
Help
Search
Login
Register
LPMuds.net
>
LPMuds.net Forums
>
Drivers
>
FluffOS on OpenSolaris - problem with compilation
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: FluffOS on OpenSolaris - problem with compilation (Read 1130 times)
melkor
Acquaintance
Offline
Posts: 17
Dreamer
FluffOS on OpenSolaris - problem with compilation
«
on:
October 23, 2009, 02:39:30 PM »
Hi guys!
I'm currently trying to migrate my system to OpenSolaris but i'm having problems compiling the FluffOS 2.18 on this OS, even using GNU GCC.
The error i get is in ed.c and it's the following:
Code:
ed.c: In function `report_status':
ed.c:2488: error: duplicate case value
ed.c:2448: error: previously used here
Any help is appreciated.
Thank you!
P.S. - The system is 32bit. I tried to compile and on a 64bit kernel but still without luck.
Logged
There is a
Dark
place inside each of us...
wodan
BFF
Offline
Posts: 270
Drink and code, you know you want to!
Re: FluffOS on OpenSolaris - problem with compilation
«
Reply #1 on:
October 24, 2009, 12:17:55 AM »
seems ERR is defined in solaris headers, I'll rename the ed defines in 2.19 :/
Logged
cratylus
Your favorite and best
Administrator
Offline
Posts: 918
Cratylus@Dead Souls <ds> np
Re: FluffOS on OpenSolaris - problem with compilation
«
Reply #2 on:
October 24, 2009, 12:23:31 AM »
Quote from: wodan on October 24, 2009, 12:17:55 AM
seems ERR is defined in solaris headers, I'll rename the ed defines in 2.19 :/
I actually don't get this with "general availability" Solaris 10. I'll install an
opensolaris vm tonight and see if I reproduce this.
-Crat
Logged
cratylus
Your favorite and best
Administrator
Offline
Posts: 918
Cratylus@Dead Souls <ds> np
Re: FluffOS on OpenSolaris - problem with compilation
«
Reply #3 on:
October 24, 2009, 04:47:31 AM »
Sure enough, I reproduced this in opensolaris.
I got around this by editing ed.c and changing this:
Code:
#include "std.h"
#include "ed.h"
#include "comm.h"
#include "file.h"
#include "master.h"
to this:
Code:
#include "std.h"
#include "comm.h"
#include "file.h"
#include "master.h"
#include "ed.h"
Please note that this workaround only allows you to
compile
. I haven't
checked to see whether it screws up ed.
-Crat
Logged
wodan
BFF
Offline
Posts: 270
Drink and code, you know you want to!
Re: FluffOS on OpenSolaris - problem with compilation
«
Reply #4 on:
October 24, 2009, 03:35:35 PM »
I'd expect that to work with warnings
Logged
cratylus
Your favorite and best
Administrator
Offline
Posts: 918
Cratylus@Dead Souls <ds> np
Re: FluffOS on OpenSolaris - problem with compilation
«
Reply #5 on:
October 24, 2009, 05:19:35 PM »
Quote from: wodan on October 24, 2009, 03:35:35 PM
I'd expect that to work with warnings
Yes indeed. However, the warnings only pop up in opensolaris, and since
the opensolaris gcc doesn't -Werror by default, it's simply an ugliness
for people on that OS, rather than a showstopper.
Definitely I'd suggest changing the defines, but as a workaround, moving the
include around seems pretty harmless thus far.
-Crat
Logged
melkor
Acquaintance
Offline
Posts: 17
Dreamer
Re: FluffOS on OpenSolaris - problem with compilation
«
Reply #6 on:
October 25, 2009, 10:48:33 PM »
Thanks guys. I will try this tomorrow and will post if the results.
Logged
There is a
Dark
place inside each of us...
melkor
Acquaintance
Offline
Posts: 17
Dreamer
Re: FluffOS on OpenSolaris - problem with compilation
«
Reply #7 on:
October 27, 2009, 02:53:12 PM »
Just tested it and it works like a charm.
Thank you guys and sorry for the late response.
Logged
There is a
Dark
place inside each of us...
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
LPMuds.net Forums
-----------------------------
=> General
=> Drivers
=> Intermud
=> Code Vault
=> Promotions
=> Open Chat
=> Bug Central
=> Design Lab
=> Licensing
=> 2006 Contest
-----------------------------
Lib Discussion
-----------------------------
=> Dead Souls Support
=> Gurba Gathering
=> LPMud 2.x and Amylaar
=> TMI Tête - à - Tête
=> Lima Lounge
=> Discworld Discussion
=> Skylib Stuff
=> Merentha Madness
=> Heaven 7 Symposium
=> TubMUD TechTalk
=> Phantasmal Phorum
=> Melville Mania
=> LPUniversity
=> Other
Loading...