All of lore.kernel.org
 help / color / mirror / Atom feed
* compiling udev 141 on linux 2.4
@ 2009-04-23 21:27 Gabor Z. Papp
  2009-04-23 22:10 ` Kay Sievers
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Gabor Z. Papp @ 2009-04-23 21:27 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

I would like to compile udev 141 on the following environment, but getting
the attached error.

[kernel]
Linux gzpLinux 2.4.37 #1 Tue Dec 2 19:24:20 CET 2008 i686 GNU/Linux

[glibc]
GNU C Library stable release version 2.3.6, by Roland McGrath et al.
Compiled by GNU CC version 4.1.2.
Compiled on a Linux 2.4.34-gzp1 system on 2007-04-04.

[gcc]
gcc (GCC) 4.3.3

[binutils]
GNU ld (Linux/GNU Binutils) 2.19.51.0.4.20090418

[-- Attachment #2: log.make --]
[-- Type: application/octet-stream, Size: 6534 bytes --]

make  all-recursive
make[1]: Entering directory `/home/gzp/src/udev-141'
Making all in udev
make[2]: Entering directory `/home/gzp/src/udev-141/udev'
Making all in lib
make[3]: Entering directory `/home/gzp/src/udev-141/udev/lib'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -include ../../config.h -DSYSCONFDIR=\""/etc"\" -DUDEV_PREFIX=\"""\" -D_LIBUDEV_COMPILATION   -g -O2 -MT libudev.lo -MD -MP -MF .deps/libudev.Tpo -c -o libudev.lo libudev.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -DSYSCONFDIR=\"/etc\" -DUDEV_PREFIX=\"\" -D_LIBUDEV_COMPILATION -g -O2 -MT libudev.lo -MD -MP -MF .deps/libudev.Tpo -c libudev.c  -fPIC -DPIC -o .libs/libudev.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -DSYSCONFDIR=\"/etc\" -DUDEV_PREFIX=\"\" -D_LIBUDEV_COMPILATION -g -O2 -MT libudev.lo -MD -MP -MF .deps/libudev.Tpo -c libudev.c -o libudev.o >/dev/null 2>&1
mv -f .deps/libudev.Tpo .deps/libudev.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -include ../../config.h -DSYSCONFDIR=\""/etc"\" -DUDEV_PREFIX=\"""\" -D_LIBUDEV_COMPILATION   -g -O2 -MT libudev-list.lo -MD -MP -MF .deps/libudev-list.Tpo -c -o libudev-list.lo libudev-list.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -DSYSCONFDIR=\"/etc\" -DUDEV_PREFIX=\"\" -D_LIBUDEV_COMPILATION -g -O2 -MT libudev-list.lo -MD -MP -MF .deps/libudev-list.Tpo -c libudev-list.c  -fPIC -DPIC -o .libs/libudev-list.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -DSYSCONFDIR=\"/etc\" -DUDEV_PREFIX=\"\" -D_LIBUDEV_COMPILATION -g -O2 -MT libudev-list.lo -MD -MP -MF .deps/libudev-list.Tpo -c libudev-list.c -o libudev-list.o >/dev/null 2>&1
mv -f .deps/libudev-list.Tpo .deps/libudev-list.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -include ../../config.h -DSYSCONFDIR=\""/etc"\" -DUDEV_PREFIX=\"""\" -D_LIBUDEV_COMPILATION   -g -O2 -MT libudev-util.lo -MD -MP -MF .deps/libudev-util.Tpo -c -o libudev-util.lo libudev-util.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -DSYSCONFDIR=\"/etc\" -DUDEV_PREFIX=\"\" -D_LIBUDEV_COMPILATION -g -O2 -MT libudev-util.lo -MD -MP -MF .deps/libudev-util.Tpo -c libudev-util.c  -fPIC -DPIC -o .libs/libudev-util.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -DSYSCONFDIR=\"/etc\" -DUDEV_PREFIX=\"\" -D_LIBUDEV_COMPILATION -g -O2 -MT libudev-util.lo -MD -MP -MF .deps/libudev-util.Tpo -c libudev-util.c -o libudev-util.o >/dev/null 2>&1
mv -f .deps/libudev-util.Tpo .deps/libudev-util.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -include ../../config.h -DSYSCONFDIR=\""/etc"\" -DUDEV_PREFIX=\"""\" -D_LIBUDEV_COMPILATION   -g -O2 -MT libudev-device.lo -MD -MP -MF .deps/libudev-device.Tpo -c -o libudev-device.lo libudev-device.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -DSYSCONFDIR=\"/etc\" -DUDEV_PREFIX=\"\" -D_LIBUDEV_COMPILATION -g -O2 -MT libudev-device.lo -MD -MP -MF .deps/libudev-device.Tpo -c libudev-device.c  -fPIC -DPIC -o .libs/libudev-device.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -DSYSCONFDIR=\"/etc\" -DUDEV_PREFIX=\"\" -D_LIBUDEV_COMPILATION -g -O2 -MT libudev-device.lo -MD -MP -MF .deps/libudev-device.Tpo -c libudev-device.c -o libudev-device.o >/dev/null 2>&1
mv -f .deps/libudev-device.Tpo .deps/libudev-device.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -include ../../config.h -DSYSCONFDIR=\""/etc"\" -DUDEV_PREFIX=\"""\" -D_LIBUDEV_COMPILATION   -g -O2 -MT libudev-enumerate.lo -MD -MP -MF .deps/libudev-enumerate.Tpo -c -o libudev-enumerate.lo libudev-enumerate.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -DSYSCONFDIR=\"/etc\" -DUDEV_PREFIX=\"\" -D_LIBUDEV_COMPILATION -g -O2 -MT libudev-enumerate.lo -MD -MP -MF .deps/libudev-enumerate.Tpo -c libudev-enumerate.c  -fPIC -DPIC -o .libs/libudev-enumerate.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -DSYSCONFDIR=\"/etc\" -DUDEV_PREFIX=\"\" -D_LIBUDEV_COMPILATION -g -O2 -MT libudev-enumerate.lo -MD -MP -MF .deps/libudev-enumerate.Tpo -c libudev-enumerate.c -o libudev-enumerate.o >/dev/null 2>&1
mv -f .deps/libudev-enumerate.Tpo .deps/libudev-enumerate.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -include ../../config.h -DSYSCONFDIR=\""/etc"\" -DUDEV_PREFIX=\"""\" -D_LIBUDEV_COMPILATION   -g -O2 -MT libudev-monitor.lo -MD -MP -MF .deps/libudev-monitor.Tpo -c -o libudev-monitor.lo libudev-monitor.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -DSYSCONFDIR=\"/etc\" -DUDEV_PREFIX=\"\" -D_LIBUDEV_COMPILATION -g -O2 -MT libudev-monitor.lo -MD -MP -MF .deps/libudev-monitor.Tpo -c libudev-monitor.c  -fPIC -DPIC -o .libs/libudev-monitor.o
In file included from libudev-monitor.c:22:
/usr/include/linux/netlink.h:22: error: expected specifier-qualifier-list before '__u32'
/usr/include/linux/netlink.h:28: error: expected specifier-qualifier-list before '__u32'
libudev-monitor.c: In function 'udev_monitor_new_from_netlink':
libudev-monitor.c:124: error: 'NETLINK_KOBJECT_UEVENT' undeclared (first use in this function)
libudev-monitor.c:124: error: (Each undeclared identifier is reported only once
libudev-monitor.c:124: error: for each function it appears in.)
libudev-monitor.c:133: error: 'struct sockaddr_nl' has no member named 'nl_groups'
libudev-monitor.c:135: error: 'struct sockaddr_nl' has no member named 'nl_groups'
libudev-monitor.c: In function 'udev_monitor_set_receive_buffer_size':
libudev-monitor.c:169: error: 'SO_RCVBUFFORCE' undeclared (first use in this function)
libudev-monitor.c: In function 'udev_monitor_receive_device':
libudev-monitor.c:296: error: 'struct sockaddr_nl' has no member named 'nl_groups'
libudev-monitor.c:300: error: 'struct sockaddr_nl' has no member named 'nl_groups'
libudev-monitor.c:300: error: 'struct sockaddr_nl' has no member named 'nl_pid'
libudev-monitor.c:301: error: 'struct sockaddr_nl' has no member named 'nl_pid'
make[3]: *** [libudev-monitor.lo] Error 1
make[3]: Leaving directory `/home/gzp/src/udev-141/udev/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gzp/src/udev-141/udev'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gzp/src/udev-141'
make: *** [all] Error 2

[-- Attachment #3: log.configure --]
[-- Type: application/octet-stream, Size: 4803 bytes --]

checking for a BSD-compatible install... /pkg/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /pkg/bin/ld
checking if the linker (/pkg/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /pkg/bin/nm -B
checking the name lister (/pkg/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 32768
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /pkg/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /pkg/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/pkg/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for xsltproc... /pkg/bin/xsltproc
checking for inotify_init in -lc... no
configure: WARNING: inotify support disabled
configure: creating ./config.status
config.status: creating Makefile
config.status: creating udev/Makefile
config.status: creating udev/lib/Makefile
config.status: creating udev/lib/libudev.pc
config.status: creating rules/Makefile
config.status: creating extras/Makefile
config.status: creating extras/ata_id/Makefile
config.status: creating extras/cdrom_id/Makefile
config.status: creating extras/edd_id/Makefile
config.status: creating extras/path_id/Makefile
config.status: creating extras/firmware/Makefile
config.status: creating extras/collect/Makefile
config.status: creating extras/floppy/Makefile
config.status: creating extras/fstab_import/Makefile
config.status: creating extras/rule_generator/Makefile
config.status: creating extras/scsi_id/Makefile
config.status: creating extras/usb_id/Makefile
config.status: creating extras/volume_id/Makefile
config.status: creating extras/volume_id/lib/Makefile
config.status: creating extras/volume_id/lib/libvolume_id.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

	udev 141
	========

	prefix:			/usr
	exec_prefix:		
	udev_prefix:		${exec_prefix}
	libdir_name:		lib
	datarootdir:		${prefix}/share
	mandir:			${datarootdir}/man
	includedir:		${prefix}/include

	logging:		yes
	debug:			no
	selinux:		no

	compiler:		gcc
	cflags:			-g -O2
	ldflags:		

	xsltproc:		/pkg/bin/xsltproc


[-- Attachment #4: config.h --]
[-- Type: text/x-c, Size: 3022 bytes --]

/* config.h.  Generated from config.h.in by configure.  */
/* config.h.in.  Generated from configure.ac by autoheader.  */

/* Compile in debug messages */
/* #undef DEBUG */

/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1

/* inotify available */
/* #undef HAVE_INOTIFY */

/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Define to 1 if you have the `selinux' library (-lselinux). */
/* #undef HAVE_LIBSELINUX */

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* Define to the sub-directory in which libtool stores uninstalled libraries.
   */
