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

# [andrew@aaaaaaaa.demon.co.uk: Re: Fileio and 1.8.0p6]

- Date: Mon, 17 Mar 1997 14:36:15 -0600
- From:

    ------- Start of forwarded message -------
    Return-Path: moo-cows-errors@parc.xerox.com
    From: Andrew Wilson <andrew@aaaaaaaa.demon.co.uk>
    Subject: Re: Fileio and 1.8.0p6
    To: Tijmen Ramakers <tijmen@dse.nl>
    Date: Mon, 17 Mar 1997 10:52:49 PST
    Cc: moo-cows@parc.xerox.com
    In-Reply-To: <Pine.BSF.3.91.970317112422.1826A-100000@dse.dse.nl> from "Tijmen Ramakers" at Mar 17, 97 02:27:38 am
    X-Mailer: ELM [version 2.4 PL24 ME8a]
    Content-Type: text
    Sender: MOO-Cows-Errors@parc.xerox.com
    Precedence: bulk

    Always tell people what operating system you're using...

    Under FreeBSD-2.1.7 the fix is to add:

    #include <errno.h>

    to the list of headers in extension-fileio.c

    Then change 'umode_t' to 'mode_t', wherever it appears in extension-fileio.c

    Then change 'file_list_select(const struct dirent *d)' to

    'file_list_select(struct dirent *d)' in extension-fileio.c

    I'd mail a patch, but Ken's gonna have a new version out soon mebbies,
    perhaps, whenever.

    Ay.

    Tijmen Ramakers:
    >
    > When trying to compile p6 with the file-io extension I get the following
    > error:
    >
    > gcc -Wall -Wwrite-strings -g -O -c extension-fileio.c
    > extension-fileio.c: In function `file_raise_errno':
    > extension-fileio.c:303: `errno' undeclared (first use this function)
    > extension-fileio.c:303: (Each undeclared identifier is reported only once
    > extension-fileio.c:303: for each function it appears in.)
    > extension-fileio.c: At top level:
    > extension-fileio.c:1112: parse error before `st_mode'
    > extension-fileio.c: In function `file_type_string':
    > extension-fileio.c:1113: `st_mode' undeclared (first use this function)
    > extension-fileio.c: At top level:
    > extension-fileio.c:1127: parse error before `st_mode'
    > extension-fileio.c: In function `file_mode_string':
    > extension-fileio.c:1131: `st_mode' undeclared (first use this function)
    > extension-fileio.c: In function `bf_file_list':
    > extension-fileio.c:1345: warning: passing arg 3 of `scandir' from
    > incompatible pointer type
    > *** Error code 1
    >
    > Stop.
    >
    > Is this because of differences between p5 and p6 or is there something
    > I'm doing wrong?
    >
    > Tijmen Ramakers
    ------- End of forwarded message -------

- Prev: [abakun@waitress.scinc.com: Re: bf wrappers and error handling]
- Next: [avatar@hula.net: Builtin]
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index