aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: latest cvs (2004.11.27) doesn't compile  (Read 2870 times)

fctk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 32
latest cvs (2004.11.27) doesn't compile
« 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
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: latest cvs (2004.11.27) doesn't compile
« Reply #1 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!
Logged

fctk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 32
Re: latest cvs (2004.11.27) doesn't compile
« Reply #2 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!
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: latest cvs (2004.11.27) doesn't compile
« Reply #3 on: November 28, 2004, 11:26:14 PM »

good! :)
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: latest cvs (2004.11.27) doesn't compile
« Reply #4 on: November 30, 2004, 11:56:56 AM »

strange
Logged
concordia cum veritate

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: latest cvs (2004.11.27) doesn't compile
« Reply #5 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
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: latest cvs (2004.11.27) doesn't compile
« Reply #6 on: November 30, 2004, 05:19:40 PM »

lol
Logged
concordia cum veritate