Re: [opensuse] usbdevice_fs.h & compiler.h
- From: Dave Howorth <dhoworth@xxxxxxxxxxxxxxxxx>
- Date: Tue, 18 Sep 2007 13:09:58 +0100
Very late on Friday night, I sent the following to the list but didn't
get any answers. It probably wasn't the best time to ask a question like
this :) So I thought I'd try one more time to see if anybody knew
anything or can point me to a better place to find out.
Thanks, Dave
Dave Howorth wrote:
I have an application (ftpd-topfield) that worked on Suse 9.3. I'm
trying to compile the current version on Suse 10.2 but it's failing:
/usr/include/linux/usbdevice_fs.h:49: error: expected ':', ',', ';', '}'
or '__attribute__' before '*' token
Line 49 is: void __user *data;
The application is including usbdevice_fs.h but it doesn't compile
because the __user macro isn't defined. That macro is defined in
linux/compiler.h. So something should be including that but isn't. The
question is, what should include compiler.h?
Last year Johannes Meixner said that it should be included by an
application (hplip) on Suse 10.1:
<http://lists.opensuse.org/opensuse/2006-06/msg02208.html>
But I gather that in some current systems, the include is done by
usbdevice_fs.h itself.
(Later addition. Comments like this:
Your distro should use David Woodhouse's userspace kernel headers which
is the official distribution for kernel headers now btw and which does
not have this problem.)
I'm wondering what the current Suse viewpoint is?
Should I file a bug against the application or should I modify
usbdevice_fs.h? I can't find anything on Novell bugzilla against
usbdevice_fs.h.
Thanks and regards,
Dave
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] usbdevice_fs.h & compiler.h
- From: Dave Howorth
- [opensuse] usbdevice_fs.h & compiler.h
- Prev by Date: [opensuse] ThinkPad X-61 wireless no connect
- Next by Date: Re: [opensuse] openoffice java
- Previous by thread: [opensuse] usbdevice_fs.h & compiler.h
- Next by thread: [opensuse] ftp.gwdg.de & zypper problem
- Index(es):
Relevant Pages
|