error installing adime
Maikol

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

Peter Wang

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

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?

Peter Wang

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

Maikol

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!

Thread #586136. Printed from Allegro.cc