Skip to content

Not able to build on Mac OS X due to "use of undeclared identifier 'PORT_PREFIX'" #2

@dgately

Description

@dgately

When building this project on Mac OS X, using the Makefile, an error is reported and the build is terminated... This project appears to build using the "build.sh" script for some reason. So, it appears that something is declaring PORT_PREFIX within that script (though, I don't see that!).

Makefile build is failing in src/propeller-load.c with the following errors:

src/propeller-load.c:292:23: error: use of undeclared identifier 'PORT_PREFIX'
ShowPorts(PORT_PREFIX);
^
src/propeller-load.c:294:32: error: use of undeclared identifier 'PORT_PREFIX'
ShowConnectedPorts(PORT_PREFIX, baud, portFlags);
^
src/propeller-load.c:300:28: error: use of undeclared identifier 'PORT_PREFIX'
int sts = InitPort(PORT_PREFIX, port, baud, portFlags, actualport);

NOTE: On request from Parallax, I'm attempting to update the Makefile to allow building for Mac OS X version 10.6 and later (Forum poster's request). Until the Makefile actually can build on OS X, I'm not able to complete that task for Parallax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions