https://bugzilla.novell.com/show_bug.cgi?id=230698
Summary: user space programs fail compiling when including
Product: openSUSE 10.2
Version: Final
Platform: Other
OS/Version: SuSE Other
Status: NEW
Severity: Blocker
Priority: P5 - None
Component: Development
AssignedTo: pth@novell.com
ReportedBy: rnissl@gmx.de
QAContact: qa@suse.de
See the following excerpt of /usr/include/asm/bitops.h:
static inline int fls(int x)
{
int r;
__asm__("bsrl %1,%0\n\t"
"jnz 1f\n\t"
"movl $-1,%0\n"
"1:" : "=r" (r) : "rm" (x));
return r+1;
}
#include
#endif /* __KERNEL__ */
#include
#ifdef __KERNEL__
#include
The file fls64.h gets included always and relies on a method fls() which is
only defined in the case __KERNEL__.
I'd suggest removing the #endif and #ifdef line of the above excerpt.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.