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].
For more options, visit this group at
http://groups.google.com/group/open-iscsi?hl=en.