#define LT_OBJDIR ".libs/"

/* Name of package */
#define PACKAGE "udev"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "linux-hotplug@vger.kernel.org"

/* Define to the full name of this package. */
#define PACKAGE_NAME "udev"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "udev 141"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "udev"

/* Define to the version of this package. */
#define PACKAGE_VERSION "141"

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* Use logging/syslog */
#define USE_LOG 1

/* compile with SELinux support */
/* #undef USE_SELINUX */

/* Enable extensions on AIX 3, Interix.  */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
#endif
/* Enable GNU extensions on systems that have them.  */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif
/* Enable threading extensions on Solaris.  */
#ifndef _POSIX_PTHREAD_SEMANTICS
# define _POSIX_PTHREAD_SEMANTICS 1
#endif
/* Enable extensions on HP NonStop.  */
#ifndef _TANDEM_SOURCE
# define _TANDEM_SOURCE 1
#endif
/* Enable general extensions on Solaris.  */
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif


/* Version number of package */
#define VERSION "141"

/* Number of bits in a file offset, on hosts where this is settable. */
#define _FILE_OFFSET_BITS 64

/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */

/* Define to 1 if on MINIX. */
/* #undef _MINIX */

/* Define to 2 if the system does not provide POSIX.1 features except with
   this defined. */
