|
Message-ID: <20120109081025.GA3623@openwall.com> Date: Mon, 9 Jan 2012 12:10:25 +0400 From: Solar Designer <solar@...nwall.com> To: Alexey Dokuchaev <danfe@....ru> Cc: john-users@...ts.openwall.com Subject: Re: 1.7.9-jumbo5 fails to build with OMPFLAGS = -fopenmp -msse2 On Mon, Jan 09, 2012 at 02:26:46PM +0700, Alexey Dokuchaev wrote: > gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include -funroll-loops recovery.c > In file included from recovery.c:21: > /usr/include/sys/file.h:161: error: expected specifier-qualifier-list before 'u_int' > gmake[1]: *** [recovery.o] Error 1 > > this is unpatched vanilla 1.7.9-jumbo-5 (it was first added by me in > ports's Makefile rev. 1.51 when I updated the port to 1.7.7-jumbo-6). Looks like a bug in FreeBSD to me. Maybe you can report it to the right people. Meanwhile, can you try replacing "#define _XOPEN_SOURCE 500" with "#define _POSIX_SOURCE" - does this help? That is, instead of removing the line (which helps for FreeBSD, but breaks build on some other systems), try replacing it with "#define _POSIX_SOURCE". Another thing to try is _XOPEN_SOURCE 600 instead of 500. Thanks, Alexander
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.