Skip to content

Cannot compile libast.a #2

@raynalm

Description

@raynalm

Hello,
I'm trying to install PADS on my laptop (Ubuntu 18.04 64bits, gcc 7.5.0)
I installed the following dependencies:

sudo apt install make libcsfml-dev ml-yacc ml-lpt gcc

Here are the commands I ran:

export PADS_HOME=$HOME/git/pads
. $PADS_HOME/scripts/Q_DO_SETENV.sh
make ast_lib

It returns me the following error message (cropped for lisibility):

./ast_stdio.h:82:15: error: conflicting types for ‘_sfio_FILE’
 #define FILE  _sfio_FILE
               ^
./ast_stdio.h:80:24: note: previous declaration of ‘_sfio_FILE’ was here
 typedef struct _sfio_s _sfio_FILE;
                        ^~~~~~~~~~
mamake [lib/libast]: *** exit code 1 making stdio_gnu.o

What should I do?
Thanks,
best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions