Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* My first Hack!! :)
@ 1998-12-31 23:22 Peter Petrakis
  1998-12-31 23:48 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Petrakis @ 1998-12-31 23:22 UTC (permalink / raw)
  To: axp-list@redhat.com

I was having trouble compliing gettext so i could build the latest
GTK+.In stdio.h it was redefining some things gettext was defining and
thus the error. I fixed by editing stdio.h and commenting these lines
starting at line 203.

#ifdef __USE_GNU
  /*
extern _IO_ssize_t getdelim __P ((char **, size_t *, int, FILE*));
extern _IO_ssize_t getline __P ((char **, size_t *, FILE *));
extern _IO_ssize_t __getline __P ((char **, size_t *, FILE *));
 
*/                                                                         

Gettext went on to compile and install perfectly :).
This was with egcs 1.1.1. Now what should I do with this answer?

Peter Petrakis

-- 
STCC DEC Alpha Resource Page
http://math.stcc.mass.edu/petrakis
PeterPan@wn.net  AlphaGuy =)
"BLAM! Who the hell are you!? Name's Ash <click clock> Housewares..."


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: My first Hack!! :)
  1998-12-31 23:22 My first Hack!! :) Peter Petrakis
@ 1998-12-31 23:48 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1998-12-31 23:48 UTC (permalink / raw)
  To: axp-list

On Thu, Dec 31, 1998 at 06:22:08PM -0500, Peter Petrakis wrote:
> #ifdef __USE_GNU
> /*
> extern _IO_ssize_t getdelim __P ((char **, size_t *, int, FILE*));
> extern _IO_ssize_t getline __P ((char **, size_t *, FILE *));
> extern _IO_ssize_t __getline __P ((char **, size_t *, FILE *));
> */                                                                         
> 
> Gettext went on to compile and install perfectly :).
> This was with egcs 1.1.1. Now what should I do with this answer?

Nothing.  Gettext is broken.  It should either not use
getline et al, or should not be build with _GNU_SOURCE.


r~


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-01-01  0:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-31 23:22 My first Hack!! :) Peter Petrakis
1998-12-31 23:48 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox