Re: [AD] RC3 doesn't build on IRIX

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2001-12-07, Hein Zelle <hein@xxxxxxxxxx> wrote:
> I've tried to build RC3 on Irix (I've skipped 1 and 2 due to a lack of
> time) and an old problem reemerges for which I've sent in a patch a
> while ago but got no response.

Sorry.

> while linking tests/akaitest:
> 
> gcc -Wl,-export-dynamic  -o tests/akaitest obj/unix/akaitest.o
> -Llib/unix -lalleg-4.0.0 -lalleg_unsharable
> ld32: WARNING 1: Unknown option: export-dynamic (ignored).
> ld32: WARNING 84: lib/unix/liballeg_unsharable.a is not used for
> resolving any symbol.
> ld32: ERROR 33: Unresolved text symbol "pow" -- 1st referenced by
> obj/unix/akaitest.o.

I put in -lm rather than \$(LIBS).  I didn't like how \$(LIBS) dragged
in so many libraries, which then [under Linux] made the binaries
dependent on those libraries, rather than just liballeg and libm.

> Also, make clean still chokes on the 'rm -f $(CLEAN_FILES)' line:
> $(CLEAN_FILES) is too long for the Irix command line. I posted a patch
> which fixed that too.

Committed, with changes to makefile.all.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/