2010/3/18 Martin <[email protected]>

> hi there,
> i'm tring to crosscompile for mips arch.
> build fails with:
> /home/heini66/freetz-trunk/source/open-iscsi-2.0-871/utils/
> fwparam_ibft'
> /home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-
> gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -
> D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -DLINUX   -c -o
> fw_entry.o fw_entry.c
> /home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-
> gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -
> D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -DLINUX   -c -o
> fwparam_ibft_sysfs.o fwparam_ibft_sysfs.c
> fw_entry.c:25:24: error: fw_context.h: No such file or directory
> In file included from fw_entry.c:26:
> fwparam.h:28: warning: 'struct list_head' declared inside parameter
> list
> fwparam.h:28: warning: its scope is only this definition or
> declaration, which is probably not what you want
> fwparam.h:30: warning: 'struct list_head' declared inside parameter
> list
> fw_entry.c:27:25: error: idbm_fields.h: No such file or directory
> fw_entry.c:59: warning: 'struct list_head' declared inside parameter
> list
> fw_entry.c: In function 'fw_get_targets':
> fw_entry.c:63: warning: passing argument 1 of
> 'fwparam_ppc_get_targets' from incompatible pointer type
> fw_entry.c:65: warning: passing argument 1 of
> 'fwparam_ibft_sysfs_get_targets' from incompatible pointer type
> fw_entry.c: At top level:
> fw_entry.c:70: warning: 'struct list_head' declared inside parameter
> list
> fw_entry.c: In function 'fw_free_targets':
> fw_entry.c:77: error: expected ';' before '{' token
> fw_entry.c: In function 'dump_initiator':
> fw_entry.c:85: error: dereferencing pointer to incomplete type
> fw_entry.c:86: error: 'IFACE_INAME' undeclared (first use in this
> function)
> fw_entry.c:86: error: (Each undeclared identifier is reported only
> once
> fw_entry.c:86: error: for each function it appears in.)
> fw_entry.c:86: error: dereferencing pointer to incomplete type
> fw_entry.c:88: error: dereferencing pointer to incomplete type
> fw_entry.c:89: error: 'IFACE_ISID' undeclared (first use in this
> function)
> fw_entry.c:89: error: dereferencing pointer to incomplete type
> fw_entry.c: In function 'dump_target':
> fw_entry.c:94: error: dereferencing pointer to incomplete type
> fw_entry.c:95: error: 'NODE_NAME' undeclared (first use in this
> function)
> fw_entry.c:95: error: dereferencing pointer to incomplete type
> fw_entry.c:97: error: dereferencing pointer to incomplete type
> fw_entry.c:98: error: 'CONN_ADDR' undeclared (first use in this
> function)
> fw_entry.c:98: error: expected ')' before string constant
> fw_entry.c:99: error: 'CONN_PORT' undeclared (first use in this
> function)
> fw_entry.c:99: error: expected ')' before string constant
> fw_entry.c:101: error: dereferencing pointer to incomplete type
> fw_entry.c:102: error: 'SESSION_USERNAME' undeclared (first use in
> this function)
> fw_entry.c:102: error: dereferencing pointer to incomplete type
> fw_entry.c:103: error: dereferencing pointer to incomplete type
> fw_entry.c:104: error: 'SESSION_PASSWORD' undeclared (first use in
> this function)
> fw_entry.c:104: error: dereferencing pointer to incomplete type
> fw_entry.c:105: error: dereferencing pointer to incomplete type
> fw_entry.c:106: error: 'SESSION_USERNAME_IN' undeclared (first use in
> this function)
> fw_entry.c:106: error: dereferencing pointer to incomplete type
> fw_entry.c:107: error: dereferencing pointer to incomplete type
> fw_entry.c:108: error: 'SESSION_PASSWORD_IN' undeclared (first use in
> this function)
> fw_entry.c:109: error: dereferencing pointer to incomplete type
> fw_entry.c:111: error: dereferencing pointer to incomplete type
> fw_entry.c:112: error: 'NODE_BOOT_LUN' undeclared (first use in this
> function)
> fw_entry.c:112: error: dereferencing pointer to incomplete type
> fw_entry.c: In function 'dump_network':
> fw_entry.c:118: error: dereferencing pointer to incomplete type
> fw_entry.c:119: error: 'IFACE_HWADDR' undeclared (first use in this
> function)
> fw_entry.c:119: error: dereferencing pointer to incomplete type
> fw_entry.c:124: error: dereferencing pointer to incomplete type
> fw_entry.c:124: error: dereferencing pointer to incomplete type
> fw_entry.c:125: error: 'IFACE_BOOT_PROTO' undeclared (first use in
> this function)
> fw_entry.c:128: error: dereferencing pointer to incomplete type
> fw_entry.c:129: error: 'IFACE_IPADDR' undeclared (first use in this
> function)
> fw_entry.c:129: error: dereferencing pointer to incomplete type
> fw_entry.c:130: error: dereferencing pointer to incomplete type
> fw_entry.c:131: error: 'IFACE_SUBNET_MASK' undeclared (first use in
> this function)
> fw_entry.c:131: error: dereferencing pointer to incomplete type
> fw_entry.c:132: error: dereferencing pointer to incomplete type
> fw_entry.c:133: error: 'IFACE_GATEWAY' undeclared (first use in this
> function)
> fw_entry.c:133: error: dereferencing pointer to incomplete type
> fw_entry.c:134: error: dereferencing pointer to incomplete type
> fw_entry.c:135: error: 'IFACE_PRIMARY_DNS' undeclared (first use in
> this function)
> fw_entry.c:135: error: dereferencing pointer to incomplete type
> fw_entry.c:136: error: dereferencing pointer to incomplete type
> fw_entry.c:137: error: 'IFACE_SEC_DNS' undeclared (first use in this
> function)
> fw_entry.c:137: error: dereferencing pointer to incomplete type
> fw_entry.c:138: error: dereferencing pointer to incomplete type
> fw_entry.c:139: error: 'IFACE_VLAN' undeclared (first use in this
> function)
> fw_entry.c:139: error: dereferencing pointer to incomplete type
> fw_entry.c:140: error: dereferencing pointer to incomplete type
> fw_entry.c:141: error: 'IFACE_NETNAME' undeclared (first use in this
> function)
> fw_entry.c:141: error: dereferencing pointer to incomplete type
> fw_entry.c: In function 'fw_print_entry':
> fw_entry.c:154: error: 'ISCSI_BEGIN_REC' undeclared (first use in this
> function)
> fw_entry.c:158: error: 'ISCSI_END_REC' undeclared (first use in this
> function)
> make[2]: *** [fw_entry.o] Fehler 1
> make[2]: *** Warte auf noch nicht beendete Prozesse...
> fwparam_ibft_sysfs.c:32:19: error: sysfs.h: No such file or directory
> fwparam_ibft_sysfs.c:33:24: error: fw_context.h: No such file or
> directory
> In file included from fwparam_ibft_sysfs.c:34:
> fwparam.h:28: warning: 'struct list_head' declared inside parameter
> list
> fwparam.h:28: warning: its scope is only this definition or
> declaration, which is probably not what you want
> fwparam.h:30: warning: 'struct list_head' declared inside parameter
> list
> fwparam_ibft_sysfs.c:35:21: error: sysdeps.h: No such file or
> directory
> fwparam_ibft_sysfs.c: In function 'get_iface_from_device':
> fwparam_ibft_sysfs.c:104: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:111: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:142: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:149: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c: In function 'fill_nic_context':
> fwparam_ibft_sysfs.c:166: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:167: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:175: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:176: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:177: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:178: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:179: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:180: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:181: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:182: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:183: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:184: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:185: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:186: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:187: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:188: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c: In function 'fill_initiator_context':
> fwparam_ibft_sysfs.c:195: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:196: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:197: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:198: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c: In function 'fill_tgt_context':
> fwparam_ibft_sysfs.c:204: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:205: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:209: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:210: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:218: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:219: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:219: error: 'ISCSI_LISTEN_PORT' undeclared (first
> use in this function)
> fwparam_ibft_sysfs.c:219: error: (Each undeclared identifier is
> reported only once
> fwparam_ibft_sysfs.c:219: error: for each function it appears in.)
> fwparam_ibft_sysfs.c:221: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:222: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:223: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:224: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:226: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:227: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:229: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:230: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:232: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:233: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c: At top level:
> fwparam_ibft_sysfs.c:313: warning: 'struct list_head' declared inside
> parameter list
> fwparam_ibft_sysfs.c:314: error: conflicting types for
> 'fwparam_ibft_sysfs_get_targets'
> fwparam.h:28: error: previous declaration of
> 'fwparam_ibft_sysfs_get_targets' was here
> fwparam_ibft_sysfs.c: In function 'fwparam_ibft_sysfs_get_targets':
> fwparam_ibft_sysfs.c:332: error: dereferencing pointer to incomplete
> type
> fwparam_ibft_sysfs.c:367: error: dereferencing pointer to incomplete
> type
> make[2]: *** [fwparam_ibft_sysfs.o] Fehler 1
> make[2]: Verlasse Verzeichnis '/home/heini66/freetz-trunk/source/open-
> iscsi-2.0-871/utils/fwparam_ibft'
> make[1]: *** [user] Fehler 2
> make[1]: Verlasse Verzeichnis '/home/heini66/freetz-trunk/source/open-
> iscsi-2.0-871'
>
> ERROR: Build failed.
> make: *** [source/open-iscsi-2.0-871/usr] Fehler 1
>
> any hints for me?


> --
> You received this message because you are subscribed to the Google Groups
> "open-iscsi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<open-iscsi%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/open-iscsi?hl=en.
>
> i figured out, that my problerms are definition problems. so i have to set
a real path in my cflags that the compiler findes the includes in
src/include and the files in src/usr.
atm i'm stucking at:
open-iscsi-2.0-871/utils/sysdeps/
open-iscsi-2.0-871/utils/sysdeps/Makefile
open-iscsi-2.0-871/utils/sysdeps/sysdeps.c
set -e; shopt -s nullglob; for i in make/open-iscsi/patches/*.patch; do
tools/freetz_patch source/open-iscsi-2.0-871 $i; done
cmd() {
PATH="/home/heini66/freetz-trunk/toolchain/target/bin:/home/heini66/freetz-trunk/toolchain/kernel/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/bin"
LD_RUN_PATH="/usr/lib/freetz" make -j2  "$@"  || { printf
"\n\\033[33m%s\\033[m\n" "ERROR: Build failed.";  exit 1; } };     if [ -e
source/.echo_item_start -a ! -e source/.echo_item_build ]; then echo -n
"building... "; touch source/.echo_item_build; fi; cmd -C
source/open-iscsi-2.0-871 \

CC="/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc"
\
        CFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux" \
        LDFLAGS=" -lz"
building... make[1]: Betrete Verzeichnis
'/home/heini66/freetz-trunk/source/open-iscsi-2.0-871'
make -C utils/sysdeps
make[2]: Betrete Verzeichnis
'/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/utils/sysdeps'
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o sysdeps.o sysdeps.c
make[2]: Verlasse Verzeichnis
'/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/utils/sysdeps'
make -C utils/fwparam_ibft
make[2]: Betrete Verzeichnis
'/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/utils/fwparam_ibft'
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o fw_entry.o fw_entry.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o fwparam_ibft_sysfs.o fwparam_ibft_sysfs.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o prom_lex.o prom_lex.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o prom_parse.tab.o prom_parse.tab.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o fwparam_ppc.o fwparam_ppc.c
fwparam_ppc.c: In function 'loop_devs':
fwparam_ppc.c:358: warning: passing argument 4 of 'qsort' from incompatible
pointer type
make[2]: Verlasse Verzeichnis
'/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/utils/fwparam_ibft'
make -C usr
make[2]: Betrete Verzeichnis
'/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr'
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o util.o util.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o io.o io.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o auth.o auth.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o login.o login.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o log.o log.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o md5.o md5.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o sha1.o sha1.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o iface.o iface.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o idbm.o idbm.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o sysfs.o sysfs.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o host.o host.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o session_info.o session_info.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o iscsi_sysfs.o iscsi_sysfs.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o netlink.o netlink.c
/home/heini66/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os
-pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr
-I/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/include -DLinux   -c
-o initiator.o initiator.c
iscsi_sysfs.c: In function 'iscsi_sysfs_get_sid_from_path':
iscsi_sysfs.c:605: error: storage size of 'statb' isn't known
iscsi_sysfs.c: In function 'iscsi_sysfs_get_blockdev_from_lun':
iscsi_sysfs.c:832: error: storage size of 'statbuf' isn't known
make[2]: *** [iscsi_sysfs.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: Verlasse Verzeichnis
'/home/heini66/freetz-trunk/source/open-iscsi-2.0-871/usr'
make[1]: *** [user] Fehler 2
make[1]: Verlasse Verzeichnis
'/home/heini66/freetz-trunk/source/open-iscsi-2.0-871'

has anybody got the open-iscsi code get compiled via crosscompiler?
sorry for my bad english

martin

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

Reply via email to