Re: configure/make not finding malloc.h
Re: configure/make not finding malloc.h
- Subject: Re: configure/make not finding malloc.h
- From: Draichis <email@hidden>
- Date: Wed, 1 Aug 2007 05:55:59 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
What header file are you including for malloc.h, have you attempted
using
#include <malloc/malloc.h>
On Aug 1, 2007, at 5:08 AM, Al Byers wrote:
On 7/31/07, Peter O'Gorman <email@hidden> wrote: On Tue,
2007-07-31 at 18:56 -0700, Chris Espinosa wrote:
>
>
> > gcc -DHAVE_CONFIG_H -I. -I. -I.
> > -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -c `test -f
> > vector.c || echo './'`vector.c
> >
> it's including the current working directory in the header search
path
> three times. One would think that it would be wanting to -I
something
> useful. gcc ought to be looking in /usr/include/sys by default, so
> finding the malloc.h in the 10.4u SDK at that subpath, but you never
> know.
>
The only problem is that there is no /usr/include/malloc.h :)
But there is /usr/include/malloc/malloc.h, won't it find that?
change the source code to use stdlib.h instead of the obsolete
malloc.h
and you'll get a little further.
Just a simple placement of <stdlib.h> for <malloc.h>?
Thanks,
-Al
Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
- ------------------------------------
Mustapha "Draichis" Abiola
email@hidden
"I know that fewer people are won over by the written word than by
the spoken word and that every great movement on this earth owes its
growth to great speakers and not to great writers. -Adolph Hilter"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFGsBJfIhvOKJAuTMURAnTMAJ9P4yTsO/SCKFzaBFharT/jcQGKZwCdH2nW
WVr/FNJqQMf9gT7/pHHx+xk=
=vCFS
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden