Bug 31067

Summary: malloc.h, lines 81,82,and 87 - syntax errors when compiling gnomevfs 1.0.2 in devel ports.
Product: Base System Reporter: Louis LeBlanc <leblanc>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Louis LeBlanc 2001-10-05 20:20:01 UTC
Tried to upgrade a gnomevfs thru portupgrade, but it fails with the
following output:
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

Fix: 

?
How-To-Repeat: cvsup to 10/2 version of RELENG_4_4_0_RELEASE, build and install world and kernel.
portupgrade -R (-N) gnomevfs, or just cd /usr/ports/devel/gnomevfs; make
Comment 1 Louis LeBlanc 2001-10-15 19:58:43 UTC
Turns out to be an incompatibility between the gnomevfs port and the
libmalloc port.  I found the owner of the file that was causing the
build failure and removed it.  Then gnomevfs built without error.

Thanks
Lou
-- 
Louis LeBlanc       leblanc@acadia.ne.mediaone.net
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://acadia.ne.mediaone.net                 Ô¿Ô¬
Comment 2 hiten pandya 2002-01-02 17:13:05 UTC
This PR can be closed as a fix has already been suggested.

regards,
 - Hiten
 - <hiten@uk.FreeBSD.org>

-- 
1024 45:a5:9c:f2:fb:07:da:70:18:02:0b:f3:63:f1:7a:a6 hitenp@hpdi.ath.cx
Comment 3 Bruce A. Mah freebsd_committer freebsd_triage 2002-01-02 17:30:30 UTC
State Changed
From-To: open->closed

Submitter found and fixed the problem locally.