Hi, Iam using Ubuntu 6.06 with kernel 2.6.15-23.While iam trying to install open-iscsi-1.0-485 iam getting an error
make make -C usr cat: /lib/modules/2.6.15-23-386/build/Makefile: No such file or directory cat: /lib/modules/2.6.15-23-386/build/Makefile: No such file or directory make[1]: Entering directory `/usr/local/src/open-iscsi-1.0-485/usr' cc -O2 -fno-inline -g -Wall -Wstrict-prototypes -I../include -DLinux - DNETLINK_ISCSI=8 -c -o io.o io.c cc -O2 -fno-inline -g -Wall -Wstrict-prototypes -I../include -DLinux - DNETLINK_ISCSI=8 -c -o auth.o auth.c cc -O2 -fno-inline -g -Wall -Wstrict-prototypes -I../include -DLinux - DNETLINK_ISCSI=8 -c -o login.o login.c cc -O2 -fno-inline -g -Wall -Wstrict-prototypes -I../include -DLinux - DNETLINK_ISCSI=8 -c -o log.o log.c cc -O2 -fno-inline -g -Wall -Wstrict-prototypes -I../include -DLinux - DNETLINK_ISCSI=8 -c -o md5.o md5.c cc -O2 -fno-inline -g -Wall -Wstrict-prototypes -I../include -DLinux - DNETLINK_ISCSI=8 -c -o sha1.o sha1.c cc -O2 -fno-inline -g -Wall -Wstrict-prototypes -I../include -DLinux - DNETLINK_ISCSI=8 -c -o idbm.o idbm.c idbm.c:31:16: error: db.h: No such file or directory idbm.c:237: error: syntax error before ‘*’ token idbm.c:238: warning: function declaration isn’t a prototype idbm.c: In function ‘idbm_lock’: idbm.c:244: warning: implicit declaration of function ‘dbm_dirfno’ idbm.c:244: error: ‘dbm’ undeclared (first use in this function) idbm.c:244: error: (Each undeclared identifier is reported only once idbm.c:244: error: for each function it appears in.) idbm.c: At top level: idbm.c:251: error: syntax error before ‘*’ token idbm.c:252: warning: function declaration isn’t a prototype idbm.c: In function ‘idbm_unlock’: idbm.c:257: error: ‘dbm’ undeclared (first use in this function) idbm.c: At top level: idbm.c:422: error: syntax error before ‘*’ token idbm.c:423: warning: function declaration isn’t a prototype idbm.c: In function ‘idbm_read’: idbm.c:424: error: ‘datum’ undeclared (first use in this function) idbm.c:424: error: syntax error before ‘key’ idbm.c:426: error: ‘key’ undeclared (first use in this function) idbm.c:426: error: ‘hash’ undeclared (first use in this function) idbm.c:429: error: ‘data’ undeclared (first use in this function) idbm.c:429: warning: implicit declaration of function ‘dbm_fetch’ idbm.c:429: error: ‘dbm’ undeclared (first use in this function) idbm.c: At top level: idbm.c:439: error: syntax error before ‘*’ token idbm.c:440: warning: function declaration isn’t a prototype idbm.c: In function ‘idbm_read_with_id’: idbm.c:441: error: ‘datum’ undeclared (first use in this function) idbm.c:441: error: syntax error before ‘key’ idbm.c:443: error: ‘dbm’ undeclared (first use in this function) idbm.c:444: error: ‘key’ undeclared (first use in this function) idbm.c:444: warning: implicit declaration of function ‘dbm_firstkey’ idbm.c:444: warning: implicit declaration of function ‘dbm_nextkey’ idbm.c:445: error: ‘data’ undeclared (first use in this function) idbm.c:447: error: ‘rec_id’ undeclared (first use in this function) idbm.c: At top level: idbm.c:457: error: syntax error before ‘*’ token idbm.c:458: warning: function declaration isn’t a prototype idbm.c: In function ‘idbm_write’: idbm.c:459: error: ‘datum’ undeclared (first use in this function) idbm.c:459: error: syntax error before ‘key’ idbm.c:461: error: ‘key’ undeclared (first use in this function) idbm.c:461: error: ‘hash’ undeclared (first use in this function) idbm.c:464: error: ‘data’ undeclared (first use in this function) idbm.c:464: error: ‘rec’ undeclared (first use in this function) idbm.c:465: error: ‘size’ undeclared (first use in this function) idbm.c:467: warning: implicit declaration of function ‘dbm_store’ idbm.c:467: error: ‘dbm’ undeclared (first use in this function) idbm.c:467: error: ‘DBM_REPLACE’ undeclared (first use in this function) idbm.c: At top level: idbm.c:658: error: syntax error before ‘*’ token idbm.c:660: warning: return type defaults to ‘int’ idbm.c: In function ‘idbm_open’: idbm.c:661: error: ‘DBM’ undeclared (first use in this function) idbm.c:661: error: ‘dbm’ undeclared (first use in this function) idbm.c:683: warning: implicit declaration of function ‘dbm_open’ idbm.c: At top level: idbm.c:693: error: syntax error before ‘*’ token idbm.c:694: warning: function declaration isn’t a prototype idbm.c: In function ‘idbm_close’: idbm.c:695: warning: implicit declaration of function ‘dbm_close’ idbm.c:695: error: ‘dbm’ undeclared (first use in this function) idbm.c: In function ‘idbm_print_type’: idbm.c:736: error: ‘datum’ undeclared (first use in this function) idbm.c:736: error: syntax error before ‘key’ idbm.c:737: error: ‘DBM’ undeclared (first use in this function) idbm.c:737: error: ‘dbm’ undeclared (first use in this function) idbm.c:741: error: ‘key’ undeclared (first use in this function) idbm.c:742: error: ‘data’ undeclared (first use in this function) idbm.c: At top level: idbm.c:1006: error: syntax error before ‘*’ token idbm.c:1007: warning: function declaration isn’t a prototype idbm.c: In function ‘idbm_id2hash’: idbm.c:1008: error: ‘datum’ undeclared (first use in this function) idbm.c:1008: error: syntax error before ‘key’ idbm.c:1010: error: ‘dbm’ undeclared (first use in this function) idbm.c:1011: error: ‘key’ undeclared (first use in this function) idbm.c:1012: error: ‘data’ undeclared (first use in this function) idbm.c:1013: error: ‘rec_id’ undeclared (first use in this function) idbm.c: In function ‘idbm_print_nodes’: idbm.c:1090: error: ‘datum’ undeclared (first use in this function) idbm.c:1090: error: syntax error before ‘key’ idbm.c:1091: error: ‘DBM’ undeclared (first use in this function) idbm.c:1091: error: ‘dbm’ undeclared (first use in this function) idbm.c:1098: error: ‘key’ undeclared (first use in this function) idbm.c:1099: error: ‘data’ undeclared (first use in this function) idbm.c: In function ‘idbm_node_write’: idbm.c:1151: error: ‘DBM’ undeclared (first use in this function) idbm.c:1151: error: ‘dbm’ undeclared (first use in this function) idbm.c: In function ‘idbm_add_discovery’: idbm.c:1179: error: ‘DBM’ undeclared (first use in this function) idbm.c:1179: error: ‘dbm’ undeclared (first use in this function) idbm.c: In function ‘idbm_add_node’: idbm.c:1215: error: ‘DBM’ undeclared (first use in this function) idbm.c:1215: error: ‘dbm’ undeclared (first use in this function) idbm.c: In function ‘idbm_new_node’: idbm.c:1250: error: ‘DBM’ undeclared (first use in this function) idbm.c:1250: error: ‘dbm’ undeclared (first use in this function) idbm.c: In function ‘idbm_delete_node’: idbm.c:1414: error: ‘datum’ undeclared (first use in this function) idbm.c:1414: error: syntax error before ‘key’ idbm.c:1415: error: ‘DBM’ undeclared (first use in this function) idbm.c:1415: error: ‘dbm’ undeclared (first use in this function) idbm.c:1419: error: ‘key’ undeclared (first use in this function) idbm.c:1422: warning: implicit declaration of function ‘dbm_delete’ make[1]: *** [idbm.o] Error 1 make[1]: Leaving directory `/usr/local/src/open-iscsi-1.0-485/usr' make: *** [all] Error 2 Pls help!! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/open-iscsi -~----------~----~----~----~------~----~------~--~---