Date: Thu, 4 Oct 2001 18:46:04 -0400 From: Louis LeBlanc <leblanc+freebsd@acadia.ne.mediaone.net> To: freebsd-questions@FreeBSD.org Subject: malloc.h syntax error in devel/gnomevfs port Message-ID: <20011004184603.C79909@acadia.ne.mediaone.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011004184603.C79909>