From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailserv2.iuinc.com (IDENT:qmailr@mailserv2.iuinc.com [206.245.164.55]) by puffin.external.hp.com (8.9.3/8.9.3) with SMTP id TAA07221 for ; Thu, 26 Oct 2000 19:00:52 -0600 Message-Id: <5.0.0.25.0.20001026163140.00aed760@mail.webcash.com> Date: Thu, 26 Oct 2000 17:58:03 -0700 To: taggart@carmen.fc.hp.com From: Kailashnath V Rampure Cc: parisc-linux@thepuffingroup.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_23220339==_.ALT" Subject: [parisc-linux] Make palo problem List-ID: --=====================_23220339==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed * 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 --=====================_23220339==_.ALT Content-Type: text/html; charset="us-ascii"
  • 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
--=====================_23220339==_.ALT-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailserv2.iuinc.com (IDENT:qmailr@mailserv2.iuinc.com [206.245.164.55]) by puffin.external.hp.com (8.9.3/8.9.3) with SMTP id TAA07657 for ; Thu, 26 Oct 2000 19:08:19 -0600 To: Kailashnath V Rampure Cc: parisc-linux@thepuffingroup.com Subject: Re: [parisc-linux] Make palo problem In-Reply-To: Message from Kailashnath V Rampure of "Thu, 26 Oct 2000 17:58:03 PDT." <5.0.0.25.0.20001026163140.00aed760@mail.webcash.com> References: <5.0.0.25.0.20001026163140.00aed760@mail.webcash.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Oct 2000 19:11:18 -0600 From: Matt Taggart Message-Id: <20001027011118.1CA6138137@carmen.fc.hp.com> List-ID: 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailserv2.iuinc.com (IDENT:qmailr@mailserv2.iuinc.com [206.245.164.55]) by puffin.external.hp.com (8.9.3/8.9.3) with SMTP id TAA08399 for ; Thu, 26 Oct 2000 19:16:10 -0600 From: Helge Deller Date: Fri, 27 Oct 2000 03:17:37 +0200 Content-Type: text/plain; charset="iso-8859-1" Cc: parisc-linux@thepuffingroup.com To: Kailashnath V Rampure , taggart@carmen.fc.hp.com References: <5.0.0.25.0.20001026163140.00aed760@mail.webcash.com> In-Reply-To: <5.0.0.25.0.20001026163140.00aed760@mail.webcash.com> Subject: Re: [parisc-linux] Make palo problem MIME-Version: 1.0 Message-Id: <00102703173703.00370@P100> List-ID: 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailserv2.iuinc.com (IDENT:qmailr@mailserv2.iuinc.com [206.245.164.55]) by puffin.external.hp.com (8.9.3/8.9.3) with SMTP id TAA08987 for ; Thu, 26 Oct 2000 19:29:16 -0600 Received: from bame.riverrock.org (really [127.0.0.1]) by bame.riverrock.org via in.smtpd with esmtp (ident bame using rfc1413) id (Debian Smail3.2.0.102) for ; Thu, 26 Oct 2000 19:28:48 -0600 (MDT) Message-Id: From: bame@riverrock.org Reply-To: bame@riverrock.org Errors-To: bame@riverrock.org To: Helge Deller cc: kailasr@webcash.com, parisc-linux@thepuffingroup.com Subject: Re: [parisc-linux] Make palo problem In-reply-to: Your message of "Fri, 27 Oct 2000 03:17:37 +0200." <00102703173703.00370@P100> Date: Thu, 26 Oct 2000 19:28:41 -0600 Sender: bame@bame.riverrock.org List-ID: = > 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