[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: |
Tue, 30 Nov 2021 06:45:39 +0000 |
Michael Setzer II commented:
Since was at a dead end with the contrib/mingw tried the mingw.static it gets
errors?
Tried to do a clean test using mingw.static.
modifified the dirname line to get past that error.
libgcc_s_seh-1.dll is located here
#/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_seh-1.dll
#GCCLIB=$(dirname $(find /usr/lib/gcc/$PREFIX -name libgcc_s_seh-1.dll|head -1))
changed to:
GCCLIB=$(dirname $(find /usr/$PREFIX libgcc_s_seh-1.dll|head -1))
That seems to do a lot, but fails with errors.
clone was done at 16:04 and then contrib modified about.
rw-rw-r--. 1 root root 533 Nov 30 16:04 todo.txt
drwxrwxr-x. 2 root root 4096 Nov 30 16:07 contrib
drwxrwxr-x. 20 root root 4096 Nov 30 16:08 libiconv-1.16
drwxrwxr-x. 6 root root 4096 Nov 30 16:08 x86_64-w64-mingw32
drwxr-xr-x. 10 root root 4096 Nov 30 16:09 libunistring-0.9.10
drwxr-xr-x. 13 root root 4096 Nov 30 16:10 libidn2-2.3.1
drwxrwxr-x. 17 root root 4096 Nov 30 16:11 libpsl
drwxrwxr-x. 16 root root 57344 Nov 30 16:12 nettle
drwxrwxr-x. 20 root root 4096 Nov 30 16:26 gnutls
drwxr-xr-x. 9 msetzerii msetzerii 4096 Nov 30 16:27 libmicrohttpd-0.9.73
drwxrwxr-x. 11 root root 4096 Nov 30 16:29 gnulib
-rw-r--r--. 1 root root 93787 Nov 30 16:30 ABOUT-NLS
-rw-rw-r--. 1 root root 4577 Nov 30 16:30 GNUmakefile
-rw-rw-r--. 1 root root 66484 Nov 30 16:31 maint.mk
drwxrwxr-x. 2 root root 12288 Nov 30 16:31 m4
drwxrwxr-x. 6 root root 4096 Nov 30 16:31 wiki
-rw-rw-r--. 1 root root 62992 Nov 30 16:32 aclocal.m4
-rwxrwxr-x. 1 root root 1666708 Nov 30 16:32 configure
-rw-rw-r--. 1 root root 86416 Nov 30 16:32 config.h.in
-rw-rw-r--. 1 root root 6747 Nov 30 16:32 aminclude_static.am
drwxr-xr-x. 2 root root 4096 Nov 30 16:32 autom4te.cache
-rw-rw-r--. 1 root root 93613 Nov 30 16:32 Makefile.in
drwxrwxr-x. 2 root root 4096 Nov 30 16:32 build-aux
lrwxrwxrwx. 1 root root 18 Nov 30 16:32 INSTALL ->
gnulib/doc/INSTALL
-rwxrwxr-x. 1 root root 120600 Nov 30 16:33 config.status
-rw-rw-r--. 1 root root 78584 Nov 30 16:33 Makefile
drwxrwxr-x. 3 root root 4096 Nov 30 16:33 include
-rw-rw-r--. 1 root root 294 Nov 30 16:33 libwget.pc
drwxrwxr-x. 3 root root 4096 Nov 30 16:33 docs
-rw-rw-r--. 1 root root 89866 Nov 30 16:33 config.h
-rw-rw-r--. 1 root root 23 Nov 30 16:33 stamp-h1
drwxrwxr-x. 3 root root 4096 Nov 30 16:33 libwget
drwxrwxr-x. 3 root root 4096 Nov 30 16:33 src
drwxrwxr-x. 3 root root 4096 Nov 30 16:33 examples
drwxrwxr-x. 4 root root 4096 Nov 30 16:33 unit-tests
drwxrwxr-x. 5 root root 4096 Nov 30 16:33 tests
drwxrwxr-x. 26 root root 4096 Nov 30 16:33 fuzz
-rwxrwxr-x. 1 root root 340433 Nov 30 16:33 libtool
drwxrwxr-x. 3 root root 4096 Nov 30 16:33 po
-rw-rw-r--. 1 root root 3515265 Nov 30 16:33 config.log
drwxrwxr-x. 9 root root 32768 Nov 30 16:33 lib
That is contents of dir after the failure below..
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[3]: Leaving directory '/root/wget2/lib'
make[2]: *** [Makefile:2202: all] Error 2
make[2]: Leaving directory '/root/wget2/lib'
make[1]: *** [Makefile:1827: all-recursive] Error 1
make[1]: Leaving directory '/root/wget2'
make: *** [Makefile:1735: all] Error 2
[root@setzconote wget2]#
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/issues/567#note_747200242
You're receiving this email because of your account on gitlab.com.
- wget2 | Building on Windows (#567), Shadab Zafar (@dufferzafar), 2021/11/14
- Re: wget2 | Building on Windows (#567), @rockdaboot, 2021/11/14
- Re: wget2 | Building on Windows (#567), Michael Setzer II (@msetzerii), 2021/11/29
- Re: wget2 | Building on Windows (#567), Michael Setzer II (@msetzerii), 2021/11/29
- Re: wget2 | Building on Windows (#567), Michael Setzer II (@msetzerii), 2021/11/29
- Re: wget2 | Building on Windows (#567), Michael Setzer II (@msetzerii), 2021/11/29
- Re: wget2 | Building on Windows (#567), Michael Setzer II (@msetzerii), 2021/11/29
- Re: wget2 | Building on Windows (#567), Michael Setzer II (@msetzerii), 2021/11/29
- Re: wget2 | Building on Windows (#567),
Michael Setzer II (@msetzerii) <=
- Re: wget2 | Building on Windows (#567), Gisle Vanem (@gvanem), 2021/11/30
- Re: wget2 | Building on Windows (#567), Michael Setzer II (@msetzerii), 2021/11/30
- Re: wget2 | Building on Windows (#567), Michael Setzer II (@msetzerii), 2021/11/30