Git Product home page Git Product logo

tinyemu's Issues

facing issue while compiling buildroot for riscv architecure

Dear all,

I am trying to compile buildroot for riscv64, but I am getting many errors. I don't know how to resolve this error.

Error:

fseeko.c:109:4: error: #error "Please port gnulib fseeko.c to your platform! Loo k at the code in fseeko.c, then report this to bug-gnulib."
109 | #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
| ^~~~~
make[5]: *** [Makefile:1842: fseeko.o] Error 1
make[5]: *** Waiting for unfinished jobs....
freadahead.c: In function 'freadahead':
freadahead.c:91:3: error: #error "Please port gnulib freadahead.c to your platfo rm! 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 d efinition of fflush, fread, ungetc on your system, then report this to bug-gnuli b."
| ^~~~~
make[5]: *** [Makefile:1842: freadahead.o] Error 1
make[4]: *** [Makefile:1602: all] Error 2
make[3]: *** [Makefile:1506: all-recursive] Error 1
make[2]: *** [Makefile:1461: all] Error 2
make[1]: *** [package/pkg-generic.mk:198: /home/billa/buildroot-riscv-2018-10-20 /output/build/host-m4-1.4.17/.stamp_built] Error 2
make: *** [Makefile:36: _all] Error 2

Can any one please help me regarding above error.

Thanks in advance
Billa

ld: library not found for -lrt

gcc -o temu virtio.o pci.o fs.o cutils.o iomem.o simplefb.o json.o machine.o temu.o elf.o slirp/bootp.o slirp/ip_icmp.o slirp/mbuf.o slirp/slirp.o slirp/tcp_output.o slirp/cksum.o slirp/ip_input.o slirp/misc.o slirp/socket.o slirp/tcp_subr.o slirp/udp.o slirp/if.o slirp/ip_output.o slirp/sbuf.o slirp/tcp_input.o slirp/tcp_timer.o fs_disk.o fs_net.o fs_wget.o fs_utils.o block_net.o sdl.o riscv_machine.o softfp.o riscv_cpu32.o riscv_cpu64.o riscv_cpu128.o x86_cpu.o x86_machine.o ide.o ps2.o vmmouse.o pckbd.o vga.o compress.o -lrt -lcurl -lcrypto -lSDL2  -lz
ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [temu] Error 1

Adding x86_64 support

Hello,

I am digging around VMM's and came a cross Fabrice's TinyEMU which led me to yours.

I am wondering what it might take to add in support for x86_64?

Currently it can run:

32/64/128-bit RISC-V
3-bit Windows/Linux

Now I would like to to be able to emulate for

64-bit Linux/Windows as well

Any thoughts on this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.