I'm trying to build open-iscsi-2.0-871 on Gentoo (Kernel 2.6.30 with
OpenSUSE Xen patches / GCC 4.3.3 / glibc 2.9).

The kernel modules build fine but when trying to build iscsid I get
the following errors:

c -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE util.o io.o auth.o login.o log.o md5.o
sha1.o iface.o idbm.o sysfs.o host.o session_info.o iscsi_sysfs.o
netlink.o initiator.o scsi.o actor.o event_poll.o mgmt_ipc.o isns.o
cxgb3i.o transport.o iscsid.o -o iscsid
io.o: In function `get_netdev_from_hwaddress':
usr/io.c:189: undefined reference to `strlcpy'
io.o: In function `bind_conn_to_iface':
usr/io.c:211: undefined reference to `strlcpy'
usr/io.c:293: undefined reference to `strlcpy'
auth.o: In function `acl_set_key_value':
usr/auth.c:554: undefined reference to `strlcpy'
auth.o: In function `acl_set_user_name':
usr/auth.c:1895: undefined reference to `strlcpy'
iscsi-2.0-871/usr/auth.c:1527: more undefined references to `strlcpy'

<snip - this goes on and on for each object file>

The full output of the build is available here: http://pastie.org/552382

Does anyone have any guidance on how to fix this?


You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at http://groups.google.com/group/open-iscsi

Reply via email to