[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | Building on Windows (#567)
From: |
Michael Setzer II (@msetzerii) |
Subject: |
Re: wget2 | Building on Windows (#567) |
Date: |
Sun, 05 Dec 2021 15:04:57 +0000 |
Michael Setzer II commented:
Added that to the mingw where it does gnutls and it goes a lot further, but
still ends with errors.
rewinddir.c: In function 'rewinddir':
rewinddir.c:34:11: error: 'DIR' has no member named 'current'
34 | if (dirp->current != INVALID_HANDLE_VALUE)
| ^~
rewinddir.c:35:20: error: 'DIR' has no member named 'current'
35 | FindClose (dirp->current);
| ^~
rewinddir.c:38:7: error: 'DIR' has no member named 'status'
38 | dirp->status = -1;
| ^~
rewinddir.c:39:7: error: 'DIR' has no member named 'current'
39 | dirp->current = FindFirstFile (dirp->dir_name_mask, &dirp->entry);
| ^~
rewinddir.c:39:38: error: 'DIR' has no member named 'dir_name_mask'
39 | dirp->current = FindFirstFile (dirp->dir_name_mask, &dirp->entry);
| ^~
rewinddir.c:39:60: error: 'DIR' has no member named 'entry'
39 | dirp->current = FindFirstFile (dirp->dir_name_mask, &dirp->entry);
| ^~
rewinddir.c:40:11: error: 'DIR' has no member named 'current'
40 | if (dirp->current == INVALID_HANDLE_VALUE)
| ^~
rewinddir.c:45:15: error: 'DIR' has no member named 'status'
45 | dirp->status = -2;
| ^~
rewinddir.c:49:15: error: 'DIR' has no member named 'status'
49 | dirp->status = ENOENT;
| ^~
make[3]: *** [Makefile:2593: rewinddir.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
readdir.c: In function 'readdir':
readdir.c:46:15: error: 'DIR' has no member named 'status'
46 | switch (dirp->status)
| ^~
readdir.c:54:30: error: 'DIR' has no member named 'current'
54 | if (!FindNextFile (dirp->current, &dirp->entry))
| ^~
readdir.c:54:46: error: 'DIR' has no member named 'entry'
54 | if (!FindNextFile (dirp->current, &dirp->entry))
| ^~
readdir.c:59:19: error: 'DIR' has no member named 'status'
59 | dirp->status = -2;
| ^~
readdir.c:68:19: error: 'DIR' has no member named 'status'
68 | errno = dirp->status;
| ^~
readdir.c:72:7: error: 'DIR' has no member named 'status'
72 | dirp->status = 0;
| ^~
readdir.c:74:11: error: 'DIR' has no member named 'entry'
74 | if (dirp->entry.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
| ^~
readdir.c:75:12: error: 'DT_DIR' undeclared (first use in this function); did
you mean 'CB_DIR'?
75 | type = DT_DIR;
| ^~~~~~
| CB_DIR
readdir.c:75:12: note: each undeclared identifier is reported only once for
each function it appears in
readdir.c:76:16: error: 'DIR' has no member named 'entry'
76 | else if (dirp->entry.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT)
| ^~
readdir.c:77:12: error: 'DT_LNK' undeclared (first use in this function)
77 | type = DT_LNK;
| ^~~~~~
readdir.c:78:17: error: 'DIR' has no member named 'entry'
78 | else if ((dirp->entry.dwFileAttributes
| ^~
readdir.c:91:12: error: 'DT_REG' undeclared (first use in this function)
91 | type = DT_REG;
| ^~~~~~
readdir.c:93:12: error: 'DT_UNKNOWN' undeclared (first use in this function);
did you mean 'VFT_UNKNOWN'?
93 | type = DT_UNKNOWN;
| ^~~~~~~~~~
| VFT_UNKNOWN
readdir.c:98:19: error: 'DIR' has no member named 'entry'
98 | ((char *) dirp->entry.cFileName - offsetof (struct dirent,
d_name[0]));
| ^~
readdir.c:99:9: error: 'struct dirent' has no member named 'd_type'
99 | result->d_type = type;
| ^~
make[3]: *** [Makefile:2593: readdir.lo] Error 1
closedir.c: In function 'closedir':
closedir.c:58:11: error: 'DIR' has no member named 'current'
58 | if (dirp->current != INVALID_HANDLE_VALUE)
| ^~
closedir.c:59:20: error: 'DIR' has no member named 'current'
59 | FindClose (dirp->current);
| ^~
make[3]: *** [Makefile:2593: closedir.lo] Error 1
make[2]: *** [Makefile:2202: all] Error 2
make[1]: *** [Makefile:1827: all-recursive] Error 1
make: *** [Makefile:1735: all] Error 2
[root@setzconote ~]# cat wget2build-stderr | grep Error
make[1]: [Makefile:312: libhogweed-6.dll] Error 1 (ignored)
make[3]: *** [Makefile:2593: rewinddir.lo] Error 1
make[3]: *** [Makefile:2593: readdir.lo] Error 1
make[3]: *** [Makefile:2593: closedir.lo] Error 1
make[2]: *** [Makefile:2202: all] Error 2
make[1]: *** [Makefile:1827: all-recursive] Error 1
make: *** [Makefile:1735: all] Error 2
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/issues/567#note_752790627
You're receiving this email because of your account on gitlab.com.
- Re: wget2 | Building on Windows (#567), Michael Setzer II (@msetzerii), 2021/12/03
- Re: wget2 | Building on Windows (#567), @rockdaboot, 2021/12/05
- Re: wget2 | Building on Windows (#567),
Michael Setzer II (@msetzerii) <=
- Re: wget2 | Building on Windows (#567), @rockdaboot, 2021/12/05
- Re: wget2 | Building on Windows (#567), Michael Setzer II (@msetzerii), 2021/12/05
- Re: wget2 | Building on Windows (#567), Michael Setzer II (@msetzerii), 2021/12/05
- Re: wget2 | Building on Windows (#567), @rockdaboot, 2021/12/10