From: Thomas Petazzoni Date: Sat, 18 Apr 2015 18:04:52 +0200 Subject: [Buildroot] Advice on how to build TGT In-Reply-To: <003c01d079ea$52d2a8b0$f877fa10$@go-unified.com> References: <003c01d079ea$52d2a8b0$f877fa10$@go-unified.com> Message-ID: <20150418180452.4c8598da@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Benedikt Riedel, On Sat, 18 Apr 2015 16:14:10 +0100, Benedikt Riedel wrote: > I am trying to get this application into my buildroot to provide and manage > iSCSI targets > > http://stgt.sourceforge.net/ > > > > The package is compiling/installing, however I am not able to run the > service or the binary. > > > > # tgtd > > -sh: tgtd: not found This most likely mean you're running the tgtd binary on a system which isn't the system generated by Buildroot. This message typically shows up when the dynamic loader referenced by the tgtd binary is not available on the current system. Are you actually running the complete system generated by Buildroot on your target platform? > The config.in is fairly simple: I guess you mean .mk file, right? > > STGT_VERSION= 1.0.57 > > STGT_SOURCE = v1.0.57.tar.gz > > STGT_SITE = https://github.com/fujita/tgt/archive/ If possible, use the github function. > STGT_AUTORECONF = NO > > STGT_INSTALL_STAGING = NO > > STGT_INSTALL_TARGET = YES > > STGT_DEPENDENCIES = uclibc None of these four lines are needed. Either they are the default, or at they are wrong (SITE_DEPENDENCIES = uclibc). Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com