On Mon, Aug 21, 2006 at 05:34:01PM +0100, Loris Serena wrote:
I've played with BB for years but I'm new to hobbit. I'm trying to install 4.2.0 on a box running Solaris 10 x86 1/06 (Core installation).
Solaris 10/x86 happens to be one of the platforms that I test-compiled Hobbit on before the release.
I think you're missing some packages by doing just a "core" install. Check the files /usr/include/stdlib.h and /usr/include/iso/stdlib_iso.h; they should be 9296 and 5383 bytes, respectively. The latter one contains the definition of "NULL" which your compiler claims does not exist.
gcc -c -g -O2 -I. -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre.c -fPIC -DPIC -o pcre.o pcre.c:355: error:
malloc' undeclared here (not in a function) pcre.c:356: error:free' undeclared here (not in a function)
Again, these are really essential system library routines that are not defined by your build environment. Without these you just cannot compile very much C code.
Regards, Henrik