tytso / e2fsprogs

Ext2/3/4 file system utilities
http://ext4.wiki.kernel.org
383 stars 224 forks source link

Building on MINGW #179

Open Zibri opened 9 months ago

Zibri commented 9 months ago
make[2]: Entering directory '/home/Zibri/e2fsprogs/lib/et'
        SUBST compile_et
        SUBST ../../lib/dirpaths.h
        CC error_message.c
        CC et_name.c
        CC init_et.c
        CC com_err.c
        CC com_right.c
        GEN_LIB libcom_err.a
make[2]: Leaving directory '/home/Zibri/e2fsprogs/lib/et'
making all in lib/ss
make[2]: Entering directory '/home/Zibri/e2fsprogs/lib/ss'
cd ../..; CONFIG_FILES=lib/ss/Makefile ./config.status
config.status: creating lib/ss/Makefile
config.status: creating lib/config.h
config.status: lib/config.h is unchanged
config.status: executing po-directories commands
        SUBST mk_cmds
        CC ss_err.c
        CC std_rqs.c
        SUBST ../../lib/dirpaths.h
        CC invocation.c
        CC help.c
help.c: In function 'ss_help':
help.c:109:21: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration]
  109 |     switch (child = fork()) {
      |                     ^~~~
help.c:119:16: warning: implicit declaration of function 'wait'; did you mean 'cwait'? [-Wimplicit-f
unction-declaration]
  119 |         while (wait(NULL) != child) {
      |                ^~~~
      |                cwait
        CC execute_cmd.c
        CC listen.c
listen.c: In function 'ss_listen':
listen.c:55:5: error: unknown type name 'sigset_t'; did you mean 'sigret_t'?
   55 |     sigset_t omask, igmask;
      |     ^~~~~~~~
      |     sigret_t
listen.c:64:5: warning: implicit declaration of function 'sigemptyset' [-Wimplicit-function-declarat
ion]
   64 |     sigemptyset(&igmask);
      |     ^~~~~~~~~~~
listen.c:65:5: warning: implicit declaration of function 'sigaddset' [-Wimplicit-function-declaratio
n]
   65 |     sigaddset(&igmask, SIGINT);
      |     ^~~~~~~~~
listen.c:66:5: warning: implicit declaration of function 'sigprocmask' [-Wimplicit-function-declarat
ion]
   66 |     sigprocmask(SIG_BLOCK, &igmask, &omask);
      |     ^~~~~~~~~~~
listen.c:66:17: error: 'SIG_BLOCK' undeclared (first use in this function); did you mean 'SIG_ACK'?
   66 |     sigprocmask(SIG_BLOCK, &igmask, &omask);
      |                 ^~~~~~~~~
      |                 SIG_ACK
listen.c:66:17: note: each undeclared identifier is reported only once for each function it appears
in
listen.c:70:17: error: 'SIG_SETMASK' undeclared (first use in this function)
   70 |     sigprocmask(SIG_SETMASK, &omask, (sigset_t *) 0);
      |                 ^~~~~~~~~~~
listen.c:70:39: error: 'sigset_t' undeclared (first use in this function); did you mean 'sigret_t'?
   70 |     sigprocmask(SIG_SETMASK, &omask, (sigset_t *) 0);
      |                                       ^~~~~~~~
      |                                       sigret_t
listen.c:70:49: error: expected expression before ')' token
   70 |     sigprocmask(SIG_SETMASK, &omask, (sigset_t *) 0);
      |                                                 ^
listen.c:74:27: error: 'SIGCONT' undeclared (first use in this function); did you mean 'SIGINT'?
   74 |         sig_cont = signal(SIGCONT, print_prompt);
      |                           ^~~~~~~
      |                           SIGINT
make[2]: *** [Makefile:372: listen.o] Error 1
make[2]: Leaving directory '/home/Zibri/e2fsprogs/lib/ss'
make[1]: *** [Makefile:456: all-libs-recursive] Error 1
make[1]: Leaving directory '/home/Zibri/e2fsprogs'
make: *** [Makefile:371: all] Error 2