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

box86 error compiling #19

Open
defencedog opened this issue Aug 31, 2024 · 0 comments
Open

box86 error compiling #19

defencedog opened this issue Aug 31, 2024 · 0 comments

Comments

@defencedog
Copy link

defencedog commented Aug 31, 2024

SBC OrangePi3b v2.1, Panfrost enables Armbian Jammy Gnome

/home/ukhan/box86/src/emu/x86syscall.c: At top level:
/home/ukhan/box86/src/emu/x86syscall.c:127:12: error: ‘__NR_fork’ undeclared here (not in a function)
  127 |     [2] ={ __NR_fork, 1 },    // should wrap this one, because of the struct pt_regs (the only arg)?
      |            ^~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:135:12: error: ‘__NR_unlink’ undeclared here (not in a function)
  135 |     [10] { __NR_unlink, 1 },
      |            ^~~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:140:12: error: ‘__NR_chmod’ undeclared here (not in a function)
  140 |     [15] { __NR_chmod, 2 },
      |            ^~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:147:12: error: ‘__NR_access’ undeclared here (not in a function)
  147 |     [33] { __NR_access, 2 },
      |            ^~~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:149:12: error: ‘__NR_rename’ undeclared here (not in a function)
  149 |     [38] { __NR_rename, 2 },
      |            ^~~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:150:12: error: ‘__NR_mkdir’ undeclared here (not in a function)
  150 |     [39] { __NR_mkdir, 2 },
      |            ^~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:151:12: error: ‘__NR_rmdir’ undeclared here (not in a function)
  151 |     [40] { __NR_rmdir, 1 },
      |            ^~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:153:12: error: ‘__NR_pipe’ undeclared here (not in a function)
  153 |     [42] { __NR_pipe, 1 },
      |            ^~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:161:12: error: ‘__NR_dup2’ undeclared here (not in a function)
  161 |     [63] { __NR_dup2, 2 },
      |            ^~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:172:12: error: ‘__NR_symlink’ undeclared here (not in a function)
  172 |     [83] { __NR_symlink, 2 },
      |            ^~~~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:176:12: error: ‘__NR_readlink’ undeclared here (not in a function); did you mean ‘readlink’?
  176 |     [85] { __NR_readlink, 3 },
      |            ^~~~~~~~~~~~~
      |            readlink
/home/ukhan/box86/src/emu/x86syscall.c:188:13: error: ‘__NR_stat’ undeclared here (not in a function)
  188 |     [106] { __NR_stat, 2 },
      |             ^~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:193:13: error: ‘__NR_lstat’ undeclared here (not in a function)
  193 |     [107] { __NR_lstat, 2 },
      |             ^~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:215:13: error: ‘__NR_sigprocmask’ undeclared here (not in a function); did you mean ‘sigprocmask’?
  215 |     [126] { __NR_sigprocmask, 3 },
      |             ^~~~~~~~~~~~~~~~
      |             sigprocmask
/home/ukhan/box86/src/emu/x86syscall.c:217:13: error: ‘__NR__llseek’ undeclared here (not in a function)
  217 |     [140] { __NR__llseek, 5 },
      |             ^~~~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:218:13: error: ‘__NR_getdents’ undeclared here (not in a function)
  218 |     [141] { __NR_getdents, 3 },
      |             ^~~~~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:219:13: error: ‘__NR__newselect’ undeclared here (not in a function)
  219 |     [142] { __NR__newselect, 5 },
      |             ^~~~~~~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:225:13: error: ‘__NR__sysctl’ undeclared here (not in a function)
  225 |     [149] { __NR__sysctl, 1 },    // need wrapping?
      |             ^~~~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:240:13: error: ‘__NR_ugetrlimit’ undeclared here (not in a function); did you mean ‘SYS_getrlimit’?
  240 |     [191] { __NR_ugetrlimit, 2 },
      |             ^~~~~~~~~~~~~~~
      |             SYS_getrlimit
/home/ukhan/box86/src/emu/x86syscall.c:246:13: error: ‘__NR_getuid32’ undeclared here (not in a function)
  246 |     [199] { __NR_getuid32, 0 },
      |             ^~~~~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:247:13: error: ‘__NR_getgid32’ undeclared here (not in a function)
  247 |     [200] { __NR_getgid32, 0 },
      |             ^~~~~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:248:13: error: ‘__NR_geteuid32’ undeclared here (not in a function)
  248 |     [201] { __NR_geteuid32, 0 },
      |             ^~~~~~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:249:13: error: ‘__NR_getegid32’ undeclared here (not in a function)
  249 |     [202] { __NR_getegid32, 0 },
      |             ^~~~~~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:250:13: error: ‘__NR_setresuid32’ undeclared here (not in a function); did you mean ‘SYS_setresuid’?
  250 |     [208] { __NR_setresuid32, 3 },
      |             ^~~~~~~~~~~~~~~~
      |             SYS_setresuid
/home/ukhan/box86/src/emu/x86syscall.c:251:13: error: ‘__NR_getresuid32’ undeclared here (not in a function); did you mean ‘SYS_getresuid’?
  251 |     [209] { __NR_getresuid32, 3 },
      |             ^~~~~~~~~~~~~~~~
      |             SYS_getresuid
/home/ukhan/box86/src/emu/x86syscall.c:252:13: error: ‘__NR_setresgid32’ undeclared here (not in a function); did you mean ‘SYS_setresgid’?
  252 |     [210] { __NR_setresgid32, 3 },
      |             ^~~~~~~~~~~~~~~~
      |             SYS_setresgid
/home/ukhan/box86/src/emu/x86syscall.c:253:13: error: ‘__NR_getresgid32’ undeclared here (not in a function); did you mean ‘SYS_getresgid’?
  253 |     [211] { __NR_getresgid32, 3 },
      |             ^~~~~~~~~~~~~~~~
      |             SYS_getresgid
/home/ukhan/box86/src/emu/x86syscall.c:280:13: error: ‘__NR_utimes’ undeclared here (not in a function)
  280 |     [271] { __NR_utimes, 2 },
      |             ^~~~~~~~~~~
/home/ukhan/box86/src/emu/x86syscall.c:281:13: error: ‘__NR_inotify_init’ undeclared here (not in a function); did you mean ‘SYS_inotify_init1’?
  281 |     [291] { __NR_inotify_init, 0},
      |             ^~~~~~~~~~~~~~~~~
      |   
@defencedog defencedog changed the title ls box86 error compiling Aug 31, 2024
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

1 participant