Kod: Zaznacz cały
Warning: shared library destination /usr/local/lib is not in ldd search path.
Unless you add it to /etc/ld.so.conf, you must set LD_LIBRARY_PATH to include
/usr/local/lib each time you want to run an Allegro program.
/bin/sh ./misc/mkdirs.sh /usr/local/share/aclocal
mkdir /usr/local/share/aclocal
Installing allegro.m4 to /usr/local/share/aclocal
Kod: Zaznacz cały
/tmp/ccQ3evZp.o: In function `main':
test2.c :( .text+0x32): undefined reference to `_install_allegro_version_check'
test2.c :( .text+0x37): undefined reference to `allegro_exit'
collect2: ld returned 1 exit status
Kod: Zaznacz cały
#include <allegro.h>
int main()
{
allegro_init();
allegro_exit();
return 0;
}
END_OF_MAIN();