Hi Tomo, I noticed that a "make FCOE=1" didn't work anymore, probably because it is not maintained and adapted for any changes. Anyway, the fix is easy and I've made a simple patch to do just that. In order to compile (just compile, don't know if the code still works) some files need an #include "tgtd.h", to fix an error on the external parameter is_debug. Cheers, Albert ------------------------ Fix a compile error in the fcoe code, where is_debug is not externally defined Signed-Off-By: Albert Pauw <albert.pauw at gmail.com> --- --- usr/fcoe/fc_disc_targ.c 2010-07-31 09:34:16.454982333 +0200 +++ ../tmp/fc_disc_targ.c 2010-07-31 09:32:40.691088294 +0200 @@ -39,6 +39,8 @@ #include "sa_timer.h" #include "sa_event.h" +#include "tgtd.h" + #include "fc_encaps.h" #include "fc_fs.h" #include "fc_els.h" --- usr/fcoe/fc_exch.c 2010-07-31 09:34:16.455972485 +0200 +++ ../tmp/fc_exch.c 2010-07-31 09:32:55.016972938 +0200 @@ -37,6 +37,8 @@ #include "sa_hash.h" #include "sa_timer.h" +#include "tgtd.h" + #include "fc_fcip.h" #include "fc_fc2.h" #include "fc_fs.h" --- usr/fcoe/fc_local_port.c 2010-07-31 09:34:16.457971996 +0200 +++ ../tmp/fc_local_port.c 2010-07-31 09:33:01.069973174 +0200 @@ -39,6 +39,8 @@ #include "sa_hash.h" #include "sa_state.h" +#include "tgtd.h" + #include "fc_fs.h" #include "fc_gs.h" #include "fc_ns.h" --- usr/fcoe/fcoe_dev.c 2010-07-31 09:34:16.459972275 +0200 +++ ../tmp/fcoe_dev.c 2010-07-31 09:33:07.866350687 +0200 @@ -33,6 +33,8 @@ #include "log.h" #include "util.h" +#include "tgtd.h" + #include "fc_types.h" #include "fc_frame.h" #include "fc_encaps.h" --- usr/fcoe/fc_sess.c 2010-07-31 09:34:16.458971926 +0200 +++ ../tmp/fc_sess.c 2010-07-31 09:33:20.579973184 +0200 @@ -43,6 +43,8 @@ #include "sa_hash.h" #include "sa_state.h" +#include "tgtd.h" + #include "fc_fs.h" #include "fc_els.h" #include "fc_ils.h" --- usr/fcoe/fcs_state.c 2010-07-31 09:34:16.459972275 +0200 +++ ../tmp/fcs_state.c 2010-07-31 09:33:27.922075172 +0200 @@ -28,6 +28,8 @@ #include "log.h" #include "util.h" +#include "tgtd.h" + #include "fc_types.h" #include "fc_frame.h" #include "fc_port.h" --- usr/fcoe/sa_state.c 2010-07-31 09:34:16.461971996 +0200 +++ ../tmp/sa_state.c 2010-07-31 09:33:33.641008153 +0200 @@ -29,6 +29,8 @@ #include "log.h" #include "util.h" +#include "tgtd.h" + #include "sa_state.h" /* -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html |