On Saturday, 5 April 2014 20:02:23 UTC+1, Bram Moolenaar wrote: > Ed Brown wrote: > > > > > I'm not an autotools expert by any stretch of the imagination. I've not > > > included a patch. But here are the details: > > > > > > > > > undefining HAVE_SMACK in config.h does fix the issue. > > > > > > ./configure --prefix=/usr/local --enable-perlinterp --enable-tclinterp > > > --enable-pythoninterp > > > --with-python-config-dir=/usr/local/lib/python2.7/config > > > --with-features=huge > > > > > > > > > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-2.0 > > > -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo > > > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 > > > -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 > > > -I/usr/include/libpng12 -g -O2 -U_FORTIFY_SOURCE > > > -D_FORTIFY_SOURCE=1 -o objects/os_unix.o os_unix.c > > > os_unix.c: In function ‘mch_copy_sec’: > > > os_unix.c:2820: error: ‘XATTR_NAME_SMACK’ undeclared (first use in this > > > function) > > > os_unix.c:2820: error: (Each undeclared identifier is reported only once > > > os_unix.c:2820: error: for each function it appears in.) > > > os_unix.c:2821: error: ‘XATTR_NAME_SMACKEXEC’ undeclared (first use in this > > > function) > > > os_unix.c:2822: error: ‘XATTR_NAME_SMACKMMAP’ undeclared (first use in this > > > function) > > > make[1]: *** [objects/os_unix.o] Error 1 > > > make[1]: Leaving directory `/users/wcadmin/eb15792/vim-7.4.244/src' > > > make: *** [first] Error 2 > > > > Configure checks for the linux/xattr.h file to exist. Does yours not > > contain XATTR_NAME_SMACK, XATTR_NAME_SMACKEXEC and XATTR_NAME_SMACKMMAP? > > What does it define then? Or what other include file defines them? > > > > -- > > If you put 7 of the most talented OSS developers in a room for a week > > and asked them to fix a bug in a spreadsheet program, in 1 week > > you'd have 2 new mail readers and a text-based web browser. > > > > /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ > > /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ > > \\\ an exciting new programming language -- http://www.Zimbu.org /// > > \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
I have the same problem on Scientific Linux 6.4 (based on RHEL 6.4). I have attached my /usr/include/linux/xattr.h file, which doesn't define the macros you referenced. A quick grep in this directory suggests that these macros are not defined anywhere... -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
/* File: linux/xattr.h Extended attributes handling. Copyright (C) 2001 by Andreas Gruenbacher <a.gruenbac...@computer.org> Copyright (c) 2001-2002 Silicon Graphics, Inc. All Rights Reserved. Copyright (c) 2004 Red Hat, Inc., James Morris <jmor...@redhat.com> */ #ifndef _LINUX_XATTR_H #define _LINUX_XATTR_H #define XATTR_CREATE 0x1 /* set value, fail if attr already exists */ #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ #endif /* _LINUX_XATTR_H */