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

Re: [MiNT] Pilot link



This is what I get when the pilot-link make gets as far as
pilot-install-datebook.c


make[3]: Entering directory `/i/usr/src/pilot-link-0.12.3/src'
source='pilot-install-datebook.c' object='pilot-install-datebook.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../include -I../popt
       -g2 -Wall -c pilot-install-datebook.c
pilot-install-datebook.c: In function `main':
pilot-install-datebook.c:55: parse error before `*'

Line 55 is the FILE statement below but I think the error is caused by the preceding
line and yet it looks ok to me.

    char
        *cPtr        = NULL,
        *filename    = NULL,
        *file_text    = NULL,
        *fields[4];

    pi_buffer_t *Appointment_buf;
    Appointment_buf     = pi_buffer_new (0xffff);

    FILE     *f = NULL;

    struct     PilotUser User;
    struct     Appointment appointment;

It's probably something really simple.

Regards,

Peter