David Larson wrote: > On Thursday, April 10, 2014 2:10:11 AM UTC-7, Bram Moolenaar wrote: > > Patch 7.4.254 > > > > Problem: Smack support detection is incomplete. > > > > Solution: Check for attr/xattr.h and specific macro. > > Thank you Bram. I'm getting this error after applying this patch. Was this > patch intended to fix it? > > 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) > > FYI: the configure script produced these results for the smack feature: > > checking --disable-smack argument... no > checking linux/xattr.h usability... yes > checking linux/xattr.h presence... yes > checking for linux/xattr.h... yes > checking attr/xattr.h usability... yes > checking attr/xattr.h presence... yes > checking for attr/xattr.h... yes > checking for XATTR_NAME_SMACKEXEC in linux/xattr.h... no > auto/configure: line 4640: enable_smack: command not found
That's wrong. Apparently some shells have a problem with the spaces. That means the check that I used as an example is also wrong. -- Microsoft is to software what McDonalds is to gourmet cooking /// Bram Moolenaar -- [email protected] -- 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 /// -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
