Subject: Busybox and iSCSI?
To: None <pkgsrc-users@netbsd.org>
From: Peter Eisch <peter@boku.net>
List: pkgsrc-users
Date: 12/04/2007 08:42:59
Building from pkgsrc the compile stops due to the undefined constant INFTIM.
Is there a suggestion for finding a way to patch over this or is there
little chance of this working on this platform
(armv5tejl-unknown-linux-gcc)?

Thanks,

peter


[root@kelly netbsd-iscsi-target]# bmake
=> Bootstrap dependency digest>=20010302: found digest-20070803
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `download-vulnerability-list'.
===> Building for netbsd-iscsi-target-20071130
gcc -O2 -I/usr/include -Wall -Wstrict-prototypes -fno-strict-aliasing
-fno-common -Wno-trigraphs -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -I../include -pthread -I/usr/include -c util.c
In file included from util.c:96:
../include/iscsiutil.h:165:1: warning: "__BYTE_ORDER" redefined
In file included from /usr/include/endian.h:37,
                 from /usr/include/sys/types.h:212,
                 from util.c:35:
/usr/include/bits/endian.h:13:1: warning: this is the location of the
previous definition
In file included from util.c:96:
../include/iscsiutil.h:166:1: warning: "__BIG_ENDIAN" redefined
In file included from /usr/include/sys/types.h:212,
                 from util.c:35:
/usr/include/endian.h:33:1: warning: this is the location of the previous
definition
In file included from util.c:96:
../include/iscsiutil.h:167:1: warning: "__LITTLE_ENDIAN" redefined
In file included from /usr/include/sys/types.h:212,
                 from util.c:35:
/usr/include/endian.h:32:1: warning: this is the location of the previous
definition
util.c: In function `iscsi_waitfor_connection':
util.c:642: error: `INFTIM' undeclared (first use in this function)
util.c:642: error: (Each undeclared identifier is reported only once
util.c:642: error: for each function it appears in.)
*** Error code 1

Stop.
bmake: stopped in 
/shares/internal/PUBLIC/pkgsrc/devel/netbsd-iscsi-target/work/netbsd-iscsi-2
0071130/src
*** Error code 1

Stop.
bmake: stopped in /shares/internal/PUBLIC/pkgsrc/devel/netbsd-iscsi-target
*** Error code 1

Stop.
bmake: stopped in /shares/internal/PUBLIC/pkgsrc/devel/netbsd-iscsi-target
[root@kelly netbsd-iscsi-target]#