#4731: Fix to build with ne libcap
-------------------------+-------------------------
Reporter: fo | Owner: blfs-book@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.5
Component: BOOK | Version: SVN
Severity: normal | Keywords:
-------------------------+-------------------------
{{{
gcc -s -shared -o sched.so sched..o -lgdbm -lpcre -lcap -ldl
-lncursesw -lrt -lm -lc
make[3]: Leaving directory '/home/fernando/tmp/paco-
build-2014.02.21-11h19m15s/zsh-5.0.5/Src/Builtins'
make[3]: Entering directory '/home/fernando/tmp/paco-
build-2014.02.21-11h19m15s/zsh-5.0.5/Src/Modules'
gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H
-DMODULE -Wall -Wmissing-prototypes -O2 -fPIC -o attr..o attr.c
In file included from /usr/include/sys/capability.h:30:0,
from ../../Src/zsh_system.h:510,
from ../../Src/zsh.mdh:17,
from attr.mdh:17,
from attr.c:30:
/usr/include/sys/xattr.h:31:3: error: expected identifier before numeric
constant
XATTR_CREATE = 1, /* set value, fail if attr already exists. */
^
Makefile:241: recipe for target 'attr..o' failed
make[3]: *** [attr..o] Error 1
make[3]: Leaving directory '/home/fernando/tmp/paco-
build-2014.02.21-11h19m15s/zsh-5.0.5/Src/Modules'
Makemod:373: recipe for target 'modules' failed
make[2]: *** [modules] Error 1
make[2]: Leaving directory '/home/fernando/tmp/paco-
build-2014.02.21-11h19m15s/zsh-5.0.5/Src'
Makefile:451: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/home/fernando/tmp/paco-
build-2014.02.21-11h19m15s/zsh-5.0.5/Src'
Makefile:189: recipe for target 'all' failed
make: *** [all] Error 1
real 0m31.894s
user 0m26.546s
sys 0m5.145s
}}}
patch already committed to patches-blfs
add gdbm as optional
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4731>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page