Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2019 16:53:15 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Nilton Jose Rizzo <rizzo@rizzo.eng.br>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: devel/libgtop build error
Message-ID:  <zhfs-fes4-wny@FreeBSD.org>
In-Reply-To: <384861af672e89f343d759e740fd57f9e084fd1c.camel@rizzo.eng.br> (Nilton Jose Rizzo's message of "Mon, 16 Dec 2019 12:19:17 -0300")
References:  <384861af672e89f343d759e740fd57f9e084fd1c.camel@rizzo.eng.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Nilton Jose Rizzo <rizzo@rizzo.eng.br> writes:

> Problem with compile devel/libgtop
>
> libtool: compile:  cc -DHAVE_CONFIG_H -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 -I/usr/local/include -Winline -Wall -Wchar-
> subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs 
> -Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -fstack-
> protector-strong -fno-strict-aliasing -MT procargs.lo -MD -MP -MF
> .deps/procargs.Tpo -c procargs.c -o procargs.o >/dev/null 2>&1
> procmap.c:101:25: warning: unused variable 'um' [-Wunused-variable]
>         struct ufsmount um;
>                         ^
> procmap.c:282:39: error: no member named 'next' in 'struct
> vm_map_entry'
>         first = vmspace.vm_map.header.next;
>                 ~~~~~~~~~~~~~~~~~~~~~ ^
> procmap.c:285:56: error: no member named 'next' in 'struct
> vm_map_entry'
>                         (gulong) vmspace.vm_map.header.next,
>                                  ~~~~~~~~~~~~~~~~~~~~~ ^
> procmap.c:308:56: error: no member named 'next' in 'struct
> vm_map_entry'
>                                         (gulong) entry.next,
>                                                  ~~~~~ ^
> procmap.c:386:24: error: no member named 'next' in 'struct
> vm_map_entry'
>         } while (entry.next != first);
>                  ~~~~~ ^
> procmap.c:396:16: warning: cast from 'gchar *' (aka 'char *') to
>       'glibtop_map_entry *' (aka 'struct _glibtop_map_entry *')
> increases
>       required alignment from 1 to 8 [-Wcast-align]
>         return (glibtop_map_entry*) g_array_free(maps, FALSE);
>                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 2 warnings and 4 errors generated.

Probably regressed by https://svnweb.freebsd.org/changeset/base/355491
Better ask on current@ list.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?zhfs-fes4-wny>