Results 1 to 2 of 2

Thread: Solution for ".// file not recognized: File format not recognized" (CRDA)

  1. #1
    Junior Member
    Join Date
    Feb 2017

    Solution for ".// file not recognized: File format not recognized" (CRDA)

    Recently I had to compile my own CRDA regulations file because some of my wifi adapters were locked to other countries so they used much lower transmission power than legally alowed. This process is well described (thanks for everyone who did that!) but there is one error which made me spent quite long time to find the right solution.

    At some point you might see an error which requires you to edit Makefile and remove -Werror parameter so that warnings wouldn't stop compilation. That's easy to do, but the next error you see is:
    .// file not recognized: File format not recognized
    I've seen many people asking how this can be resolved but I've never seen this question answered with a working solution, so I had to find my own solution. In fact it's really easy to resolve: just delete and run make again
    It looks like when the previous compilation error happens is being created but it contains wrong data (or empty - I haven't checked it), and the make script doesn't try to recompile it because the file exists, but it cannot proceed because the file doesn't contain the right data.

    Hope it helps somebody!
    Last edited by scriptguru; 2017-05-06 at 01:31 AM.

  2. #2
    Junior Member
    Join Date
    Jun 2017
    Helped me, mate, so thank you very much! I think I had installed about 50 libnl packages/dependencies I didn't need before I read your post LOL. Thanks again for sharing.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts