CoinMP fails to compile on OS X
- Dominant language
- Shell
- Stars
- 21
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Issue created by migration from Trac.
Original creator: phines
Original creation time: 2008-09-16 20:33:26
Assignee: somebody
Version:
On my OS X (10.5, Intel) CoinMP fails to compile because "malloc.h" is in the sys directory on the Mac. The problem can be fixed (on a mac) by changing line 18 of CoinMP-1.2.0/CoinMP/src/CoinMP.cpp to
#include "sys/malloc.h" // on mac...
from
#include "malloc.h"
Obviously this would probably break on another platform. I assume that something needs to be adjusted in the configure script to get a platform-independent solution.
Thanks,
-Paul
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in CoinMP-1.2.0/CoinMP/src/CoinMP.cpp at the malloc.h include and inspect the configure script for platform-specific header handling. Reproduce the compilation failure on OS X 10.5 Intel if possible, then verify that the fix supports the reported Mac layout without breaking compilation on other platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100