/* #undef _POSIX_1_SOURCE */

/* Define to 1 if you need to in order for `stat' and other things to work. */
/* #undef _POSIX_SOURCE */

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compiling udev 141 on linux 2.4
  2009-04-23 21:27 compiling udev 141 on linux 2.4 Gabor Z. Papp
@ 2009-04-23 22:10 ` Kay Sievers
  2009-04-23 22:14 ` Gabor Z. Papp
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Kay Sievers @ 2009-04-23 22:10 UTC (permalink / raw)
  To: linux-hotplug

On Thu, Apr 23, 2009 at 23:27, Gabor Z. Papp <gzp@papp.hu> wrote:
> I would like to compile udev 141 on the following environment, but getting
> the attached error.
>
> [kernel]
> Linux gzpLinux 2.4.37 #1 Tue Dec 2 19:24:20 CET 2008 i686 GNU/Linux

Oh, what do you want with udev in that environment, it depends on
sysfs and uevents wich are only in 2.6 kernels.

Your kernel headers are too old, you need recent headers to compile it.

Maybe you can copy netlink.h from more recent package, never tried that.

Or maybe just adding #include <linux/types.h> may make most of the
warnings go away, and NETLINK_KOBJECT_UEVENT you can define to 15, if
that still fails.

Good luck,
Kay

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compiling udev 141 on linux 2.4
  2009-04-23 21:27 compiling udev 141 on linux 2.4 Gabor Z. Papp
  2009-04-23 22:10 ` Kay Sievers
@ 2009-04-23 22:14 ` Gabor Z. Papp
  2009-04-23 22:19 ` Kay Sievers
  2009-04-29 18:39 ` Gabor Z. Papp
  3 siblings, 0 replies; 5+ messages in thread
From: Gabor Z. Papp @ 2009-04-23 22:14 UTC (permalink / raw)
  To: linux-hotplug

* Kay Sievers <kay.sievers@vrfy.org>:

