Modify

Opened 8 years ago

Closed 7 years ago

#43 closed task (fixed)

make fail udev

Reported by: dmontaldo@dc.uba.ar Owned by: dennis
Priority: minor Milestone: SALI 1.6.0
Component: sali kernel/initrd Version: trunk
Keywords: debian, debian wheezy Cc:

Description

In Debian Wheezy fails to compile udev

make[1]: Entering directory `/home/dmontaldo/sali/trunk/src/udev-166'
  GEN    extras/keymap/keys-from-name.h
  GEN    extras/keymap/keys-to-name.h
make --no-print-directory all-recursive
Making all in .
  CC     extras/v4l_id/v4l_id.o
extras/v4l_id/v4l_id.c:31:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[3]: *** [extras/v4l_id/v4l_id.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/dmontaldo/sali/trunk/src/udev-166'
make: *** [/home/dmontaldo/sali/trunk/src/udev-166.build] Error 2

I think that udev is looking for
/usr/include/linux/videodev.h provided by linux-libc-dev
http://packages.debian.org/squeeze/amd64/linux-libc-dev/filelist

But in wheezy only exists the /usr/include/linux/videodev2.h
http://packages.debian.org/wheezy/amd64/linux-libc-dev/filelist

Thanks.

Attachments (0)

Change History (6)

comment:1 follow-up: Changed 8 years ago by dmontaldo@dc.uba.ar

udev compile whit a newer version:

# svn diff initrd/make.d/udev.rul
Index: initrd/make.d/udev.rul
===================================================================
--- initrd/make.d/udev.rul      (revision 511)
+++ initrd/make.d/udev.rul      (working copy)
@@ -2,12 +2,12 @@
 #  vi: set filetype=make:
 #
 
-UDEV_VERSION   = 166
+UDEV_VERSION   = 174
 UDEV_TARBALL   = udev-$(UDEV_VERSION).tar.bz2
 UDEV_DIR       = $(SRC_DIR)/udev-$(UDEV_VERSION)
 
 #### http://www.kernel.org/pub/linux/utils/kernel/hotplug/ ####
-UDEV_URL       = ftp://ftp.sara.nl/pub/sali/sources/
+UDEV_URL       = ftp://www.kernel.org/pub/linux/utils/kernel/hotplug/
 UDEV_INFO      = http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
 
 UDEV_CONFIGURE_DEFAULT = --prefix=/usr --sysconfdir=/etc --sbindir=/sbin --libdir=/lib --with-rootlibdir=/lib --libexecdir=/lib/udev --disable-introspection

comment:2 in reply to: ↑ 1 ; follow-up: Changed 8 years ago by dennis

  • Component changed from sali to sali kernel/initrd
  • Owner changed from somebody to dennis
  • Priority changed from blocker to minor
  • Status changed from new to accepted
  • Type changed from defect to task

Replying to dmontaldo@…:

udev compile whit a newer version:

# svn diff initrd/make.d/udev.rul
Index: initrd/make.d/udev.rul
===================================================================
--- initrd/make.d/udev.rul      (revision 511)
+++ initrd/make.d/udev.rul      (working copy)
@@ -2,12 +2,12 @@
 #  vi: set filetype=make:
 #
 
-UDEV_VERSION   = 166
+UDEV_VERSION   = 174
 UDEV_TARBALL   = udev-$(UDEV_VERSION).tar.bz2
 UDEV_DIR       = $(SRC_DIR)/udev-$(UDEV_VERSION)
 
 #### http://www.kernel.org/pub/linux/utils/kernel/hotplug/ ####
-UDEV_URL       = ftp://ftp.sara.nl/pub/sali/sources/
+UDEV_URL       = ftp://www.kernel.org/pub/linux/utils/kernel/hotplug/
 UDEV_INFO      = http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
 
 UDEV_CONFIGURE_DEFAULT = --prefix=/usr --sysconfdir=/etc --sbindir=/sbin --libdir=/lib --with-rootlibdir=/lib --libexecdir=/lib/udev --disable-introspection

Reason for sticking with udev-166 is that the new versions of udev require kernel 2.6.34 or greater (at least for version 174). And the current stable debian release has kernel version 2.6.32. As the same with #42 and #44, we will update to the new udev version when we switch to wheezy for building SALI.

Meanwhile you can download the already compiled version of SALI. You can grab the last version from ftp://ftp.sara.nl/pub/sali

Last edited 8 years ago by dennis (previous) (diff)

comment:3 in reply to: ↑ 2 Changed 8 years ago by dmontaldo@dc.uba.ar

Replying to dennis:

Reason for sticking with udev-166 is that the new versions of udev require kernel 2.6.34 or greater (at least for version 174). And the current stable debian release has kernel version 2.6.32. As the same with #42 and #44, we will update to the new udev version when we switch to wheezy for building SALI.

I see, everything has to be upgraded at the same time.
Thanks to your time.

Meanwhile you can download the already compiled version of SALI. You can grab the last version from ftp://ftp.sara.nl/pub/sali

I started trying that binaries again.
Thanks.

comment:4 Changed 8 years ago by dennis

  • Milestone set to SALI 1.6.0

comment:5 Changed 7 years ago by dennis

This has been fixed in the current trunk version, which will be released as version 1.6.0

comment:6 Changed 7 years ago by dennis

  • Resolution set to fixed
  • Status changed from accepted to closed

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain dennis.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.