[parisc-linux] Make palo problem
bame@riverrock.org
bame@riverrock.org
Thu, 26 Oct 2000 19:28:41 -0600
= > ipl.a: could not read symbols: Archive has no index; run ranlib to add one
= > make[2]: *** [iplelf] Error 1
= > make[2]: Leaving directory `/cvs/palo/ipl'
= > make[1]: *** [makeipl] Error 2
= > make[1]: Leaving directory `/cvs/palo'
= > make: *** [palo] Error 2
= >
=
= you need to go to /palo/ipl and do "hppa-linux-ranlib ipl.a". Then go back
= to /linux and do a "make palo" again.
=
= This is a common problem, in which I also run every time if /palo changes.
= Matt/Paul: can't we fix this in the Makefile ?
I changed ipl/Makefile to use hppa-linux-ar rather than ar. No
ranlib is required in this case.
Prior to this the native host's ar was being used. Mine
(GNU ar 2.9.5) has always
worked without need of an extra ranlib step but I guess that's not
true for everyone. People using 'ar' which requires a following ranlib
should probably insert a ranlib line into palo/palo/Makefile after
the 'ar' there. Just how likely is it to find this type of ar on
Linux these days?
-P