[w3m-dev-en 00251] Re: w3m 11 fails to compile under Caldera OpenLinux

From: Gary Johnson (garyjohn@spk.agilent.com)
Date: Tue Oct 17 2000 - 19:39:06 CDT

  • Next message: Alex Lyons: "[w3m-dev-en 00252] Is there a Mac port of w3m?"

    On Tue, Oct 17, 2000 at 04:49:24PM -0700, Ward... James Ward wrote:

    > file.c: In function `getNextPage':
    > file.c:5242: `code' undeclared (first use in this function)
    > file.c:5242: (Each undeclared identifier is reported only once
    > file.c:5242: for each function it appears in.)

    I solved this and another compilation problem by modifying file.c as
    follows.

    *** - Tue Oct 17 17:36:16 2000
    --- file.c Mon Jun 19 23:00:58 2000
    ***************
    *** 5239,5245 ****
    --- 5239,5247 ----
                  Strcat(tmp, lineBuf2);
                  lineBuf2 = tmp;
              }
    + #ifdef JP_CHARSET
              lineBuf2 = convertLine(&uf, lineBuf2, &code);
    + #endif
              lineBuf2 = checkType(lineBuf2->ptr, propBuffer, LINELEN);
              len = lineBuf2->length;
              l = New(Line);
    ***************
    *** 5563,5569 ****
          while ((pid = waitpid(-1, &stat, WNOHANG)) > 0) {
              ;
          }
    ! #elsif HAVE_WAIT3
          int pid;
      
          while ((pid = wait3(&stat, WNOHANG, NULL)) > 0) {
    --- 5565,5571 ----
          while ((pid = waitpid(-1, &stat, WNOHANG)) > 0) {
              ;
          }
    ! #elif HAVE_WAIT3
          int pid;
      
          while ((pid = wait3(&stat, WNOHANG, NULL)) > 0) {

    Regards,
    Gary

    -- 
    Gary Johnson                 | Agilent Technologies
    garyjohn@spk.agilent.com     | RF Communications Product Generation Unit
                                 | Spokane, Washington, USA
    



    This archive was generated by hypermail 2b29 : Tue Oct 17 2000 - 19:49:32 CDT