Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: please help: malloc.h



It seems like your configuration is incorrect. You probably shouldn't be defining PC, LINUX, or ALPHA, since you're not building for any of those targets.

If your code comes with a configure script, you may need to re-run that - it should reconfigure the includes and such based on your system. If you don't have such a script, you'll have to do this by hand. You should probably look into autoconf if you plan to do a lot of multi-platform development (just google for autoconf).

- Paul

On Wednesday, June 25, 2003, at 02:31 PM, Markian Hlynka wrote:

Hi.

I'm trying to compile some code I need to work on that was written on linux.

Right off the bat, I get:

gcc -O3 -Wall -DPC -DLINUX -DALPHA -c -o IO.o IO.c
Chess.h:5: header file 'malloc.h' not found
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make: *** [IO.o] Error 1


So, ok, malloc.h is not found... I have no clue where to go next. I'd greatly appreciate any assistance!


Thanks,

Markian
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >please help: malloc.h (From: Markian Hlynka <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.