[AD] Irix build problems, latest cvs (3.9.39) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
I just retrieved the latest cvs version (3.9.39, 9-oct-2001, +- 15:00)
and got some problems building that weren't there before. (minor)
The linker keeps giving the following warning: (mind, this is the Irix
linker, which gives strange warnings more often)
gcc -Wl,-export-dynamic -o examples/expal obj/unix/expal.o -Llib/unix -lalleg-3.9.39 -lalleg_unsharable
ld32: WARNING 1: Unknown option: export-dynamic (ignored).
Next, the build process stopped on tests/akaitest: the linker gave an
unresolved symbol 'exp'. This was correct, since '-lm' was not being
passed on the command line. The only libraries used were
LINK_LIBALLEG = -Llib/unix -lalleg-$(shared_version) -lalleg_unsharable
I modified this to
LINK_LIBALLEG = -Llib/unix -lalleg-$(shared_version) -lalleg_unsharable $(LIBS)
which made things work again ($(LIBS) already contained -lm and some
other stuff). I'm not sure what causes this problem: either a $(LIBS)
was forgotten somewhere, or perhaps these libraries should also have
been included in $(LINK_LIBALLEG). A final option is that
test/akaitest didn't use 'exp' before?
If someone tells me which one of these is the problem I'll send in a
diff with a fix, but unless I understand what causes the problem, it
is probably better if someone else fixes this. Any ideas?
With these minor changes everything builds again. First tests indicate
things work normally: demo game works (albeit unplayably slow on an
SGI O2) and my othello game compiles and runs without problems.
The option -Wl,-export-dynamic (which my linker doesn't recognize) is
also in the output of the allegro-config script.
Hein Zelle
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<
Hein Zelle hein@xxxxxxxxxx
http://www.icce.rug.nl/~hein
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<