Why do I get errors (such as implicit mutex_lock) when I try to compile GFS?
Sometime after 2.6.15, the upstream kernel changed from using the semaphores (i_sem) within the VFS layer to using mutexes (i_mutex). If your Linux distribution is running an older kernel, you may not be able to compile GFS. Your choices are: (1) upgrade your kernel to a newer one, or (2) downgrade your GFS or change the source code so that it uses semaphores like before. Older versions are available from CVS. Because this is an open-source project, it’s constantly evolving, as does the Linux kernel. Compile problems are to be expected (and usually easily overcome) unless you are compiling against the exact same kernel the developers happen to be using at the time.
Related Questions
- I just upgraded from CA-Telon 2.3 and now when I try to import or generate, I get lots of errors, including numerous severity-16 TLMSCR17 - INVALID OUTATTR VALUE "" SPECIFIED MNOTEs. Whats wrong?
- When I try to compile the classes in gnu.regexp.util, I get errors saying gnu.getopt.Getopt and gnu.getopt.LongOpt cannot be found. Are they missing from the distribution?
- Why do I get errors (such as implicit mutex_lock) when I try to compile GFS?