Thread

  1. Re: [HACKERS] problem compiling 6.5 cvs (Linux, gcc 2.7.2, egcs 1.12)

    Ole Gjerde <gjerde@icebox.org> — 1999-05-11T09:24:50Z

    On Tue, 11 May 1999, Oleg Bartunov wrote:
    > Sereval days I can't compile 6.5 cvs sources under Linux, 
    > I got sporadical errors so I suspected it's compiler/hardware
    > problem. I'm using egcs 1.12 release.
    
    I have had no problems with redhat 5.2(gcc 2.7.2.3, glibc 2.0)
    But with redhat 6.0(egcs 1.1.2, glibc 2.1) I'm having one problem.
    psql doesn't compile :)
    psql.c:152: initializer element is not constant
    which is 
    static FILE * cur_cmd_source = stdin;
    
    I don't believe I have ever seen that error, and I don't know why it has
    problems with that line.
    
    Other than that it works great here.
    
    Ole Gjerde