public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Levine <mikejlevine-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: open-iscsi-generic compile dies on RHEL6
Date: Wed, 13 Jul 2011 15:10:21 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110713T170724-725@post.gmane.org> (raw)
In-Reply-To: 4BD7B89A.3000808@salasaga.org

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

      reply	other threads:[~2011-07-13 15:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-28  4:24 open-iscsi-generic compile dies on RHEL6 Justin Clift
2011-07-13 15:10 ` Mike Levine [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20110713T170724-725@post.gmane.org \
    --to=mikejlevine-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox