facebook / watchman

Watches files and records, or triggers actions, when they change.
https://facebook.github.io/watchman/
MIT License
12.44k stars 990 forks source link

watchman on riscv64 platform #1129

Closed kush930 closed 1 year ago

kush930 commented 1 year ago

Hi all,

I am building watchman-4.1.0 on riscv64 platform, I cloned- https://github.com/facebook/watchman.git

I followed these steps:-

1. Installed dependencies package- autoconf , automake, build-essential, python3-dev
2. ./autogen.sh
3. ./configure
4. make

During running make command, i am facing issue-

root@kush:~/watchman# make

make  all-am
make[1]: Entering directory '/home/root/watchman'
  CC       watchman-argv.o
  CC       watchman-envp.o
  CC       watchman-spawn.o
  CC       watchman-opt.o
  CC       watchman-cfg.o
  CC       watchman-fstype.o
  CC       watchman-log.o
log.c: In function 'crash_handler':
log.c:78:14: error: 'sys_siglist' undeclared (first use in this function)
   78 |       signo, sys_siglist[signo], reason, si ? si->si_value.sival_ptr : NULL);
      |              ^~~~~~~~~~~
log.c:78:14: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [Makefile:1504: watchman-log.o] Error 1
make[1]: Leaving directory '/home/root/watchman'
make: *** [Makefile:781: all] Error 2

please help me to build watchman on riscv64.

T&R lavkhush