[uae] Re: Found THE bug in building on Mac OS X Intel

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Wed, 3 May 2006 18:22:43 -0400

Hi Jens

On Wednesday 03 May 2006 16:53, Jens Weichert wrote:
> and this results in the following error if "make":
>
>       ../../src/od-generic/memory.c:17:20: error: malloc.h: No such file
> or directory
>       make[3]: *** [memory.o] Error 1
>       make[2]: *** [all-recursive] Error 1
>       make[1]: *** [all] Error 2
>       make: *** [all-recursive] Error 1
>
> It seems, that this build use not "od-macosx" but "od-generic"
>
> I've edit the file "memory.c" in "od-generic" and specified the right
> path to "malloc.h":
>
>       /usr/include/sys/
>
> Than, I do the procedure again (configure; make) and voila, the app
> was build :-)

Great.

Actually, try removing the '#include <malloc.h>' line in 
srd/od-generic/memory.c. It may be unnecessary. 

Cheers,
Rich

Other related posts: