avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] config.status: error: cannot find input file: `avr/li


From: Sivanupandi, Pitchumani
Subject: Re: [avr-gcc-list] config.status: error: cannot find input file: `avr/lib/avr25/ata5272/Makefile.in'
Date: Tue, 9 Sep 2014 10:52:15 +0000

> -----Original Message-----
> From: Georg-Johann Lay [mailto:address@hidden
> Sent: Tuesday, September 09, 2014 3:50 PM
> To: Sivanupandi, Pitchumani
> Cc: AVR GCC List
> Subject: Re: config.status: error: cannot find input file:
> `avr/lib/avr25/ata5272/Makefile.in'
> 
> Am 09/09/2014 11:31 AM, schrieb Sivanupandi, Pitchumani:
> >> -----Original Message-----
> >> From: Georg-Johann Lay [mailto:address@hidden
> >> Sent: Tuesday, September 09, 2014 2:10 PM
> >> To: AVR GCC List
> >> Cc: Sivanupandi, Pitchumani
> >> Subject: config.status: error: cannot find input file:
> >> `avr/lib/avr25/ata5272/Makefile.in'
> >>
> >> Hi. I am getting the above error message while configuring avr-libc.
> >> Any ideas?
> >>
> >> avr.gcc is 4.9.2. (prerelease) which supports ata5272.
> >>
> >> avr-libc is up-to-date SVN 2450.
> >>
> >> config.log:
> >>
> >>     $ ../../source/avr-libc-1.8/configure --host=avr
> >> --prefix=/local/gnu/install/gcc-5.0
> >>
> >> ...
> >>
> >> configure:4824: checking if avr-gcc has support for ata5272
> >> configure:4830: avr-gcc -c -mmcu=ata5272  conftest.c >&5
> >> configure:4830: $? = 0
> >> configure:4841: result: yes
> >>
> >> ...
> >>
> >> config.status:1683: creating avr/lib/avr2/tiny-stack/attiny22/Makefile
> >> config.status:1683: creating avr/lib/avr2/tiny-stack/attiny26/Makefile
> >> config.status:1683: creating avr/lib/avr25/Makefile
> >> config.status:1683: creating avr/lib/avr25/at86rf401/Makefile
> >> config.status:1669: error: cannot find input file:
> >> `avr/lib/avr25/ata5272/Makefile.in'
> >>
> >>
> >> The sources are missing avr/lib/avr25/ata5272/Makefile.in, and
> >> avr/lib/avr25/Makefile.am does not mention ata5272.
> >>
> >> Running bootstrap after adding ata5272 to avr/lib/avr25/Makefile.am
> >> fixes the
> >> problem.
> >
> > You have to run bootstrap script to generate Makefiles as they are not
> checked-in.
> > Please refer:
> > http://www.nongnu.org/avr-libc/user-
> manual/install_tools.html#install_avr_libc
> >
> > Regards,
> > Pitchumani
> 
> 
> The point is that running bootstrap won't help because ata5272 is missing
> and
> thus no Makefile[.in] will be generated.
> 
> I don't think that users are supposed to add devices to Makefile.am or
> wherever?

Script devtools/gen-avr-lib-tree.sh used by bootstrap will create 
avr/lib/<arch> 
directories and Makefile.am. Device ata5272 is present in gen-avr-lib-tree.sh 
and generated Makefile.am should have this device name.
Ref:
http://svn.savannah.nongnu.org/viewvc/trunk/avr-libc/devtools/gen-avr-lib-tree.sh?revision=2446&root=avr-libc&view=markup

Could you check your copy of gen-avr-lib-tree.sh file for ata5272?
Before configure, run ./bootstrap and check generated avr/lib/avr25/Makefile.am.

Regards,
Pitchumani


reply via email to

[Prev in Thread] Current Thread [Next in Thread]