| > Linux gzpLinux 2.4.37 #1 Tue Dec 2 19:24:20 CET 2008 i686 GNU/Linux

| Oh, what do you want with udev in that environment, it depends on
| sysfs and uevents wich are only in 2.6 kernels.

Chicken and egg, you know...

Switching from kernel 2.4 to 2.6 requires recent glibc. Recent glibc
requires 2.6 kernel. 2.6 kernel requires udev. Sure, I could download
some binary stuff from a distro, and try if it works, but old udev is
outdated, new 2.6 requires new udev, but new udev binary runs on new
glibc only. Problems everywhere. :-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compiling udev 141 on linux 2.4
  2009-04-23 21:27 compiling udev 141 on linux 2.4 Gabor Z. Papp
  2009-04-23 22:10 ` Kay Sievers
  2009-04-23 22:14 ` Gabor Z. Papp
@ 2009-04-23 22:19 ` Kay Sievers
  2009-04-29 18:39 ` Gabor Z. Papp
  3 siblings, 0 replies; 5+ messages in thread
From: Kay Sievers @ 2009-04-23 22:19 UTC (permalink / raw)
  To: linux-hotplug

On Fri, Apr 24, 2009 at 00:14, Gabor Z. Papp <gzp@papp.hu> wrote:
> * Kay Sievers <kay.sievers@vrfy.org>:
>
> | > Linux gzpLinux 2.4.37 #1 Tue Dec 2 19:24:20 CET 2008 i686 GNU/Linux
>
> | Oh, what do you want with udev in that environment, it depends on
> | sysfs and uevents wich are only in 2.6 kernels.
>
> Chicken and egg, you know...

You can run 2.6 without udev just fine, if you don't need to do fancy
stuff. Especially coming from 2.4, there should be no problem to run a
2.6 kernel with a static /dev and add udev later ...

Kay

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compiling udev 141 on linux 2.4
  2009-04-23 21:27 compiling udev 141 on linux 2.4 Gabor Z. Papp
                   ` (2 preceding siblings ...)
  2009-04-23 22:19 ` Kay Sievers
@ 2009-04-29 18:39 ` Gabor Z. Papp
  3 siblings, 0 replies; 5+ messages in thread
From: Gabor Z. Papp @ 2009-04-29 18:39 UTC (permalink / raw)
  To: linux-hotplug

* Kay Sievers <kay.sievers@vrfy.org>:

| Maybe you can copy netlink.h from more recent package, never tried
| that.

Done.

| Or maybe just adding #include <linux/types.h> may make most of the
| warnings go away, and NETLINK_KOBJECT_UEVENT you can define to 15, if
| that still fails.

libudev-monitor.c: In function 'udev_monitor_set_receive_buffer_size':
libudev-monitor.c:170: error: 'SO_RCVBUFFORCE' undeclared (first use in this function)

Is this ok? #define SO_RCVBUFFORCE        33

udev-watch.o: In function `udev_watch_end':
/home/gzp/src/udev-141/udev/udev-watch.c:157: undefined reference to `inotify_rm_watch'

Solved with:

#ifdef HAVE_INOTIFY
        inotify_rm_watch(inotify_fd, wd);
#endif

udevd.c: In function 'handle_inotify':
udevd.c:549: error: invalid application of 'sizeof' to incomplete type 'struct inotify_event' 
udevd.c:549: error: dereferencing pointer to incomplete type
udevd.c:553: error: dereferencing pointer to incomplete type
udevd.c:554: error: dereferencing pointer to incomplete type
udevd.c:554: error: dereferencing pointer to incomplete type
udevd.c:559: error: dereferencing pointer to incomplete type
udevd.c:561: error: dereferencing pointer to incomplete type
udevd.c:562: error: dereferencing pointer to incomplete type
udevd.c:574: error: dereferencing pointer to incomplete type
udevd.c:574: error: 'IN_IGNORED' undeclared (first use in this function)

udevd.c:574: error: 'IN_IGNORED' undeclared solved with:

#define IN_IGNORED              0x00008000

but what about udevd.c:549: error: invalid application of 'sizeof' to incomplete type 'struct inotify_event'?
Its ok to put the whole 'handle_inotify' into #ifdef HAVE_INOTIFY?

If yes, next error:

udevd.o: In function `main':
/home/gzp/src/udev-141/udev/udevd.c:981: undefined reference to `ppoll'
/home/gzp/src/udev-141/udev/udevd.c:1012: undefined reference to `handle_inotify'

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-29 18:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-23 21:27 compiling udev 141 on linux 2.4 Gabor Z. Papp
2009-04-23 22:10 ` Kay Sievers
2009-04-23 22:14 ` Gabor Z. Papp
2009-04-23 22:19 ` Kay Sievers
2009-04-29 18:39 ` Gabor Z. Papp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.