info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error while installing CVS 1.11.20


From: ravish agarwal
Subject: Re: error while installing CVS 1.11.20
Date: Fri, 8 Jul 2005 11:16:07 +0300

I installed gcc and biasom Now, I am getting following error message:

usr/ccs/bin/ld: <Warning> At least one PA 2.0 object file <add.o> was detected. The linked output may not run on a PA 1.x system
/usr/ccs/bin/ld: Unsatisfied sysmbols:
GSS_C_NT_HOSTBASED_SERVICE (first referenced in client.o) (data)
collect2: ld returned 1 exit status.
*** Error exit code 1

Stop

 

 
I got the same error when I tried with
 
$  ./configure --without-gssapi   
   $ make
$  make install
 
what could be reason of the problem.
regards
Ravish

 
On 7/6/05, Mark D. Baushke <address@hidden> wrote:
ravish agarwal <address@hidden> writes:

> I am getting following error while installing CVS-1.11.20.

On what operating system are you running?
What compiler version are you using?

> # make
> No suffix list.
> make all-recursive
> No suffix list.
> Making all in lib
> source='getpass.c' object='getpass.o' libtool=no \
> DEPDIR=.deps depmode=hp /bin/sh ../depcomp \
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -g -c getpass.c
> (Bundled) cc: warning 480: The -g option is available only with the C/ANSI C
> pro
> duct; ignored.
> (Bundled) cc: "getpass.c", line 40: error 1705: Function prototypes are an
> ANSI
> feature.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
>  Please help me out. What is the possible cause of this error
>
>  regards

Note: You should consider getting a compiler that is able to deal with
ANSI C. Future releases of CVS (1.12.x) will give you many problems
otherwise as that release of CVS assumes a C89 capable standalone
compiler.

Does the following patch fix your problem?

       -- Mark

ChangeLog entry:

2005-07-06  Mark D. Baushke  <address@hidden>

       * getpass.c (getpass): Add a K&R style function definition.

Index: getpass.c
===================================================================
RCS file: /cvs/ccvs/lib/getpass.c,v
retrieving revision 1.1.2.4
diff -u -p -u -p -r1.1.2.4 getpass.c
--- getpass.c   2 Oct 2003 18:40:13 -0000       1.1.2.4
+++ getpass.c   6 Jul 2005 15:31:55 -0000
@@ -37,7 +37,12 @@
#endif

char *
+#if __STDC__
getpass (const char *prompt)
+#else
+getpass (prompt)
+    const char *prompt;
+#endif
{
  FILE *in, *out;
  struct termios s, t;


reply via email to

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