QUOTE(loophole @ Jun 5 2006, 13:12)

OMG - you rule!! checking it out now.
CODE
cc -O3 -I/Users/hexley/Downloads/aacplusenc-0.2/libaacenc -I/Users/hexley/Downloads/aacplusenc-0.2/libbitbuf -I/Users/hexley/Downloads/aacplusenc-0.2/libfr -I/Users/hexley/Downloads/aacplusenc-0.2/libresamp -I/Users/hexley/Downloads/aacplusenc-0.2/libsbrenc -I/Users/hexley/Downloads/aacplusenc-0.2/libisomediafile -I/Users/hexley/Downloads/aacplusenc-0.2/libaudio -c -o src/main.o src/main.c
In file included from /Users/hexley/Downloads/aacplusenc-0.2/libisomediafile/MP4Movies.h:29,
from /Users/hexley/Downloads/aacplusenc-0.2/libisomediafile/ISOMovies.h:9,
from src/main.c:13:
/Users/hexley/Downloads/aacplusenc-0.2/libisomediafile/MP4OSMacros.h:33:20: error: malloc.h: No such file or directory
src/main.c: In function 'main':
src/main.c:237: warning: pointer targets in passing argument 4 of 'IsSbrSettingAvail' differ in signedness
make: *** [src/main.o] Error 1
Get this trying to compile on OS X, do i need to manually tell make the target platform or anything, as there's on configure script or anything. Sorry I'm pretty new to this

I have compiled it on Linux PPC, not MacOSX PPC.
You culd try this CFLAGS: -I.. -I../../src -Wall -W -ansi -pedantic -Wno-long-long
The error was in libisomediafile, that had two subdirs, win32 and linux, so i've stripped the win32 out.
Dunno about OS X, never had it, but i suggest you to use the latest gcc compiler, since i'm using gcc 4.1.0 under linux.
What gcc -v says about his version?