Hi, On Tue Dec 04, 2012 at 10:17:12 +0800, FU_LONG wrote: > Hi, > I am building fiasco.OC, a error occurs: > /root/l4re-snapshot-2012111623/src/kernel/fiasco/src/kern/ > tb_entry_output.cc:506:31: error: uninitialized const > ?.ipc_fmt?.[-fpermissive] > /root/l4re-snapshot-2012111623/src/kernel/fiasco/src/kern/ > tb_entry_output.cc:141:7: note: ?.onst class Tb_entry_ipc_fmt?.has no > user-provided default constructor > /root/l4re-snapshot-2012111623/src/kernel/fiasco/src/kern/ > tb_entry_output.cc:507:35: error: uninitialized const ?.ipc_res_fmt?. > [-fpermissive] > /root/l4re-snapshot-2012111623/src/kernel/fiasco/src/kern/ > tb_entry_output.cc:157:7: note: ?.onst class Tb_entry_ipc_res_fmt?.has no > user-provided default constructor > > Have you ever met this error? And is there any solution?
This is Ubuntu 11.x with gcc-4.6 right? Try this patch: --- a/src/kern/tb_entry_output.cc +++ b/src/kern/tb_entry_output.cc @@ -141,6 +141,8 @@ tag_interpreter_snprintf(char *&buf, int &maxlen, L4_msg_tag const &tag) class Tb_entry_ipc_fmt : public Tb_entry_formatter { public: + Tb_entry_ipc_fmt() : Tb_entry_formatter() {} + unsigned print(Tb_entry const *, int, char *) const { return 0; } Group_order has_partner(Tb_entry const *) const { return Tb_entry::Group_order::first(); } @@ -157,6 +159,8 @@ public: class Tb_entry_ipc_res_fmt : public Tb_entry_formatter { public: + Tb_entry_ipc_res_fmt() : Tb_entry_formatter() {} + unsigned print(Tb_entry const *, int, char *) const { return 0; } Group_order has_partner(Tb_entry const *) const { return Tb_entry::Group_order::last(); } Adam -- Adam a...@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/ _______________________________________________ l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers