Trouble

J. Johnston jjohnstn@redhat.com
Fri Aug 15 22:35:00 GMT 2003


Mile,

   Please try configuring as follows in a fresh directory.

   /YOURPATH/newlib-1.11.0/configure --prefix=`pwd` --target=mips-elf

and then run:  make all-target-newlib all-target-libgloss

Note that you are specifying the top-level configure, not the configure
found in the newlib subdirectory.

   In your previous note you had --norecursion and --host which you should not
specify.  I assumed you were just quoting me the config.status file but just in
case, I'll be more specific.  There is no linux support in newlib for mips as of yet so you should
specify mips-elf.  You may need to build a mips-elf toolchain if you do not have
one already.

-- Jeff J.

Mile Davidovic wrote:
> Thanks a lot. I am very thankfull for your effort. 
> 
> I try "full_path/newlib/configure ...."
> But it fail every time:
> 
> rm -f libm.a
> rm -rf tmp
> mkdir tmp
> cd tmp; \
>   for i in math/lib.a common/lib.a machine/lib.a; do \
>     mips-linux-elf-ar x ../$i; \
> done; \
> mips-linux-elf-ar rc ../libm.a *.o
> mips-linux-elf-ar: ../machine/lib.a: No such file or directory
> mips-linux-elf-ranlib libm.a
> 
> Do You want to send full make.log ?
> 
> 
> 
>>-----Original Message-----
>>From: J. Johnston [mailto:jjohnstn@redhat.com] 
>>Sent: Wednesday, August 13, 2003 19:53
>>To: david@krt.neobee.net
>>Cc: newlib@sources.redhat.com
>>Subject: Re: Trouble
>>
>>
>>Mile,
>>
>>   Specify an absolute path for the configure call instead of 
>>relative (i.e. don't put ../newlib-1.11.0/configure, put 
>>/YOURPATH/newlib-1.11.0/configure ...)
>>
>>-- Jeff J.
>>
>>Mile Davidovic wrote:
>>
>>>Hi everybody
>>>
>>>I have problem with building newlib-1.11.0.tar.gz 
>>
>>downloaded from ftp 
>>
>>>site. This is my configure line:
>>>../newlib-1.11.0/configure --prefix=/space/home/david/Tamis
>>>--target=mips-linux-elf --host=sparc-sun-solaris2.8 --norecursion
>>>
>>>This is error message:
>>>-------------------------------------------------------------------
>>>Making all in .
>>>Making all in .
>>>Making all in libm
>>>Making all in math
>>>Making all in common
>>>Making all in machine
>>>Making all in .
>>>rm -f libm.a
>>>rm -rf tmp
>>>mkdir tmp
>>>cd tmp; \
>>>  for i in math/lib.a common/lib.a machine/lib.a; do \
>>>    mips-linux-elf-ar x ../$i; \
>>>done; \
>>>mips-linux-elf-ar rc ../libm.a *.o
>>>mips-linux-elf-ar: ../machine/lib.a: No such file or directory
>>>*** Error code 9
>>>make: Fatal error: Command failed for target `libm.a'
>>>Current working directory 
>>>/space/home/david/n/mips-linux-elf/soft-float/newlib/libm
>>>*** Error code 1
>>>make: Fatal error: Command failed for target 
>>
>>`all-recursive' Current 
>>
>>>working directory 
>>>/space/home/david/n/mips-linux-elf/soft-float/newlib/libm
>>>*** Error code 1
>>>make: Fatal error: Command failed for target 
>>
>>`all-recursive' Current 
>>
>>>working directory 
>>
>>/space/home/david/n/mips-linux-elf/soft-float/newlib
>>
>>>*** Error code 1
>>>make: Fatal error: Command failed for target `all-recursive-am'
>>>Current working directory
>>>/space/home/david/n/mips-linux-elf/soft-float/newlib
>>>*** Error code 1
>>>make: Fatal error: Command failed for target `multi-do'
>>>Current working directory /space/home/david/n/mips-linux-elf/newlib
>>>*** Error code 1
>>>make: Fatal error: Command failed for target `all-multi'
>>>Current working directory /space/home/david/n/mips-linux-elf/newlib
>>>*** Error code 1
>>>make: Fatal error: Command failed for target `all-recursive-am'
>>>Current working directory /space/home/david/n/mips-linux-elf/newlib
>>>*** Error code 1
>>>make: Fatal error: Command failed for target `all-target-newlib'
>>>bash-2.03$
>>>
>>>
>>>
>>>Thanks in advance Mile
>>>
>>
> 




More information about the Newlib mailing list