Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile on 18.10, freadahead and rpl_fseeko need to be ported. #12

Open
ghost opened this issue Jan 15, 2019 · 2 comments
Open

Comments

@ghost
Copy link

ghost commented Jan 15, 2019

Hi,

I tried to buid bare buildroot by just setting the platform to csky and type to 610 and it failed:

  CC       printf-parse.o
  CC       vasnprintf.o
  CC       vasprintf.o
freadahead.c: In function 'freadahead':
freadahead.c:92: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."
  #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."
   ^~~~~
make[4]: *** [Makefile:1915: freadahead.o] Error 1
make[4]: *** Waiting for unfinished jobs....
fseeko.c: In function 'rpl_fseeko':
fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
   #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
    ^~~~~

I'm not sure what's causing this and how I can resolve it.

Can you help?

Thanks!
Edit:
I'm using the latest release, 1.0.4.

@guoren83
Copy link
Member

We use buildroot as our CI SDK base, and all is tested on ubuntu 16.04
I don't know what's the package is. you can find out the error package and make it alone.

For buildroot:
make -rebuild

@micwoj92
Copy link

@guoren83 ubuntu 16.04 is now EOL (unless you are using ESM), is there possibility to move to never ubuntu base for test machines?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants