Date: Sat, 02 Aug 2008 09:51:12 -0400 From: Robert Noland <rnoland@2hip.net> To: joeldiaz@nc.rr.com Cc: freebsd-gnome@freebsd.org Subject: Re: libgtop 2.22.3 compile fail on CURRENT Message-ID: <1217685072.2714.8.camel@wombat.2hip.net> In-Reply-To: <29537011.999341217623381653.JavaMail.root@cdptpa-web25-z02> References: <29537011.999341217623381653.JavaMail.root@cdptpa-web25-z02>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-NsFqhweLAxpMcxztpTiY Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-08-01 at 16:43 -0400, joeldiaz@nc.rr.com wrote: > Hi. I just did a fresh install (of FreeBSD) and moved to CURRENT yesterda= y. While installing GNOME, eventually it gets to devel/libgtop, and it fai= ls...here's the last bit of output: >=20 > cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../sysdeps/freeb= sd -I../../include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/= include -I/usr/local/include -I/usr/local/include -Winline -Wall -std=3Dgnu= 89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-e= xterns -Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -fno-strict-al= iasing -MT procsegment.lo -MD -MP -MF .deps/procsegment.Tpo -c procsegment.= c -o procsegment.o >/dev/null 2>&1 > if /bin/sh /usr/ports/devel/libgtop/work/gnome-libtool --tag=3DCC --mode= =3Dcompile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../sysde= ps/freebsd -I../../include -I/usr/local/include/glib-2.0 -I/usr/local/lib/g= lib-2.0/include -I/usr/local/include -I/usr/local/include -Winline = -Wall -std=3Dgnu89 -Wchar-subscripts -Wmissing-declarations -Wmiss= ing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsi= gn-compare -O2 -pipe -fno-strict-aliasing -MT procargs.lo -MD -MP -MF "= .deps/procargs.Tpo" -c -o procargs.lo procargs.c; \ > then mv -f ".deps/procargs.Tpo" ".deps/procargs.Plo"; else rm -f = ".deps/procargs.Tpo"; exit 1; fi > cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../sysdeps/freeb= sd -I../../include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/= include -I/usr/local/include -I/usr/local/include -Winline -Wall -std=3Dgnu= 89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-e= xterns -Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -fno-strict-al= iasing -MT procargs.lo -MD -MP -MF .deps/procargs.Tpo -c procargs.c -fPIC = -DPIC -o .libs/procargs.o > cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../sysdeps/freeb= sd -I../../include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/= include -I/usr/local/include -I/usr/local/include -Winline -Wall -std=3Dgnu= 89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-e= xterns -Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -fno-strict-al= iasing -MT procargs.lo -MD -MP -MF .deps/procargs.Tpo -c procargs.c -o proc= args.o >/dev/null 2>&1 > if /bin/sh /usr/ports/devel/libgtop/work/gnome-libtool --tag=3DCC --mode= =3Dcompile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../sysde= ps/freebsd -I../../include -I/usr/local/include/glib-2.0 -I/usr/local/lib/g= lib-2.0/include -I/usr/local/include -I/usr/local/include -Winline = -Wall -std=3Dgnu89 -Wchar-subscripts -Wmissing-declarations -Wmiss= ing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsi= gn-compare -O2 -pipe -fno-strict-aliasing -MT procmap.lo -MD -MP -MF ".= deps/procmap.Tpo" -c -o procmap.lo procmap.c; \ > then mv -f ".deps/procmap.Tpo" ".deps/procmap.Plo"; else rm -f ".= deps/procmap.Tpo"; exit 1; fi > cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../sysdeps/freeb= sd -I../../include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/= include -I/usr/local/include -I/usr/local/include -Winline -Wall -std=3Dgnu= 89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-e= xterns -Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -fno-strict-al= iasing -MT procmap.lo -MD -MP -MF .deps/procmap.Tpo -c procmap.c -fPIC -DP= IC -o .libs/procmap.o > In file included from /usr/include/sys/systm.h:42, > from /usr/include/sys/refcount.h:38, > from /usr/include/sys/file.h:42, > from procmap.c:44: > /usr/include/machine/cpufunc.h:128: error: static declaration of 'ffs' fo= llows non-static declaration > /usr/include/machine/cpufunc.h:142: error: static declaration of 'fls' fo= llows non-static declaration > /usr/include/strings.h:47: error: previous declaration of 'fls' was here > In file included from /usr/include/sys/refcount.h:38, > from /usr/include/sys/file.h:42, > from procmap.c:44: > /usr/include/sys/systm.h:217: error: expected declaration specifiers or '= ...' before 'uintfptr_t' > /usr/include/sys/systm.h:221: error: expected declaration specifiers or '= ...' before 'uintfptr_t' > /usr/include/sys/systm.h:239: error: conflicting types for 'setenv' > /usr/include/stdlib.h:163: error: previous declaration of 'setenv' was he= re > In file included from /usr/include/sys/systm.h:254, > from /usr/include/sys/refcount.h:38, > from /usr/include/sys/file.h:42, > from procmap.c:44: > /usr/include/sys/libkern.h:69: error: static declaration of 'abs' follows= non-static declaration > /usr/include/sys/libkern.h:70: error: static declaration of 'labs' follow= s non-static declaration > /usr/include/sys/libkern.h:93: error: conflicting types for 'gets' > /usr/include/stdio.h:242: error: previous declaration of 'gets' was here > /usr/include/sys/libkern.h:99: error: conflicting types for 'random' > /usr/include/stdlib.h:201: error: previous declaration of 'random' was he= re > /usr/include/sys/libkern.h:109: error: conflicting types for 'strdup' > /usr/include/sys/libkern.h:144: error: static declaration of 'memcmp' fol= lows non-static declaration > /usr/include/sys/libkern.h:148: error: static declaration of 'memset' fol= lows non-static declaration > /usr/include/sys/libkern.h:166: error: static declaration of 'strchr' fol= lows non-static declaration > /usr/include/sys/libkern.h:172: error: static declaration of 'strrchr' fo= llows non-static declaration > In file included from /usr/include/sys/refcount.h:38, > from /usr/include/sys/file.h:42, > from procmap.c:44: > /usr/include/sys/systm.h:277: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'splbio' > /usr/include/sys/systm.h:278: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'splcam' > /usr/include/sys/systm.h:279: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'splclock' > /usr/include/sys/systm.h:280: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'splhigh' > /usr/include/sys/systm.h:281: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'splimp' > /usr/include/sys/systm.h:282: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'splnet' > /usr/include/sys/systm.h:283: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'splsoftcam' > /usr/include/sys/systm.h:284: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'splsoftclock' > /usr/include/sys/systm.h:285: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'splsofttty' > /usr/include/sys/systm.h:286: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'splsoftvm' > /usr/include/sys/systm.h:287: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'splsofttq' > /usr/include/sys/systm.h:288: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'splstatclock' > /usr/include/sys/systm.h:289: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'spltty' > /usr/include/sys/systm.h:290: error: expected '=3D', ',', ';', 'asm' or '= __attribute__' before 'splvm' > /usr/include/sys/systm.h:291: error: expected ')' before 'ipl' > /usr/include/sys/systm.h:303: error: conflicting types for 'pause' > /usr/include/unistd.h:357: error: previous declaration of 'pause' was her= e > gmake[3]: *** [procmap.lo] Error 1 > gmake[3]: Leaving directory `/usr/ports/devel/libgtop/work/libgtop-2.22.3= /sysdeps/freebsd' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/usr/ports/devel/libgtop/work/libgtop-2.22.3= /sysdeps' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/devel/libgtop/work/libgtop-2.22.3= ' > gmake: *** [all] Error 2 > *** Error code 2 >=20 > Stop in /usr/ports/devel/libgtop. > fbsd# uname -a > FreeBSD fbsd.raleigh.ibm.com 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Jul = 31 15:13:08 EDT 2008 root@fbsd.raleigh.ibm.com:/usr/obj/usr/src/sys/MYK= ERNEL i386 This looks like an issue with libgtop defining _KERNEL somewhere it shouldn't now. I don't have more time to continue chasing it down right now though... robert. > Need anything more from me? >=20 > Joel > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" --=-NsFqhweLAxpMcxztpTiY Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkiUZlAACgkQM4TrQ4qfROPO0wCeP0TvO1KTMNQU8od2Xn0pRG/0 JxEAniw1kBzXN7m2YmF5P9JIxtl09Y7E =S+qv -----END PGP SIGNATURE----- --=-NsFqhweLAxpMcxztpTiY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1217685072.2714.8.camel>