Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Compile failure for Mac OSX 10.9 Mavericks

Meng Zhou edited this page Jun 10, 2014 · 3 revisions

In Mavericks, methpipe might not be compiled with the following error:

Undefined symbols for architecture x86_64

This error can be temporarily solved by commenting out a few functions types in methpipe/src/samtools/bgzf.c according to this page.

Starting from Line 75:

/*inline*/ void packInt16(uint8_t* buffer, uint16_t value)
...
/*inline*/ int unpackInt16(const uint8_t* buffer)
...
/*inline*/ void packInt32(uint8_t* buffer, uint32_t value)

Then the compile should work without error.

Currently samtools version 0.18 is included in methpipe because newer version such as 0.19 won't compile for to-mr. The reason is unclear. In order to make things work smoothly without spending too much time on debugging, 0.18 is used.