Re: config.status: error: cannot find input file: `avr/lib/avr25/ata5272/Makefile.in'
Georg-Johann Lay <[email protected]>
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Message-ID | <[email protected]> |
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? Johann