From owner-freebsd-questions Thu Oct 4 15:46: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail-relay1.mirrorimage.net (mail-relay1.mirrorimage.net [209.58.140.11]) by hub.freebsd.org (Postfix) with ESMTP id CF0A737B407 for ; Thu, 4 Oct 2001 15:45:55 -0700 (PDT) Received: from leblanc.mirrorimage.net (leblanc.mirrorimage.net [209.192.210.146]) by mail-relay1.mirrorimage.net (8.9.3/8.9.3) with ESMTP id SAA28448 for ; Thu, 4 Oct 2001 18:45:55 -0400 Received: (from leblanc@localhost) by leblanc.mirrorimage.net (8.11.6/8.11.4) id f94Mk4Z27119 for freebsd-questions@FreeBSD.org; Thu, 4 Oct 2001 18:46:04 -0400 (EDT) (envelope-from leblanc) Date: Thu, 4 Oct 2001 18:46:04 -0400 From: Louis LeBlanc To: freebsd-questions@FreeBSD.org Subject: malloc.h syntax error in devel/gnomevfs port Message-ID: <20011004184603.C79909@acadia.ne.mediaone.net> Reply-To: freebsd-questions@FreeBSD.org Mail-Followup-To: freebsd-questions@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.22.1i X-bright-idea: Lets abolish HTML mail! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey all. Having some trouble installing some of the gnome ports. I think the whole thing comes down to building gnomevfs, and shows syntax errors in /usr/local/include/malloc.h: cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libgnomevfs -I../libgnomevfs -I../intl -I../intl -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include/gnome-xml -I/usr/X11R6/include/gconf/1 -I/usr/X11R6/include -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/gtk12 -Wall -Wunused -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DPREFIX=\"/usr/X11R6\" -I/usr/local/include -O -pipe -I/usr/X11R6/include -c file-method.c -fPIC -DPIC -o .libs/file-method.lo In file included from file-method.c:49: /usr/local/include/malloc.h:81: syntax error before `*' /usr/local/include/malloc.h:82: syntax error before `*' /usr/local/include/malloc.h:87: syntax error before `*' gmake[3]: *** [file-method.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/gnomevfs/work/gnome-vfs-1.0.2/modules' I am using RELENG_4_4_0_RELEASE as a cvsup tag - just done day before yesterday, world and kernel: # uname -a FreeBSD leblanc.mirrorimage.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Oct 2 16:42:02 EDT 2001 root@leblanc.mirrorimage.net:/usr/obj/usr/src/sys/LEBLANC i386 I am unfamiliar with the code, so I am simply including lines 80-91 here: extern void mal_debug __proto((int)); extern void mal_dumpleaktrace __proto((FILE *)); extern void mal_heapdump __proto((FILE *)); extern void mal_leaktrace __proto((int)); extern void mal_sbrkset __proto((int)); extern void mal_slopset __proto((int)); extern void mal_statsdump __proto(()); extern void mal_setstatsfile __proto((FILE *)); extern void mal_trace __proto((int)); extern int mal_verify __proto((int)); extern void mal_mmap __proto((char *)); Any ideas? I don't know if this is some obscure bug in gnomevfs, or in the malloc code in FreeBSD. Thanks Lou -- Louis LeBlanc leblanc@acadia.ne.mediaone.net Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://acadia.ne.mediaone.net ԿԬ QOTD: "I used to be lost in the shuffle, now I just shuffle along with the lost." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message