[hobbit] Hobbit dependencies on Solaris 10.

sladewig sladewig at bankinfo.com
Tue Aug 22 17:14:06 CEST 2006


I think I have seen this. Happened to a friend of mine using a pkg from 
sunfreeware.
There is a script if I recall "fixincludes" that needs to be run. Check 
the README for gcc.

--
steve


Loris Serena said the following, On 08/22/2006 05:55 AM:
> Cheers Henrik, 
> 
> I believe the Core installation might be the "issue" here allright.
> 
> Still, I do have those two libraries in place
> 
> [minivip]/$ ls -l /usr/include/stdlib.h
> -rw-r--r--   1 root     bin         9296 Jan 21  2005 /usr/include/stdlib.h
> [minivip]/$ ls -l /usr/include/iso/stdlib_iso.h
> -rw-r--r--   1 root     bin         5383 Jan 21  2005
> /usr/include/iso/stdlib_iso.h
> [minivip]/$
> 
> How do I go from here?
> Or, how do I check what directory gcc parses and/or how do I tell gcc to
> also use /usr/include ?
> 
> Thanks again
> 
> Loris
> 
> 
> 
> -----Original Message-----
> From: henrik at hswn.dk [mailto:henrik at hswn.dk] 
> Sent: 21 August 2006 21:38
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] Hobbit dependencies on Solaris 10.
> 
> 
> 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
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
> 
> 
> BT Communications Ireland Limited 
> is a wholly owned subsidiary of BT Group plc 
> Registered in Ireland, Registration No. 141524 
> Grand Canal Plaza, Upper Grand Canal Street, Dublin, Ireland 
> 
> This electronic message contains information (and may contain files) from BT
> Communications Ireland Limited which may be privileged or confidential. The
> information is intended to be for the sole use of the individual(s) or
> entity named above. If you are not the intended recipient be aware that any
> disclosure, copying, distribution or use of the contents of this information
> and or files is prohibited. If you have received this electronic message in
> error, please notify us by telephone or email (to the numbers or address
> above) immediately. http://www.btireland.ie
> 



More information about the Xymon mailing list