Re: error while installing CVS 1.11.20

2005-07-08 Thread Russ Sherk
On 7/8/05, ravish agarwal <[EMAIL PROTECTED]> wrote:
> I installed gcc and biasom Now, I am getting following error message: 
> 
> usr/ccs/bin/ld:  At least one PA 2.0 object file  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
>  
See [1] and [2] below.

> 
>   
>   
> 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 <[EMAIL PROTECTED]> wrote: 
> > ravish agarwal <[EMAIL PROTECTED]> 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  <[EMAIL PROTECTED]>
> > 
> >* 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 -   1.1.2.4
> > +++ getpass.c   6 Jul 2005 15:31:55 -
> > @@ -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;
> > 
> 
>  
> ___
> Info-cvs mailing list
> Info-cvs@gnu.org
> http://lists.gnu.org/mailman/listinfo/info-cvs
> 
> 
> 

[1] 
http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=%3CWarning%3E+At+least+one+PA+2.0+object+file

[2] http://support.bb4.com/archive/199905/msg00210.html

--Russ


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: error while installing CVS 1.11.20

2005-07-08 Thread ravish agarwal
I installed gcc and biasom Now, I am getting following error message:
usr/ccs/bin/ld:  At least one PA 2.0 object file  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 <[EMAIL PROTECTED]> wrote:
ravish agarwal <[EMAIL PROTECTED]> 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
>>  regardsNote: You should consider getting a compiler that is able to deal withANSI C. Future releases of CVS (1.12.x) will give you many problemsotherwise as that release of CVS assumes a C89 capable standalone
compiler.Does the following patch fix your problem?   -- MarkChangeLog entry:2005-07-06  Mark D. Baushke  <[EMAIL PROTECTED]>   * 
getpass.c (getpass): Add a K&R style function definition.Index: getpass.c===RCS file: /cvs/ccvs/lib/getpass.c,vretrieving revision 
1.1.2.4diff -u -p -u -p -r1.1.2.4 getpass.c--- getpass.c   2 Oct 2003 18:40:13 -   1.1.2.4+++ getpass.c   6 Jul 2005 15:31:55 -@@ -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;
___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


RE: error while installing CVS 1.11.20

2005-07-06 Thread Dave Korn
Original Message
>From: ravish agarwal
>Sent: 06 July 2005 15:55



> Please help me out. What is the possible cause of this error

> (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.
 ^^^

  Your compiler is twenty years out-of-date!  Install gcc!

cheers,
  DaveK
-- 
Can't think of a witty .sigline today



___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: error while installing CVS 1.11.20

2005-07-06 Thread Mark D. Baushke
ravish agarwal <[EMAIL PROTECTED]> 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  <[EMAIL PROTECTED]>

* 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 -   1.1.2.4
+++ getpass.c   6 Jul 2005 15:31:55 -
@@ -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;


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


error while installing CVS 1.11.20

2005-07-06 Thread ravish agarwal
Hi all 
I am getting following error while installing CVS-1.11.20.

# makeNo suffix list.    make  all-recursiveNo 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 product; 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
Ravish
___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs