This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: malloc.h not found


malloc.h isn't posix, comment it out in bzip2.c,
the functions are in stdlib.h.
if this isn't a FAQ, it should be.
set BZ_UNIX to 1 and BZ_LCCWIN32 to 0 & use this Makefile


On Sun, 15 Feb 1998 20:40:38 +0100, you wrote:

>Hi guys,
>
>A make on different stuff spits out:
>---
>Compiling bzip2 ...
>
>gcc -O -fomit-frame-pointer -funroll-loops -o bzip2 bzip2.c
>bzip2.c:136: malloc.h: No such file or directory
>gcc: Internal compiler error: program cpp got fatal signal 33
>make: *** [all] Error 1
>---
>
>I tried with and without -m for mount (mixed mode).
>I also tried with and without -b (text (!) = binary) with mount.
>
>My SETtings:
>---
>set path=.;f:\gnuwin32\b18\H-i386-cygwin32\bin; \
>f:\gnuwin32\b18\tcl\bin;\bin;\usr\local\bin; \
>E:\Programs\ResKit4\Perl\bin 
>
>set USER=%USERNAME% 
>set HOME=/home/%USER% 
>set TERM=ansi
>
>set GCC_EXEC_PREFIX=f:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
>set TCL_LIBRARY=f:/gnuwin32/b18/tcl/lib/tcl7.6
>set GDBTK_LIBRARY=f:/gnuwin32/b18/share/gdbtcl
>SET CPLUS__INCLUDE_PATH=f:/gnuwin32/b18/include/g++
>
>set LIBRARY_PATH=/usr/lib/
>---
>
>Any ideas, pointers?


=====================================================
Linux a platform built by, and for users, standing on
the firm legs of reliability, and speed.

Microsoft Windows, a platform without a leg to stand on.

(jeffdbREMOVETHIS@netzone.com)
delete REMOVETHIS from the above to reply
         Mikey

Makefile


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]