FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
841 views 0 comments
by anonymous
I am trying to compile RUT2XX_R_00.01.14.5 SDK on Ubuntu version 20.04.3. And get following error:

"freadahead.c: In function 'freadahead':
freadahead.c:91:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
   91 |  #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
      |   ^~~~~"

Has anybody successfully compiled an SDK on Ubuntu 20.04.3?

1 Answer

0 votes
by anonymous

Hello,

Could you clear all of your packages and dependencies and download all of them once again:

sudo apt-get update
sudo apt-get install -y build-essential curl devscripts gawk gcc-multilib gengetopt gettext git groff file flex libncurses5-dev libssl-dev python2.7 subversion unzip vim-common zlib1g-dev wget

Then before compiling the image, please update feeds:

./scripts/feeds update -a

Regards