At 09:28 1/8/2003 +1100, Michael Wardle wrote:
Hi
On Tue, 2003-01-07 at 22:30, Lim Kuan Siong wrote:
> ---------- Start of error ----------
> cc-1020 CC: ERROR File = Cred.c++, Line = 97
> The identifier "NOGROUP" is undefined.
On IRIX, this constant is called GID_NOBODY, so you can change NOGROUP
to that and rebuild. I should probably figure out how I can detect this
on a per-OS basis using GNU autoconf.
Thank you very much. That worked!
However, I encountered the following error in Listener.c++:
---------- Start of error ----------
Listener.c++: In static member function `static void
Listener::create_local_client(TCP_Client&, long int)':
Listener.c++:205: `unsetenv' undeclared (first use this function)
Listener.c++:205: (Each undeclared identifier is reported only once for each
function it appears in.)
---------- End of error ----------
I did a search online & found that unsetenv could be declared in stdlib.h.
However, when I checked the stdlib.h in IRIX's /usr/include, it is not
there. Is there a replacement for "unsetenv" for IRIX or am I missing an
include file & a library?
> BTW, I tried to compile fam using g++ by setting the environment variable
> CXX to g++ but the configure script still uses "cc" as the C++
compiler. Is
> there a method of getting the script to use g++ instead?
Assuming you've removed the state files from previous invocations of
autoconf (config.cache for instance) and rerun autoconf, I don't know.
Maybe have a look at <http://freeware.sgi.com/> for some tips on
building software on IRIX using GNU tools. I'll let you know if I think
of anything.
I did not specify the full path to g++ which caused configure not to use
g++. This portion is working now.
Regards,
Kuan Siong Lim
Bioinformatics Centre,
National University of Singapore
|