• 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
configure/make not finding malloc.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure/make not finding malloc.h


  • Subject: configure/make not finding malloc.h
  • From: "Al Byers" <email@hidden>
  • Date: Tue, 31 Jul 2007 19:51:00 -0600

I am trying to build a package with the following line:
sudo ./configure CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386"

and then I do a "make". The make response is:

make  all-am
source='e00parser.c' object='e00parser.o' libtool=no \
depfile='.deps/e00parser.Po' tmpdepfile='.deps/e00parser.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.     -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -c `test -f e00parser.c || echo './'`e00parser.c
source='vector.c' object='vector.o' libtool=no \
depfile='.deps/vector.Po' tmpdepfile='.deps/vector.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.     -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -c `test -f vector.c || echo './'`vector.c
vector.c:22:20: error: malloc.h: No such file or directory
make[1]: *** [ vector.o] Error 1
make: *** [all] Error 2

I did a "locate malloc.h" and plenty came up:

/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/malloc.h
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/malloc/malloc.h
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/objc/malloc.h
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/sys/malloc.h
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/malloc.h
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/malloc/malloc.h
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/objc/malloc.h
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/sys/malloc.h
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.0/include/mm_malloc.h
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.0/install-tools/include/mm_malloc.h
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/mm_malloc.h
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/install-tools/include/mm_malloc.h
/Library/Frameworks/UnixImageIO.framework/Versions/A/Headers/jasper/jas_malloc.h
/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/malloc.h
/usr/include/malloc/malloc.h
/usr/include/objc/malloc.h
/usr/include/sys/malloc.h
/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/mm_malloc.h
/usr/lib/gcc/i686-apple-darwin8/4.0.1/install-tools/include/mm_malloc.h

It has been a while since I have done this. Can someone clue me in as to why it is not finding malloc.h?

Thanks,
-Al
 _______________________________________________
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

  • Follow-Ups:
    • Re: configure/make not finding malloc.h
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Problem creating command line application with XCode
  • Next by Date: Re: configure/make not finding malloc.h
  • Previous by thread: Re: Xcode-users Digest, Vol 4, Issue 367
  • Next by thread: Re: configure/make not finding malloc.h
  • Index(es):
    • Date
    • Thread