devfsd.spec z kernelm 2.6

Jakub Bogusz qboosh w pld-linux.org
Pią, 2 Lip 2004, 12:30:25 CEST


On Fri, Jul 02, 2004 at 12:22:46PM +0200, Arkadiusz Patyk wrote:
> Witam
> 
> Nie bardzo chce się zbudować:
> + /usr/bin/make CC=i686-pld-linux-gcc CEXTRAS=-O2 -march=i686 -ggdb -I.
> i686-pld-linux-gcc -I. -I/usr/src/linux/include -Wall -O2 -march=i686
> -ggdb -I.  -DLIBNSL="\"/lib/libnsl.so.1\""   -c -o devfsd.o devfsd.c
> devfsd.c: In function `read_config_file':
> devfsd.c:758: error: `ENOENT' undeclared (first use in this function)
> devfsd.c:758: error: (Each undeclared identifier is reported only once
> devfsd.c:758: error: for each function it appears in.)
> devfsd.c: In function `do_servicing':
> devfsd.c:1066: error: `EINTR' undeclared (first use in this function)
> devfsd.c: In function `mksymlink':
> devfsd.c:1987: error: `EEXIST' undeclared (first use in this function)
> make: *** [devfsd.o] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.33757 (%build)
> 
> ENOENT jest w 
> /usr/include/linux/errno.h:#define      ENOENT           2      /* No
> such file or directory */
> 
> ale devfsd bierze includuje /usr/src/linux/include
> 
> Jak to poprawnie fixsnąc ?

Spróbować zacząć od wywalenia tego -I/usr/src/linux/include.
Pakiet nie ma BR: kernel-headers, więc nie ma prawa tam sięgać.


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




Więcej informacji o liście dyskusyjnej pld-devel-pl