Re: config.status: error: cannot find input file: `avr/lib/avr25/ata5272/Makefile.in'

"Sivanupandi, Pitchumani" <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <CAC140656783604CABA6AE60C2A6D5A497DFDD79@penmbx01>
> -----Original Message-----
> From: Georg-Johann Lay [mailto:[email protected]]
> 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:[email protected]]
> >> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.