-
Couldn't load subscription status.
- Fork 370
Open
Description
What steps will reproduce the problem?
1. Compile cmockery on Mac OS Leopard
What is the expected output? What do you see instead?
When running "./configure && make", it errors out saying that "malloc.h" can
not be found (log
attached as "plain-configure.log"). On Mac OS there are at least 3 different
"malloc.h" files:
$ find /usr/include -name "malloc.h"
/usr/include/malloc/malloc.h
/usr/include/objc/malloc.h
/usr/include/sys/malloc.h
Apparently "/usr/include/sys/malloc.h" is the one to use. Thus I attempted to compile cmockery
by issueing the following command:
"CFLAGS="-I/usr/include/sys" ./configure && make
That got me further, but size_t does not appear to be defined.
According to stdlib.h, size_t is defined as:
typedef __darwin_size_t size_t;
Output of the build process is attached as "cflags-configure.log".
What version of the product are you using? On what operating system?
cmockery 0.1.2, Mac OS Leopard (10.5.4)
Original issue reported on code.google.com by [email protected] on 14 Oct 2008 at 1:00
Attachments: