Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Feb 2005 11:39:37 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        michi.bohn@tiscali.de
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>" Error code 1
Message-ID:  <20050225223937.GB59300@osiris.chen.org.nz>
In-Reply-To: <20050225215101.GA8121@lisa.home.inet>
References:  <20050225215101.GA8121@lisa.home.inet>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 25, 2005 at 10:51:01PM +0100, Michael Bohn wrote:

[...]
> In file included from utils.c:28:
> /usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>"
> *** Error code 1
> 
> Stop in /home/mib/tac_plus-4.4beta2.
> bash-2.05b# pwd
> /home/mib/tac_plus-4.4beta2
> bash-2.05b# 
> 
> Is there any way to fix this problem ???

Yes. Do what the error message says. Replace malloc.h in the source
with stdlib.h.
-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
                                                          Jesus saves.
                                                       Allah forgives.
                             Cthulu thinks you'd make a nice sandwich.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050225223937.GB59300>