Draco18s wrote:
> In article <M7adnealdPgmgVHaRVnyuQA@[EMAIL PROTECTED]
>,
> s.r.clarkstone@[EMAIL PROTECTED]
says...
>> Draco18s wrote:
>>> So, for my senior project everyone (that isn't me) decided to use Flux
World
>>> Server to be the backbone software for the virtual world we want to
build.
>>> BTW, Flux does nothing but synchronize two or more Flux viewers. It
doesn't
>>> touch the underlying world file, do chat, assets, permissions, or any
of those
>>> other fancy smantcy server-things.
>>>
>>> Anyway, I'm getting a compile error:
>>>
>>> hydrac.o: In function `printErrorExit':
>>>
/kunden/homepages/12/d201092097/htdocs/sp/arttopian/Hydra/hydrac.c:76: the
>>> `gets' function is dangerous and should not be used.
>>> make: *** No rule to make target `hydrabot', needed by `all'. Stop.
>> Maybe that's two errors. Firstly I would guess that someone has made
>> warnings be fatal, and gets() has triggered a warning (as it should).
>> The solution to that is to re-write to not use gets(), or to make
>> warnings non-fatal.
>
> Which was stupid, because the other compile error I fixed (in the OTHER
> makefile that needed to be run) was "ln: 'really long path to a
softlink':
> File exists."
>
> I have no idea what gets does and therefor can't re-write. Nor do I
know how
> to make warnings not fatal.
Um, how are you going to modify this server without knowing C? Anyway,
gets() reads in a string to a provided location in memory, with no
checking that there is enough room. Find out what size buffer is
provided, and replace the call to gets with a call to fgets, with the
file being stdin.
Making warnings non-fatal would require modifying the makefile, or maybe
passing some options to it. Or, there might be #pragmas in the source
files to control that.
>> The second might be that something is wrong with your makefile. Did
you
>> run any configuration steps that were necessary? Are you using the
>> right makefile?
>
> There's only one makefile (in this step). And yes, as far as I've been
able
> to determine I have done things correctly (mind: the instructions
weren't
> created by the software designer, they were created on a wiki by one of
the
> guys trying to use the bloody thing).
--
Simon Richard Clarkstone:
s?m?n_cl?rkst?n?@[EMAIL PROTECTED]
"August 9 - I just made my signature file. Its only 6 pages long.
I will have to work on it some more." -- _Diary of an AOL User_


|