10894 questions

12982 answers

20235 comments

26420 members

0 votes
170 views 0 comments
by
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

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