Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2008 16:43:01 -0400
From:      <joeldiaz@nc.rr.com>
To:        freebsd-gnome@freebsd.org
Subject:   libgtop 2.22.3 compile fail on CURRENT
Message-ID:  <29537011.999341217623381653.JavaMail.root@cdptpa-web25-z02>

next in thread | raw e-mail | index | archive | help
Hi. I just did a fresh install (of FreeBSD) and moved to CURRENT yesterday.  While installing GNOME, eventually it gets to devel/libgtop, and it fails...here's the last bit of output:

 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../sysdeps/freebsd -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=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -fno-strict-aliasing -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=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../sysdeps/freebsd -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=gnu89     -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes    -Wnested-externs -Wpointer-arith        -Wcast-align -Wsign-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/freebsd -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=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -fno-strict-aliasing -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/freebsd -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=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -fno-strict-aliasing -MT procargs.lo -MD -MP -MF .deps/procargs.Tpo -c procargs.c -o procargs.o >/dev/null 2>&1
if /bin/sh /usr/ports/devel/libgtop/work/gnome-libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../sysdeps/freebsd -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=gnu89     -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes    -Wnested-externs -Wpointer-arith        -Wcast-align -Wsign-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/freebsd -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=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -fno-strict-aliasing -MT procmap.lo -MD -MP -MF .deps/procmap.Tpo -c procmap.c  -fPIC -DPIC -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' follows non-static declaration
/usr/include/machine/cpufunc.h:142: error: static declaration of 'fls' follows 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 here
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' follows 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 here
/usr/include/sys/libkern.h:109: error: conflicting types for 'strdup'
/usr/include/sys/libkern.h:144: error: static declaration of 'memcmp' follows non-static declaration
/usr/include/sys/libkern.h:148: error: static declaration of 'memset' follows non-static declaration
/usr/include/sys/libkern.h:166: error: static declaration of 'strchr' follows non-static declaration
/usr/include/sys/libkern.h:172: error: static declaration of 'strrchr' follows 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 '=', ',', ';', 'asm' or '__attribute__' before 'splbio'
/usr/include/sys/systm.h:278: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splcam'
/usr/include/sys/systm.h:279: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splclock'
/usr/include/sys/systm.h:280: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splhigh'
/usr/include/sys/systm.h:281: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splimp'
/usr/include/sys/systm.h:282: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splnet'
/usr/include/sys/systm.h:283: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsoftcam'
/usr/include/sys/systm.h:284: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsoftclock'
/usr/include/sys/systm.h:285: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsofttty'
/usr/include/sys/systm.h:286: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsoftvm'
/usr/include/sys/systm.h:287: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsofttq'
/usr/include/sys/systm.h:288: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splstatclock'
/usr/include/sys/systm.h:289: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spltty'
/usr/include/sys/systm.h:290: error: expected '=', ',', ';', '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 here
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

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/MYKERNEL  i386

Need anything more from me?

Joel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29537011.999341217623381653.JavaMail.root>