* open-iscsi-generic compile dies on RHEL6
@ 2010-04-28 4:24 Justin Clift
2011-07-13 15:10 ` Mike Levine
0 siblings, 1 reply; 2+ messages in thread
From: Justin Clift @ 2010-04-28 4:24 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Hi all,
Getting a simple compilation failure for open-iscsi-generic (from OFED
1.5.1 release) on RHEL6:
**********************************************************************
...
cc -O2 -g -Wall -Wstrict-prototypes -I../include -DLinux
-DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o iscsistart.o iscsistart.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -DLinux
-DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o statics.o statics.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -DLinux
-DNETLINK_ISCSI=8 -D_GNU_SOURCE -static netlink.o util.o io.o auth.o
login.o log.o md5.o sha1.o iscsi_sysfs.o idbm.o initiator.o queue.o
actor.o mgmt_ipc.o isns.o transport.o iscsistart.o statics.o -o iscsistart
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [iscsistart] Error 1
+ echo 'Failed to build open-iscsi userspace code, cleaning up...'
**********************************************************************
Seems pretty basic, and generally I'd think this box is missing a -devel
library, but the glibc-devel libraries (i686 and x86_64) are installed.
Anyone have any ideas? This isn't urgent for me, as I'm not using
iSCSI/iSER atm, more mentioning in case anyone has suggestions as I'm
willing to try them. :)
Regards and best wishes,
Justin Clift
--
Salasaga - Open Source eLearning IDE
http://www.salasaga.org
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: open-iscsi-generic compile dies on RHEL6
2010-04-28 4:24 open-iscsi-generic compile dies on RHEL6 Justin Clift
@ 2011-07-13 15:10 ` Mike Levine
0 siblings, 0 replies; 2+ messages in thread
From: Mike Levine @ 2011-07-13 15:10 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Justin Clift <justin@...> writes:
> cc -O2 -g -Wall -Wstrict-prototypes -I../include -DLinux
> -DNETLINK_ISCSI=8 -D_GNU_SOURCE -static netlink.o util.o io.o auth.o
> login.o log.o md5.o sha1.o iscsi_sysfs.o idbm.o initiator.o queue.o
> actor.o mgmt_ipc.o isns.o transport.o iscsistart.o statics.o -o iscsistart
> /usr/bin/ld: cannot find -lc
> collect2: ld returned 1 exit status
> make: *** [iscsistart] Error 1
> + echo 'Failed to build open-iscsi userspace code, cleaning up...'
>
hi justin,
you need the static glibc-devel
yum install glibc-static
you can tell by the -static in the line that fails.
--
mike
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-13 15:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-28 4:24 open-iscsi-generic compile dies on RHEL6 Justin Clift
2011-07-13 15:10 ` Mike Levine
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.