* compiling futex-2.2
@ 2003-10-03 3:29 Chris Friesen
2003-10-03 4:28 ` Chris Friesen
0 siblings, 1 reply; 2+ messages in thread
From: Chris Friesen @ 2003-10-03 3:29 UTC (permalink / raw)
To: linux-kernel; +Cc: rusty
I tried downloading and compiling the futex-2.2 package, and ran into
some snags.
The linux/futex.h file uses a number of nonstandard data types but does
not itself include any other headers. IN addition, the "u32" data type
is problematic, since it is only defined in the kernel headers if
__KERNEL__ is defined. Perhaps it should be defined as "__u32"?
Also, there is a definition of sys_futex in the package headers that
does not match the definition in the latest kernel headers. Any plans
to update the package?
Chris
--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: compiling futex-2.2
2003-10-03 3:29 compiling futex-2.2 Chris Friesen
@ 2003-10-03 4:28 ` Chris Friesen
0 siblings, 0 replies; 2+ messages in thread
From: Chris Friesen @ 2003-10-03 4:28 UTC (permalink / raw)
To: Christopher Friesen; +Cc: linux-kernel, rusty
Friesen, Christopher [CAR:7Q26:EXCH] wrote:
As an alternate fix I tried wrapping the two function declarations with
"ifdef __KERNEL__", and added the missing parm to the syscall in the
futex library. This seemed to work, so maybe this would be cleaner?
Chris
--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-03 4:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-03 3:29 compiling futex-2.2 Chris Friesen
2003-10-03 4:28 ` Chris Friesen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox