Skip to content

Compilation problem on Mac OS / clang #89

@jorisvandenbossche

Description

@jorisvandenbossche

See #83

With the current codebase, @sgillies and @vincentsarago report they get the following error:

duplicate symbol '_STRtreeType' in:
    build/temp.macosx-10.14-x86_64-3.7/src/lib.o
    build/temp.macosx-10.14-x86_64-3.7/src/strtree.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'clang' failed with exit status 1

Removing an #include "strtree.h" solves this, but then results in some warnings (see #83). @sgillies suggests that the better solution would be to have one source file per extension module.

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