Re: [Newbie] Problems compiling ascii pfiles

From: Chris Gilbert (
Date: 05/17/00

SodaPop wrote:
> Hi,
> I have patched ascii pfiles into circle30bpl15(It required some manual
> patching).
> Anyway when I try to compile I get the following error:
> gcc -c -g -O2 -Wall  diskio.c
> diskio.c: In function `fbopen_for_read':
> diskio.c:144: structure has no member named `_fileno'
> diskio.c: In function `fbcat':
> diskio.c:324: structure has no member named `_fileno'
> Now, Im sure the answers is really obvious and im just overlooking it.
> Does anyone know whats wrong?

Vague memory makes me think that you replace the x->_fileno with
fileno(x) (or it's something like that)  _fileno is/was the entry in the
structure on linux boxen.


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 04/10/01 PDT