|
Re: Compile problems under Solaris 9: msg#00036file-systems.sfs.general
> From: Adam Sherman <adam@xxxxxxxxx> > Date: Sat, 15 Mar 2003 17:07:48 -0500 > > Tried with both GCC 2.95.3 & 3.2.1, I get the following error: > > authclnt.C: In function `bool validshell(const char *)': > authclnt.C:102: implicit declaration of function `int setusershell(...)' > authclnt.C:103: implicit declaration of function `int getusershell(...)' > authclnt.C:103: assignment to `const char *' from `int' lacks a cast > authclnt.C:105: implicit declaration of function `int endusershell(...)' > > Way over my head as to why this is happening. > > Any hints? This is fixed in CVS, but you should be able patch the 0.7.2 sources by adding the following three lines to the top of any .C file causing such problems (e.g., authclnt.C): extern "C" char *getusershell(void); extern "C" void setusershell(void); extern "C" void endusershell(void); David |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Compile problems under Solaris 9: 00036, Adam Sherman |
|---|---|
| Next by Date: | Make sense to refinance now?: 00036, Delbert Hamilton |
| Previous by Thread: | Compile problems under Solaris 9i: 00036, Adam Sherman |
| Next by Thread: | Make sense to refinance now?: 00036, Delbert Hamilton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |