axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build


From: Gabriel Dos Reis
Subject: Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build
Date: Tue, 4 Jan 2005 19:18:13 -0600 (CST)

On Tue, 4 Jan 2005, root wrote:

| > Is this a known issue?
|
| it is now :-)
|
| i'll have to check what versions of the compiler i'm using.
| i'll also check whether ptermio is used.

Well, I think my brain is now somewhere in the middle of the atlantic
ocean, so I'm getting  better :-)  I looked into edible.c.
The code at issue is:

#ifdef logterm
    {
      struct termio ptermio;
      char pbuff[1024];
      tcgetattr(contNum, &ptermio);
      sprintf(pbuff, "child's settings: Lflag = %d, Oflag = %d, Iflag = %d\n",
              ptermio.c_lflag, ptermio.c_oflag, ptermio.c_iflag);
      write(logfd, pbuff, strlen(pbuff));
    }
#endif

line 276 is
      struct termio ptermio;

so:
  (1) it looks to me that the error is a mispelling:
      'struct termios' should 'struct termio'.

  (2) ptermio is indeed used.

Correcting (1) as indicated led to a successful compilation.
The whole axiom build is still underway.

Thanks,

-- Gaby


I




reply via email to

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