1 |
hi, |
2 |
|
3 |
i got this error while trying to emerge the open-iscis-2.0.871.3: |
4 |
|
5 |
be2iscsi.o transport.o iscsid.o |
6 |
iscsi_sysfs.o: In function `iscsi_sysfs_get_blockdev_from_lun': |
7 |
iscsi_sysfs.c:(.text+0xe71): undefined reference to `S_ISLNK' |
8 |
iscsi_sysfs.c:(.text+0xed3): undefined reference to `S_ISDIR' |
9 |
iscsi_sysfs.o: In function `iscsi_sysfs_get_sid_from_path': |
10 |
iscsi_sysfs.c:(.text+0x16ed): undefined reference to `S_ISDIR' |
11 |
iscsi_sysfs.c:(.text+0x17bd): undefined reference to `S_ISLNK' |
12 |
collect2: ld returned 1 exit status |
13 |
make[1]: *** [iscsid] Error 1 |
14 |
make[1]: *** Waiting for unfinished jobs.... |
15 |
make[1]: Leaving directory |
16 |
`/var/tmp/portage/sys-block/open-iscsi-2.0.871.3/work/open-iscsi-2.0.871.3/usr' |
17 |
make: *** [user] Error 2 |
18 |
|
19 |
|
20 |
below is my emerge --info: |
21 |
|
22 |
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.12.1-r1, |
23 |
2.6.32-openvz-budarin.1 x86_64) |
24 |
================================================================= |
25 |
System uname: Linux-2.6.32-openvz-budarin.1-x86_64-Intel-R-_Core-TM-2_CPU_4400_@_2.00GHz-with-gentoo-2.0.1 |
26 |
Timestamp of tree: Fri, 20 Aug 2010 19:45:02 +0000 |
27 |
app-shells/bash: 4.1_p7 |
28 |
dev-java/java-config: 2.1.11 |
29 |
dev-lang/python: 2.6.5-r3, 3.1.2-r4 |
30 |
sys-apps/baselayout: 2.0.1 |
31 |
sys-apps/openrc: 0.6.2 |
32 |
sys-apps/sandbox: 2.3-r1 |
33 |
sys-devel/autoconf: 2.65-r1 |
34 |
sys-devel/automake: 1.10.3, 1.11.1 |
35 |
sys-devel/binutils: 2.20.1-r1 |
36 |
sys-devel/gcc: 4.4.4-r1 |
37 |
sys-devel/gcc-config: 1.4.1 |
38 |
sys-devel/libtool: 2.2.10 |
39 |
sys-devel/make: 3.81-r2 |
40 |
virtual/os-headers: 2.6.34 |
41 |
ACCEPT_KEYWORDS="amd64 ~amd64" |
42 |
ACCEPT_LICENSE="* -@EULA PUEL" |
43 |
CBUILD="x86_64-pc-linux-gnu" |
44 |
CFLAGS="-march=nocona -O2 -pipe" |
45 |
CHOST="x86_64-pc-linux-gnu" |
46 |
CONFIG_PROTECT="/etc" |
47 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d |
48 |
/etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf |
49 |
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d |
50 |
/etc/terminfo" |
51 |
CXXFLAGS="-O2 -pipe" |
52 |
DISTDIR="/usr/portage/distfiles" |
53 |
FEATURES="assume-digests distlocks fixpackages news parallel-fetch |
54 |
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans |
55 |
userfetch" |
56 |
GENTOO_MIRRORS=" http://mirrors.163.com/gentoo/ http://mirrors.sohu.com/gentoo/" |
57 |
LDFLAGS="-Wl,-O1 -Wl,--as-needed" |
58 |
LINGUAS="zh_CN" |
59 |
MAKEOPTS="-j2" |
60 |
PKGDIR="/usr/portage/packages" |
61 |
PORTAGE_CONFIGROOT="/" |
62 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
63 |
--compress --force --whole-file --delete --stats --timeout=180 |
64 |
--exclude=/distfiles --exclude=/local --exclude=/packages" |
65 |
PORTAGE_TMPDIR="/var/tmp" |
66 |
PORTDIR="/usr/portage" |
67 |
PORTDIR_OVERLAY="/var/lib/layman/dotnet /usr/local/portage" |
68 |
SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage" |
69 |
USE="acl amd64 bash-completion berkdb bzip2 cli cracklib crypt cxx dri |
70 |
dvdr fortran gdbm gpm iconv imagemagick ipv6 java java6 jpeg jpeg2k |
71 |
mmx modules mono mudflap multilib ncurses nls nptl nptlonly openmp pam |
72 |
pcre perl postgres pppd python readline reflection samba session spl |
73 |
sqlite sqlite3 sse sse2 ssl sysfs tcpd unicode usb vim-syntax xorg |
74 |
zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 |
75 |
cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 |
76 |
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" |
77 |
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty |
78 |
extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul |
79 |
mulaw multi null plug rate route share shm softvol" |
80 |
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon |
81 |
authn_dbm authn_default authn_file authz_dbm authz_default |
82 |
authz_groupfile authz_host authz_owner authz_user autoindex cache cgi |
83 |
cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter |
84 |
file_cache filter headers include info log_config logio mem_cache mime |
85 |
mime_magic negotiation rewrite setenvif speling status unique_id |
86 |
userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard |
87 |
mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk |
88 |
hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN" |
89 |
RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel |
90 |
mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via |
91 |
vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 |
92 |
ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq |
93 |
steal rawnat logmark ipmark dhcpmac delude chaos account" |
94 |
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, |
95 |
LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, |
96 |
PORTAGE_RSYNC_EXTRA_OPTS |
97 |
|
98 |
|
99 |
-- |
100 |
Best Regards, |
101 |
Xi Shen (David) |
102 |
|
103 |
http://twitter.com/davidshen84/ |