Complete.Org: Mailing Lists: Archives: freeciv-dev: October 1998:
Re: [Freeciv-Dev] compile failure of civserver.o (only), CLOCKS_PER_SEC
Home

Re: [Freeciv-Dev] compile failure of civserver.o (only), CLOCKS_PER_SEC

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] compile failure of civserver.o (only), CLOCKS_PER_SEC undeclared
From: Greg Wooledge <wooledge@xxxxxxxxxxx>
Date: Thu, 29 Oct 1998 20:29:16 -0500

Peter Magnusson (petmag-8@xxxxxxxxxxxxxxx) wrote:

> > (/usr/include/time.h)
> 
> Me being abled to edit those files? Sounds like something owned by root,
> IMHO ;-)

You should most definitely *NOT* try to edit the files in /usr/include,
even if you do have root permissions.  These files contain intimate
details about a system's kernel and libraries; changing the values will
result in broken programs.

What you should try to do instead is edit the Freeciv source code so that
the modules which need the symbols (CLOCKS_PER_SEC) from these include
files actually do #include them.  You will probably have to do some
digging, though, to determine exactly which files should be #include'd
in which modules.  (This is just a workaround for what's actually a
lack of support for your platform in the source code.  If this "bug"
can be reliably duplicated, then it can probably be fixed by someone
who knows autoconf/automake much better than I do. :-/)

-- 
"Daddy, why do those people have to    |   Greg Wooledge
  use Microsoft Windows?"              |   wooledge@xxxxxxxxxxx
"Don't stare, son; it's not polite."   |   http://www.kellnet.com/wooledge/


[Prev in Thread] Current Thread [Next in Thread]