fam
[Top] [All Lists]

Re: [SISE FAM] NOGROUP undefined in Cred.c++

To: Michael Wardle <michael.wardle@xxxxxxxxxx>
Subject: Re: [SISE FAM] NOGROUP undefined in Cred.c++
From: Lim Kuan Siong <kslim@xxxxxxxxxxxxxx>
Date: Wed, 08 Jan 2003 13:25:32 +0800
Cc: fam@xxxxxxxxxxx
In-reply-to: <1041978490.16507.33.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <5.1.1.6.0.20030107190604.0294cba0@xxxxxxxxxxxxxxxxxxxxx> <5.1.1.6.0.20030107190604.0294cba0@xxxxxxxxxxxxxxxxxxxxx>
Sender: fam-bounce@xxxxxxxxxxx
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



<Prev in Thread] Current Thread [Next in Thread>