Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » error installing adime

Credits go to Peter Wang for helping out!
This thread is locked; no one can reply to it. rss feed Print
error installing adime
Maikol
Member #4,997
September 2004
avatar

hi all! i've downloaded the adime library but i get a huge amount of errors like:

gentoo # ./fix.sh unix
gentoo # STATICLINK=1 make all
...
gentoo # lib/unix/libadime.so: undefined reference to `gui_mouse_b'
gentoo # lib/unix/libadime.so: undefined reference to `makecol'
gentoo # lib/unix/libadime.so: undefined reference to `gui_edit_proc'
gentoo # lib/unix/libadime.so: undefined reference to `object_message'
...
gentoo # collect2: ld returned exit state 1
gentoo # make[1]: *** [examples/exanim] Error 1
gentoo # make[1]: Leaving directory `/usr/lib/adime-2.2.1'
gentoo # make: *** [all] Error 2

don't know that to do. has anybody had the same problem? thanks!

specifications: kernel 2.6, gentoo distro, i686... ask whatever

El sabio no dice todo lo que piensa, pero siempre piensa todo lo que dice
Aristóteles

Peter Wang
Member #23
April 2000

adime-2.2.1 works out of the box here. It looks like it's not linking with Allegro. The command lines should have `allegro-config --libs release --static` somewhere.

Also, it's strange that it's using libadime.so when you requested static linking. You might try "make STATICLINK=1" instead.

Maikol
Member #4,997
September 2004
avatar

yes, probably you're right. i've found this when it starts compiling:

gentoo # gcc -s -o examples/exanim obj/unix/adime_s/exanim.o -Llib/unix -ladime_s `allegro-config --libs release --static`
gentoo # /bin/sh: allegro-config: command not found

maybe from there it crashes with all functions. do i add it to the $PATH? what should i do?

El sabio no dice todo lo que piensa, pero siempre piensa todo lo que dice
Aristóteles

Peter Wang
Member #23
April 2000

Yes, the directory containing allegro-config should be in your PATH. Have you not used Allegro on Linux before?

Maikol
Member #4,997
September 2004
avatar

i'm not new in linux, just i didn't notice it because i'm installing everything and haven't yet tried compiling. at last family let me throw away win. thanks for help Peter!

El sabio no dice todo lo que piensa, pero siempre piensa todo lo que dice
Aristóteles

Go to: