Re: [NEWBIE] ASCII Pfile install gone wrong.

From: Alex (ahdbn4@umr.edu)
Date: 07/20/02


> db.c:591: `FBFILE' undeclared (first use this function)

This is related to the "buffered file output" system that
ASCII uses. It is contained in diskio.c and diskio.h.

From diskio.h:
--
typedef struct
{
  char *buf;    /* start of buffer      */
  char *ptr;    /* current location pointer   */
  int size;   /* size in bytes of buffer    */
  int flags;    /* read/write/append, future expansion  */
  char *name;   /* filename (for delayed writing) */
} FBFILE;
--

It seems like you dont have diskio.h included..
I looked at the patch, and it does contain these files.
  (diskio.c and diskio.h)
It also adds a line to include it in db.c. Are you sure
you took care of all the .rej files? You will also need
to rerun configure most likely after patching to get
diskio.c and its dependencies included in the Makefile.

hope this helps..

-alex

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT