Skip to content

Compilation on Mac #73

@PhVerkerk

Description

@PhVerkerk

I had difficulties in compiling the sources on my different Mac (the first is 13 years old, while the second is 1 year old). I obviously followed the instructions in the README of https://github.com/perseids-tools/morpheus (many thanks to Zakary; it may be useful to repeat them here too) even though I do not fully understand them.

cd src/
make clean
CFLAGS='-std=gnu89 -Wno-return-type -Wno-implicit-function-declaration' make LOADLIBES='-ll'
make install

However, it was not enough : ld (the linker) had some problems in linking the *.a files. I have solved the problem by killing the various *.a files that already exist.
It may be a good idea to remove these *.a files in the "clean" step of each makefile.

clean:
	rm -f *.o

should become

clean:
	rm -f *.o *.a

or something similar.

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