Compiling drivers/Unix/Fl_Unix_System_Driver.cxx... drivers/Unix/Fl_Unix_System_Driver.cxx: In member function `virtual int Fl_Unix_System_Driver::file_browser_load_filesystem(Fl_File_Browser*, char*, int, Fl_File_Icon*)': drivers/Unix/Fl_Unix_System_Driver.cxx:281: error: `add' was not declared in this scope drivers/Unix/Fl_Unix_System_Driver.cxx:295: error: invalid conversion from `vmount*' to `int' drivers/Unix/Fl_Unix_System_Driver.cxx:296: error: base operand of `->' is not a pointer drivers/Unix/Fl_Unix_System_Driver.cxx:303: error: base operand of `->' is not a pointer drivers/Unix/Fl_Unix_System_Driver.cxx:278: warning: unused variable 'vp' drivers/Unix/Fl_Unix_System_Driver.cxx:281: warning: unused variable 'add' gmake[1]: *** [drivers/Unix/Fl_Unix_System_Driver.o] Error 1 gmake: *** [all] Error 1 --- Fl_Unix_System_Driver.cxx.orig 2024-03-20 18:41:08 +0200 +++ Fl_Unix_System_Driver.cxx 2024-03-21 23:08:25 +0200 @@ -278,7 +278,7 @@ struct vmount *vp; // We always have the root filesystem - add("/", icon); + browser->add("/", icon); // Get the required buffer size for the vmount structures res = mntctl(MCTL_QUERY, sizeof(len), (char *) &len); if (!res) { @@ -292,7 +292,8 @@ if (0 >= res) { res = -1; } else { - for (int i = 0, vp = (struct vmount *) list; i < res; ++i) { + vp = (struct vmount *) list; + for (int i = 0; i < res; ++i) { name = (char *) vp + vp->vmt_data[VMT_STUB].vmt_off; strlcpy(filename, name, lname); // Skip the already added root filesystem