Re: maps.c:45:2: error: ‘str uct map’ has no member named ‘list’

Dave Jones <[email protected]>
Newsgroups org.kernel.vger.trinity
Message-ID <[email protected]>
On Thu, Dec 05, 2013 at 05:42:34PM +0100, Toralf Förster wrote:
 > latest git at a stable Gentoo Linux 32 bit :
 > 
 > s -Wmissing-prototypes -Werror -o maps.o -c maps.c
 > maps.c: In function ‘dump_maps’:
 > maps.c:45:2: error: ‘struct map’ has no member named ‘list’
 > maps.c:45:2: error: ‘struct map’ has no member named ‘list’
 > maps.c: In function ‘alloc_zero_map’:
 > maps.c:96:14: error: ‘struct map’ has no member named ‘list’
 > maps.c:97:24: error: ‘struct map’ has no member named ‘list’
 > maps.c: In function ‘setup_maps’:i686-pc-linux-gnu-gcc -O2 -march=native -pipe -g -ggdb -Wall -W  -I. -Iinclude/ -Wimplicit  -D_GNU_SOURCE -Wdeclaration-after-statement -Wformat=2 -Winit-self -Wlogical-op -Wnested-externs -Wpacked -Wshadow -Wstrict-aliasing=3 -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Werror -o params.o -c params.c
 > 
 > maps.c:106:22: error: ‘struct map’ has no member named ‘list’
 > maps.c: In function ‘get_map’:
 > maps.c:124:2: error: ‘struct map’ has no member named ‘list’
 > maps.c:124:2: error: ‘struct map’ has no member named ‘list’
 > maps.c: In function ‘destroy_maps’:
 > maps.c:138:26: error: ‘struct map’ has no member named ‘list’
 > maps.c:144:26: error: ‘struct map’ has no member named ‘list’
 > maps.c:146:14: error: ‘struct map’ has no member named ‘list’
 > make: *** [maps.o] Error 1
 > make: *** Waiting for unfinished jobs....
 >  * ERROR: dev-util/trinity-9999::toralf failed (compile phase):

somehow missed a git add. Fixed now.

The work I'm doing on the mmap syscalls might mean you see more oom kills
for a while btw, especially on 32bit if you run a lot of child processes/instances.

	Dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.