Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Nov 2001 12:20:30 +1030
From:      "Thyer, Matthew" <Matthew.Thyer@dsto.defence.gov.au>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        murray@freebsd.org, ports@freebsd.org
Subject:   Re: ports/devel/nasm fails to build on recent -CURRENT due to  <malloc.h> has been replaced by <stdlib.h>
Message-ID:  <3BE0AA66.2168105A@dsto.defence.gov.au>
References:  <3BDF453A.2692101B@dsto.defence.gov.au> <20011031182141.B73971@straylight.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pentchev wrote:
> 
> On Wed, Oct 31, 2001 at 10:56:34AM +1030, Thyer, Matthew wrote:
> > cc -c -O -pipe  -Wall -ansi -pedantic -I. -I.. symtab.c
> > In file included from symtab.c:12:
> > /usr/include/malloc.h:2: #error "<malloc.h> has been replaced by <stdlib.h>"
> > *** Error code 1
> 
> Please try the attached patch.  Also attached is a message I sent to
> H. Peter Anvin, who is listed as the last person who touched the nasm
> source :)
> 
> G'luck,
> Peter

Thanks Peter, your patch to nasm worked fine allowing me to build
xmame successfully.

Xmame also appears to run as far as I have tested it (which is not
much).


--- rdoff/symtab.c.old  Wed Oct 31 16:52:11 2001
+++ rdoff/symtab.c      Wed Oct 31 16:52:17 2001
@@ -9,7 +9,6 @@
  */
 #include <stdio.h>
 #include <stdlib.h>
-#include <malloc.h>
 
 #include "symtab.h"
 #include "hash.h"

--
 Matthew Thyer                                 Phone:  +61 8 8259 7249
 Science Corporate Information Systems         Fax:    +61 8 8259 5537
 Defence Science and Technology Organisation, Edinburgh
 PO Box 1500 EDINBURGH South Australia 5111

 IMPORTANT: This email remains the property of the Australian Defence
 Organisation and is subject to the jurisdiction of section 70 of the
 CRIMES ACT 1914.  If you have received this email in error, you are
 requested to contact the sender and delete the email.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BE0AA66.2168105A>