Mailinglist Archive: opensuse-packaging (150 mails)

< Previous Next >
Re: [opensuse-packaging] [gspcav1-20071224] - error: asm/semaphore.h: No such file or directory'
  • From: "Srinidhi B" <srinidhi@xxxxxxxxxx>
  • Date: Thu, 22 Oct 2009 06:38:24 -0600
  • Message-id: <4ADFFDE0020000550008F1DB@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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, doiggl@xxxxxxxxxxxxxxxxxx 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: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >