aMule Forum

English => en_Bugs => Topic started by: fctk on November 27, 2004, 01:49:55 PM

Title: latest cvs (2004.11.27) doesn't compile
Post by: fctk on November 27, 2004, 01:49:55 PM
Code: [Select]
/bin/sh ../../../mkinstalldirs /usr/local/lib/xchat/plugins
 /bin/install -c -m 644 xas.pl /usr/local/lib/xchat/plugins/xas.pl
make[5]: Leaving directory `/home/fctk/amule-related/amule-cvs/src/utils/xas'
make[4]: Leaving directory `/home/fctk/amule-related/amule-cvs/src/utils/xas'
Making install in cas
make[4]: Entering directory `/home/fctk/amule-related/amule-cvs/src/utils/cas'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/include -D__GD__ -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT cas-functions.o -MD -MP -MF ".deps/cas-functions.Tpo" \
  -c -o cas-functions.o `test -f 'functions.c' || echo './'`functions.c; \
then mv -f ".deps/cas-functions.Tpo" ".deps/cas-functions.Po"; \
else rm -f ".deps/cas-functions.Tpo"; exit 1; \
fi
In file included from /usr/include/errno.h:36,
                 from functions.c:31:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
functions.c: In function `convbytes':
functions.c:144: error: `ERANGE' undeclared (first use in this function)
functions.c:144: error: (Each undeclared identifier is reported only once
functions.c:144: error: for each function it appears in.)
make[4]: *** [cas-functions.o] Error 1
make[4]: Leaving directory `/home/fctk/amule-related/amule-cvs/src/utils/cas'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/fctk/amule-related/amule-cvs/src/utils'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/fctk/amule-related/amule-cvs/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/fctk/amule-related/amule-cvs/src'
make: *** [install-recursive] Error 1
Title: Re: latest cvs (2004.11.27) doesn't compile
Post by: Jacobo221 on November 27, 2004, 02:00:47 PM
have you removed your kernel's sources lately?

if you self-compile your kernel, run "make install" (in 2.6 kernels) from within your kernel's sources directory.
If you install your kernel from your distro's packages, isntall the development package too.

Greetings!
Title: Re: latest cvs (2004.11.27) doesn't compile
Post by: fctk on November 28, 2004, 02:29:47 PM
maybe... i recently switched to nptl so i dealt with kernel headers... anyway, everything solved with today's cvs!
Title: Re: latest cvs (2004.11.27) doesn't compile
Post by: Jacobo221 on November 28, 2004, 11:26:14 PM
good! :)
Title: Re: latest cvs (2004.11.27) doesn't compile
Post by: GonoszTopi on November 30, 2004, 11:56:56 AM
strange
Title: Re: latest cvs (2004.11.27) doesn't compile
Post by: Jacobo221 on November 30, 2004, 03:53:19 PM
yes, VERY strange, but forget abou ti GonoszTopi. let's see it as "oh!, magic! kernel headers have just reappeared" xD
Title: Re: latest cvs (2004.11.27) doesn't compile
Post by: GonoszTopi on November 30, 2004, 05:19:40 PM
lol