Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

linux:make error

Altera_Forum
Honored Contributor II
1,267 Views

i fellow http://www.nioswiki.com/linux (http://www.nioswiki.com/linux

when i input make command,it came to a error as bellow; 

 

make[2]: Entering directory `/mywork/nios2-linux/uClinux-dist/vendors/Altera/nios2' 

set -e;  

t=`nios2-wrs-linux-gnu-gcc -mhw-mul -mno-hw-mulx -print-file-name=libc.a`;  

t=`dirname $t`/../..;  

for i in $t/lib/*so*; do  

i=`readlink -f "$i"`;  

soname=`nios2-wrs-linux-gnu-readelf -d "$i" | sed -n '/(SONAME)/s:.*[[]\(.*\)[]].*:\1:p'`;  

if [ ! -f "/mywork/nios2-linux/uClinux-dist/romfs/lib/$soname" ] ; then  

romfs-inst.sh -d -p 755 $i /lib/$soname;  

fi;  

done;  

if [ "y" = "y" ] ; then  

/mywork/nios2-linux/uClinux-dist/vendors/AnalogDevices/trim-libs.sh;  

fi;  

if type nios2-wrs-linux-gnu-ldconfig >/dev/null 2>&1; then  

nios2-wrs-linux-gnu-ldconfig -r /mywork/nios2-linux/uClinux-dist/romfs;  

fi 

/mywork/nios2-linux/uClinux-dist/vendors/AnalogDevices/trim-libs.sh: line 19: scanelf: command not found 

ERROR: you do not have pax-utils installed 

make[2]: *** [romfs.shared.libs] 错误 1 

make[2]: Leaving directory `/mywork/nios2-linux/uClinux-dist/vendors/Altera/nios2' 

make[1]: *** [romfs.post] 错误 2 

make[1]: Leaving directory `/mywork/nios2-linux/uClinux-dist/vendors' 

 

 

why it happenedd,and how can i deal with it??
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
534 Views

Install pax-utils :-) Seriously, find out how to install the pax-utils program on your system. Most Linux distros even have a GUI for this, these days. 

 

Cheers, 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
534 Views

<div class='quotetop'>QUOTE (slacker @ Sep 4 2009, 11:43 AM) <{post_snapback}> (index.php?act=findpost&pid=23750)</div> 

--- Quote Start ---  

Install pax-utils :-) Seriously, find out how to install the pax-utils program on your system. Most Linux distros even have a GUI for this, these days. 

 

Cheers, 

 

- slacker[/b] 

--- Quote End ---  

 

 

 

ths,slacker 

i have installed paxutils-2.4h,below is how i installed 

 

tar xfz paxutils-2.4h.tar.gz 

cd paxutils-2.4h 

./configure 

make && make check 

make install DESTDIR=/usr/src/paxutils-2.4h/.inst 

 

but the ERROR: you do not have pax-utils installed still not removed, 

is the paxutils version wrong?? or any other reason?? 

thanks.. 

 

0 Kudos
Altera_Forum
Honored Contributor II
534 Views

thks,slacker  

i have removed the error after installing pax-utils 

 

 

0 Kudos
Altera_Forum
Honored Contributor II
534 Views

can you tell me that how did you solve the problem ? 

I have the very same problem. 

thanks! 

 

 

 

--- Quote Start ---  

<div class='quotetop'>QUOTE (slacker @ Sep 4 2009, 11:43 AM) <{post_snapback}> (http://index.php?act=findpost&pid=23750)</div> 

 

 

ths,slacker 

i have installed paxutils-2.4h,below is how i installed 

 

tar xfz paxutils-2.4h.tar.gz 

cd paxutils-2.4h 

./configure 

make && make check 

make install DESTDIR=/usr/src/paxutils-2.4h/.inst 

 

but the ERROR: you do not have pax-utils installed still not removed, 

is the paxutils version wrong?? or any other reason?? 

thanks.. 

--- Quote End ---  

0 Kudos
Reply