aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: lenguaje C, amule, recursividad...  (Read 7049 times)

Olaf "El Blanco"

  • Guest
lenguaje C, amule, recursividad...
« on: November 17, 2004, 09:16:31 PM »

Bajo el amule...
Desempaqueto...
Descomprimo...
./configure
Instalo librerias y paquetes
./configure
Perfecto!

Estoy como root y...
make install

Bien, bien, bien...
/************************
Making install in xas
make[4]: Entering directory `/home/Olaf/aMule-2.0.0rc7/src/utils/xas'
make[5]: Entering directory `/home/Olaf/aMule-2.0.0rc7/src/utils/xas'
make[5]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../mkinstalldirs /usr/local/lib/xchat/plugins
 /usr/bin/install -c -m 644 xas.pl /usr/local/lib/xchat/plugins/xas.pl
make[5]: Leaving directory `/home/Olaf/aMule-2.0.0rc7/src/utils/xas'
make[4]: Leaving directory `/home/Olaf/aMule-2.0.0rc7/src/utils/xas'
Making install in cas
make[4]: Entering directory `/home/Olaf/aMule-2.0.0rc7/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-graphics.o -MD -MP -MF ".deps/cas-graphics.Tpo" \
  -c -o cas-graphics.o `test -f 'graphics.c' || echo './'`graphics.c; \
then mv -f ".deps/cas-graphics.Tpo" ".deps/cas-graphics.Po"; \
else rm -f ".deps/cas-graphics.Tpo"; exit 1; \
fi
graphics.c:32:16: gd.h: No such file or directory
graphics.c: In function `createimage':
graphics.c:44: error: `FILE' undeclared (first use in this function)
graphics.c:44: error: (Each undeclared identifier is reported only once
graphics.c:44: error: for each function it appears in.)
graphics.c:44: error: `in' undeclared (first use in this function)
graphics.c:44: error: `out' undeclared (first use in this function)
graphics.c:44: warning: left-hand operand of comma expression has no effect
graphics.c:46: error: `gdImagePtr' undeclared (first use in this function)
graphics.c:46: error: parse error before "im"
graphics.c:50: warning: implicit declaration of function `fopen'
graphics.c:51: warning: implicit declaration of function `printf'
graphics.c:54: warning: implicit declaration of function `fclose'
graphics.c:61: error: `im' undeclared (first use in this function)
graphics.c:61: warning: implicit declaration of function `gdImageCreateFromPng'
graphics.c:62: warning: implicit declaration of function `gdImageColorResolve'
graphics.c:66: warning: implicit declaration of function `gdImageStringFT'
graphics.c:78: warning: implicit declaration of function `gdImagePng'
graphics.c:81: warning: implicit declaration of function `gdImageDestroy'
make[4]: *** [cas-graphics.o] Error 1
make[4]: Leaving directory `/home/Olaf/aMule-2.0.0rc7/src/utils/cas'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/Olaf/aMule-2.0.0rc7/src/utils'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/Olaf/aMule-2.0.0rc7/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/Olaf/aMule-2.0.0rc7/src'
make: *** [install-recursive] Error 1
*//////////////////////////////////////////

No se que hacer...

Muchas Gracias!
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: lenguaje C, amule, recursividad...
« Reply #1 on: November 17, 2004, 09:55:43 PM »

you don't have gd installed (libgd) ..

cheers

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: lenguaje C, amule, recursividad...
« Reply #2 on: November 17, 2004, 10:06:07 PM »

error en CAS.
debes instalar la libreria LibGD.
o poner --disable-cas en el configure ;)
Un saludo!
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: lenguaje C, amule, recursividad...
« Reply #3 on: November 17, 2004, 10:06:41 PM »

jodio deltaHF... siempre más rapido :-/
xP
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
RE: lenguaje C, amule, recursividad...
« Reply #4 on: November 17, 2004, 11:55:58 PM »

Olaf "El Blanco",

I got really curious about that problem, because I have tried here without gdlib installed and everything works just fine. Could you please show me the exact commands that you entered to configure/compile amule? Also, can you tell me what is your linux distribution?

Cheers!
Logged

Olaf "El Blanco"

  • Guest
RE: lenguaje C, amule, recursividad...
« Reply #5 on: November 18, 2004, 02:34:40 PM »

Suse 9.1

and the commands are configure and make !!!
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org