• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: configure/make not finding malloc.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >configure/make not finding malloc.h (From: "Al Byers" <email@hidden>)
 >Re: configure/make not finding malloc.h (From: Chris Espinosa <email@hidden>)
 >Re: configure/make not finding malloc.h (From: Peter O'Gorman <email@hidden>)
 >Re: configure/make not finding malloc.h (From: "Al Byers" <email@hidden>)

  • Prev by Date: Re: configure/make not finding malloc.h
  • Next by Date: Re: Xcode-users Digest, Vol 4, Issue 368
  • Previous by thread: Re: configure/make not finding malloc.h
  • Next by thread: Re: configure/make not finding malloc.h
  • Index(es):
    • Date
    • Thread