* [parisc-linux] Make palo problem
@ 2000-10-27 0:58 Kailashnath V Rampure
2000-10-27 1:11 ` Matt Taggart
2000-10-27 1:17 ` Helge Deller
0 siblings, 2 replies; 4+ messages in thread
From: Kailashnath V Rampure @ 2000-10-27 0:58 UTC (permalink / raw)
To: taggart; +Cc: parisc-linux
[-- Attachment #1: Type: text/plain, Size: 1277 bytes --]
* I have down loaded the latest prebuilt cross-compiler and untared it
the a directory by name DEST
* I have downloaded the Latest linux and palo files from the cvs. the
after uncompresing them I run the following command from the ~/linux directory
* Changed the line in Palo/Makefile for my system IP Address
* exported PATH=$DEST/bin:$PATH
* the cd ~/linux
* make oldconfig
* make dep
* make clean
* make palo
If so the I am getting the following error after running make palo
cd palo && make
make[2]: Entering directory `/cvs/palo/palo'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cvs/palo/palo'
cd ipl && make
make[2]: Entering directory `/cvs/palo/ipl'
echo "char *bld_info = \"`whoami`@`hostname` `date`\";" > build.c
hppa-linux-gcc -I. -I../lib -I../include -O2 -fwritable-strings
-mdisable-fpregs -Wall -c -o build.o build.c
rm -f build.c
hppa-linux-ld -N --Ttext 0x500000 -e '$START$' -o iplelf crt0.o ipl.a
build.o `hppa-linux-gcc -print-libgcc-file-name`
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
[-- Attachment #2: Type: text/html, Size: 1402 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] Make palo problem
2000-10-27 0:58 [parisc-linux] Make palo problem Kailashnath V Rampure
@ 2000-10-27 1:11 ` Matt Taggart
2000-10-27 1:17 ` Helge Deller
1 sibling, 0 replies; 4+ messages in thread
From: Matt Taggart @ 2000-10-27 1:11 UTC (permalink / raw)
To: Kailashnath V Rampure; +Cc: parisc-linux
Kailashnath V Rampure writes...
> * I have down loaded the latest prebuilt cross-compiler and untared it
> the a directory by name DEST
For that tarball, you need to untar in / which will put the compiler tree in
/opt/palinux. If it's not there the compiler will not be able to find it's
resources. Is that what you did?
I will update the web page to make this more clear.
HTH,
--
Matt Taggart
taggart@fc.hp.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] Make palo problem
2000-10-27 0:58 [parisc-linux] Make palo problem Kailashnath V Rampure
2000-10-27 1:11 ` Matt Taggart
@ 2000-10-27 1:17 ` Helge Deller
2000-10-27 1:28 ` bame
1 sibling, 1 reply; 4+ messages in thread
From: Helge Deller @ 2000-10-27 1:17 UTC (permalink / raw)
To: Kailashnath V Rampure, taggart; +Cc: parisc-linux
On Friday 27 October 2000 02:58, Kailashnath V Rampure wrote:
> >
> * I have down loaded the latest prebuilt cross-compiler and untared it
> the a directory by name DEST
> * I have downloaded the Latest linux and palo files from the cvs. the
> after uncompresing them I run the following command from the ~/linux
directory
> * Changed the line in Palo/Makefile for my system IP Address
> * exported PATH=$DEST/bin:$PATH
> * the cd ~/linux
> * make oldconfig
> * make dep
> * make clean
> * make palo
> If so the I am getting the following error after running make palo
> cd palo && make
> make[2]: Entering directory `/cvs/palo/palo'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/cvs/palo/palo'
> cd ipl && make
> make[2]: Entering directory `/cvs/palo/ipl'
> echo "char *bld_info = \"`whoami`@`hostname` `date`\";" > build.c
> hppa-linux-gcc -I. -I../lib -I../include -O2 -fwritable-strings
> -mdisable-fpregs -Wall -c -o build.o build.c
> rm -f build.c
> hppa-linux-ld -N --Ttext 0x500000 -e '$START$' -o iplelf crt0.o ipl.a
> build.o `hppa-linux-gcc -print-libgcc-file-name`
> 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 ?
Helge.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] Make palo problem
2000-10-27 1:17 ` Helge Deller
@ 2000-10-27 1:28 ` bame
0 siblings, 0 replies; 4+ messages in thread
From: bame @ 2000-10-27 1:28 UTC (permalink / raw)
To: Helge Deller; +Cc: kailasr, parisc-linux
= > 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-10-27 1:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-27 0:58 [parisc-linux] Make palo problem Kailashnath V Rampure
2000-10-27 1:11 ` Matt Taggart
2000-10-27 1:17 ` Helge Deller
2000-10-27 1:28 ` bame
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.