[gspcav1-20071224] - error: asm/semaphore.h: No such file or directory'

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[gspcav1-20071224] - error: asm/semaphore.h: No such file or directory'

doiggl
Hello,
In the following log I see the line
'/usr/src/packages/BUILD/gspcav1-20071224/obj/debug/gspca_core.c:54:27:
error: asm/semaphore.h: No such file or directory'

What else is needed in the in the specfile to resolve this error and some
others near the end of the log ?

Am I missing anything else so this can build ?

Full log ->
https://build.opensuse.org/package/live_build_log?arch=x86_64&package=gspcav1-20071224&project=home%3Adoiggl&repository=openSUSE_Factory

Spec file ->
https://build.opensuse.org/package/view_file?file=gspcav1-kmp.spec&package=gspcav1-20071224&project=home%3Adoiggl

Project ->
https://build.opensuse.org/package/show?package=gspcav1-20071224&project=home%3Adoiggl

Thanks Glenn
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [gspcav1-20071224] - error: asm/semaphore.h: No such file or directory'

Marcus Meissner
On Thu, Oct 22, 2009 at 04:54:14PM +1100, [hidden email] wrote:
> Hello,
> In the following log I see the line
> '/usr/src/packages/BUILD/gspcav1-20071224/obj/debug/gspca_core.c:54:27:
> error: asm/semaphore.h: No such file or directory'
>
> What else is needed in the in the specfile to resolve this error and some
> others near the end of the log ?

The kernel devel files.
kernel-default-devel e.g.?
 
> Am I missing anything else so this can build ?

Why do you need to build it, this cameras are supported in the mainline
kernel these days?

Ciao, Marcus
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [gspcav1-20071224] - error: asm/semaphore.h: No such file or directory'

Michal Marek
Dne 22.10.2009 08:55, Marcus Meissner napsal(a):

> On Thu, Oct 22, 2009 at 04:54:14PM +1100, [hidden email] wrote:
>> Hello,
>> In the following log I see the line
>> '/usr/src/packages/BUILD/gspcav1-20071224/obj/debug/gspca_core.c:54:27:
>> error: asm/semaphore.h: No such file or directory'
>>
>> What else is needed in the in the specfile to resolve this error and some
>> others near the end of the log ?
>
> The kernel devel files.
> kernel-default-devel e.g.?

Won't help, asm/semaphore.h is gone since 2.6.27.

Michal
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [gspcav1-20071224] - error: asm/semaphore.h: No such file or directory'

Srinidhi B
On Thu, 2009-10-22 at 13:44 +0200, Michal Marek wrote:

> Dne 22.10.2009 08:55, Marcus Meissner napsal(a):
> > On Thu, Oct 22, 2009 at 04:54:14PM +1100, [hidden email] wrote:
> >> Hello,
> >> In the following log I see the line
> >> '/usr/src/packages/BUILD/gspcav1-20071224/obj/debug/gspca_core.c:54:27:
> >> error: asm/semaphore.h: No such file or directory'
> >>
> >> What else is needed in the in the specfile to resolve this error and some
> >> others near the end of the log ?
> >
> > The kernel devel files.
> > kernel-default-devel e.g.?
>
> Won't help, asm/semaphore.h is gone since 2.6.27.
>

Yes. According to:

        https://kerneltrap.org/mailarchive/linux-kernel/2008/2/28/1010394

it has been moved to linux/semaphore.h. You'll have to patch the sources
to use this new location.

Srinidhi.

--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]