Giter Club home page Giter Club logo

aria2-static-builds's People

Contributors

q3aql avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aria2-static-builds's Issues

Would you, please, add DLL too?

Since I can't compile myself with Mingw64 showing up many unknown errors, different versions, no make neither configure files for c-ares, etc. and of course not knowing if the resultant executable or DLL is correct, since I got a 150MB executable after many attempts, I rather ask you, if would you mind adding it along the executables?.

[update request] v1.36.0

Hello, thanks for having this repository, it works really well.
other than TLSv1.3, the new version solves some resume-corruption with extra flashing of file buffers.

also.. if possible please include in the exe resources the manifest to help this exe run without virtualization on Windows 10:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> 
    <security> 
      <requestedPrivileges> 
        <requestedExecutionLevel level="asInvoker" uiAccess="false" /> 
      </requestedPrivileges> 
    </security> 
  </trustInfo> 
  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> 
    <application> 
      <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"></supportedOS> 
      <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"></supportedOS> 
      <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"></supportedOS> 
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"></supportedOS> 
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS> 
    </application> 
  </compatibility> 
</assembly> 

here is a compiled .res file
aria2c_manifest_to_embed.res.zip

edit: it can support path longer than 260-characters using this updated manifest (if a user has enabled it) :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 
  <application xmlns="urn:schemas-microsoft-com:asm.v3"> 
    <windowsSettings> 
      <longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware> 
    </windowsSettings>
  </application> 
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> 
    <security> 
      <requestedPrivileges> 
        <requestedExecutionLevel level="asInvoker" uiAccess="false" /> 
      </requestedPrivileges> 
    </security> 
  </trustInfo> 
  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> 
    <application> 
      <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"></supportedOS> 
      <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"></supportedOS> 
      <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"></supportedOS> 
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"></supportedOS> 
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS> 
    </application> 
  </compatibility> 
</assembly> 
 

Here is a VERSIONINFO block for the exe:

1 VERSIONINFO
FILEVERSION 1,36,0,0
PRODUCTVERSION 1,36,0,0
FILEOS 0x40004
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
	BLOCK "040904B0"
	{
		VALUE "Comments", "https://github.com/q3aql/aria2-static-builds"
		VALUE "FileDescription", "Multipart Command-Line Downloader"
		VALUE "InternalName", "aria2c.exe"
		VALUE "OriginalFilename", "aria2c.exe"
		VALUE "CompanyName", "Aria2"
		VALUE "LegalCopyright", "https://github.com/q3aql/aria2-static-builds/blob/master/LICENSE.txt"
		VALUE "ProductName", "Aria2C"
		VALUE "FileVersion", "1.36.0.0"
		VALUE "ProductVersion", "1.36.0.0"
	}
}

BLOCK "VarFileInfo"
{
	VALUE "Translation", 0x0409 0x04B0  
}
}

and simple icon I've made
MAINICON.ico.zip
so right click the exe file gives extra information in WIndows, which is more user-friendly:
2021-08-27_004927
2021-08-27_004648
2021-08-27_004808

here is a compiled .res file. you can use ResourceHacker post-compile to manually embed the resource file
(use the menu to import, choose from exe/dll/res) without the need to change your compilation scripts (unless you want to).
icon_versioninfo_manifest_with_longpath_support.res.zip

Add LICENCE file + Link in README

Hello,
I checked your project and it is very interesting. I saw that the licence was precised on your website(https://aria2.github.io/) but not in the repository (no LICENCE file) so I was thinking to add it. Also , I think it would be good to add a link to your LICENCE in your README.

Difference between this and aria2 builds

Hello
I've been having trouble getting https working with the standard aria2 download. Spent hours trying to find the problem on Windows7. After all that wasted time, I tried your version here with ca-certificates and it worked first time. Thanks. I thought my problem was due to ciphers. Wireshark could not tell me what was wrong. TLS 1.2 was working then I saw the cipher list sent, then I got failure. Is this the reason you have your version here? Thanks again.

[Windows] [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: protocol error

  1. I've installed/trusted the Mozilla CA certificate bundle https://curl.se/docs/caextract.html in the Windows certificate storage (--ca-certificate= does not work in Windows).
  2. command line includes --check-certificate=false and --min-tls-version=TLSv1.2.
  3. target file https://mirror.alpix.eu/linuxliteos/isos/6.0/linux-lite-6.0-64bit.iso

works with build from aria2/aria2,
but

the build from here gives an error (log attached)
2022-06-19 14:52:31.321259 [INFO] [Context.cc:179] <<--- --- --- ---
2022-06-19 14:52:31.352374 [INFO] [Context.cc:180]   --- --- --- ---
2022-06-19 14:52:31.354372 [INFO] [Context.cc:181]   --- --- --- --->>
2022-06-19 14:52:31.354372 [INFO] [Context.cc:182] aria2 1.36.0
2022-06-19 14:52:31.355369 [INFO] [Context.cc:183] mingw-w64 8.0.0 (alpha) / gcc 10-win32 20210110
  built by  x86_64-pc-linux-gnu
  targeting x86_64-w64-mingw32
  on        Aug 27 2021 12:56:53
2022-06-19 14:52:31.355369 [INFO] [Context.cc:184] Windows Vista (x86_64) (10.0)
2022-06-19 14:52:31.355369 [INFO] [Context.cc:185] zlib/1.2.11 expat/2.4.1 sqlite3/3.36.0 OpenSSL/1.1.1l c-ares/1.17.2 libssh2/1.9.0
2022-06-19 14:52:31.355369 [INFO] [Context.cc:186] Logging started.
2022-06-19 14:52:31.355369 [INFO] [SocketCore.cc:1585] Checking configured addresses
2022-06-19 14:52:31.359549 [INFO] [SocketCore.cc:1649] Not considered: fe80::75a0:7c9d:4143:626c%14
2022-06-19 14:52:31.360560 [INFO] [SocketCore.cc:1649] Not considered: 169.254.98.108
2022-06-19 14:52:31.361549 [INFO] [SocketCore.cc:1649] Not considered: fe80::6568:4513:68f8:e3b2%18
2022-06-19 14:52:31.361549 [INFO] [SocketCore.cc:1649] Not considered: 169.254.227.178
2022-06-19 14:52:31.362549 [INFO] [SocketCore.cc:1649] Not considered: fe80::f13b:913a:7669:cba4%15
2022-06-19 14:52:31.362549 [INFO] [SocketCore.cc:1649] Not considered: 169.254.203.164
2022-06-19 14:52:31.363549 [INFO] [SocketCore.cc:1649] Not considered: fe80::68ba:3836:642d:cf5d%17
2022-06-19 14:52:31.364549 [INFO] [SocketCore.cc:1646] Found configured address: 192.168.0.189
2022-06-19 14:52:31.364549 [INFO] [SocketCore.cc:1649] Not considered: ::1
2022-06-19 14:52:31.365549 [INFO] [SocketCore.cc:1649] Not considered: 127.0.0.1
2022-06-19 14:52:31.365549 [INFO] [SocketCore.cc:1656] IPv4 configured=1, IPv6 configured=0
2022-06-19 14:52:31.366549 [NOTICE] [Context.cc:310] Downloading 1 item(s)
2022-06-19 14:52:31.442861 [INFO] [LibsslTLSContext.cc:295] Trusted CA certificates were successfully added.
2022-06-19 14:52:31.445932 [DEBUG] [RequestGroupMan.cc:591] 1 RequestGroup(s) added.
2022-06-19 14:52:31.448932 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:0, hup:0, err:0
2022-06-19 14:52:31.450933 [DEBUG] [FeedbackURISelector.cc:162] Selected from normCands
2022-06-19 14:52:31.450933 [DEBUG] [FeedbackURISelector.cc:84] FeedbackURISelector selected https://mirror.alpix.eu/linuxliteos/isos/6.0/linux-lite-6.0-64bit.iso
2022-06-19 14:52:31.451931 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:0, hup:0, err:0
2022-06-19 14:52:31.469943 [INFO] [AsyncNameResolverMan.cc:82] CUID#7 - Resolving hostname mirror.alpix.eu
2022-06-19 14:52:31.535298 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:0, hup:0, err:0
2022-06-19 14:52:31.540337 [INFO] [AbstractCommand.cc:816] CUID#7 - Name resolution complete: mirror.alpix.eu -> 176.9.28.85
2022-06-19 14:52:31.543298 [INFO] [HttpInitiateConnectionCommand.cc:123] CUID#7 - Connecting to 176.9.28.85:443
2022-06-19 14:52:31.547296 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:0, hup:0, err:0
2022-06-19 14:52:31.610819 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:1, hup:0, err:0
2022-06-19 14:52:31.615741 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:0, write:1, hup:0, err:0
2022-06-19 14:52:31.617828 [DEBUG] [SocketCore.cc:926] Creating TLS session
2022-06-19 14:52:31.618935 [DEBUG] [SocketCore.cc:946] TLS Handshaking
2022-06-19 14:52:31.685027 [DEBUG] [AbstractCommand.cc:181] CUID#7 - socket: read:1, write:0, hup:0, err:0
2022-06-19 14:52:31.690022 [ERROR] [AbstractCommand.cc:349] CUID#7 - Download aborted. URI=https://mirror.alpix.eu/linuxliteos/isos/6.0/linux-lite-6.0-64bit.iso
Exception: [AbstractCommand.cc:351] errorCode=1 URI=https://mirror.alpix.eu/linuxliteos/isos/6.0/linux-lite-6.0-64bit.iso
  -> [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: protocol error
2022-06-19 14:52:31.691983 [DEBUG] [AbstractCommand.cc:479] CUID#7 - Aborting download
2022-06-19 14:52:31.693996 [DEBUG] [AbstractCommand.cc:423] CUID#7 - Not trying next request. No reserved/pooled request is remaining and total length is still unknown.
2022-06-19 14:52:31.694993 [DEBUG] [RequestGroup.cc:983] GID#7cde1a444fcaa4ad - Request queue check
2022-06-19 14:52:31.695992 [NOTICE] [RequestGroupMan.cc:424] Download GID#7cde1a444fcaa4ad not complete: 
2022-06-19 14:52:31.695992 [DEBUG] [RequestGroup.cc:1173] GID#7cde1a444fcaa4ad - Creating DownloadResult.
2022-06-19 14:52:31.696993 [DEBUG] [RequestGroupMan.cc:481] 1 RequestGroup(s) deleted.

the log seems a little different with aria2/aria2 build.


note,
I've switched some time ago from Windows to linux,
so it does not matter to me too much..
I just found this log (verbose-debug) and thought it might as well open this.

thanks.

Static build fails on FreeBSD (FreeBSD make+clang+GNU ld/LLVM lld)

Statically linked build fails
OS: FreeBSD 11.2-RELEASE-p4 amd64 GENERIC

Used flags:

$ ./configure --prefix=$HOME/.local CFLAGS=-static LDFLAGS=-static --without-libxml2 --without-libgcrypt --without-libnettle --without-gnutls --without-libgmp --with-ca-bundle=/home/fr0xk/Downloads/ca-certificates.crt ARIA2_STATIC=yes --enable-shared=no

configure: summary of build options:

    version:        1.0.1-DEV shared 0:1:0
    Host type:      x86_64-unknown-freebsd11.2
    Install prefix: /home/fr0xk/.local
    C compiler:     cc
    CFlags:         -static
    Library types:  Shared=no, Static=yes
    CUnit:          no
    Nettle:         yes
    Build examples: no

configure: summary of build options:

Build:          x86_64-unknown-freebsd11.2
Host:           x86_64-unknown-freebsd11.2
Target:         x86_64-unknown-freebsd11.2
Install prefix: /home/fr0xk/.local
CC:             cc
CXX:            c++
CPP:            cc -E
CXXFLAGS:       -g -O2
CFLAGS:         -static
CPPFLAGS:       
LDFLAGS:        -static
LIBS:           
DEFS:           -DHAVE_CONFIG_H
CXX1XCXXFLAGS:  
EXTRACXXFLAGS:   -pipe
EXTRACFLAGS:     -pipe
EXTRACPPFLAGS:  
EXTRALDFLAGS:    -all-static
EXTRALIBS:       -lpthread -ldl -lrt
WARNCXXFLAGS:   
LibUV:          no (CFLAGS='' LIBS='')
SQLite3:        yes (CFLAGS='-I/usr/local/include ' LIBS='-L/usr/local/lib -lsqlite3 -lz -lm -lpthread ')
SSL Support:    no
AppleTLS:       no (LDFLAGS='')
WinTLS:         no (LIBS='')
GnuTLS:         no (CFLAGS='' LIBS='')
OpenSSL:        no (CFLAGS='' LIBS='')
CA Bundle:      /home/fr0xk/Downloads/ca-certificates.crt
LibNettle:      no (CFLAGS='' LIBS='')
LibGmp:         no (CFLAGS='' LIBS='')
LibGcrypt:      no (CFLAGS='' LIBS='')
LibXML2:        no (CFLAGS='' LIBS='')
LibExpat:       yes (CFLAGS='-I/usr/local/include ' LIBS='-L/usr/local/lib -lexpat ')
LibCares:       no (CFLAGS='' LIBS='')
Zlib:           yes (CFLAGS='' LIBS='-lz ')
Libssh2:        no (CFLAGS='' LIBS='')
Tcmalloc:       no (CFLAGS='' LIBS='')
Jemalloc:       no (CFLAGS='' LIBS='')
Epoll:          no
Bittorrent:     yes
Metalink:       yes
XML-RPC:        yes
Message Digest: internal
WebSocket:      yes (CFLAGS='-I$(top_builddir)/deps/wslay/lib/includes -I$(top_srcdir)/deps/wslay/lib/includes' LIBS='$(top_builddir)/deps/wslay/lib/libwslay.la')
Libaria2:       no (shared=no static=yes)
bash_completion dir: ${datarootdir}/doc/${PACKAGE_TARNAME}/bash_completion
Static build:   yes

$ make

See logs via:
$ cat build.log
build.log

aria2 can't be daemonized

aria2 version:linux-gnu-arm-rbpi 1.32
os: netgear readynas 4.4.68.armada.1 #1 SMP Wed May 31 17:40:50 PDT 2017 armv7l GNU/Linux

aria2 running is ok.
but when run aria2c -D or aria2c --daemon=true or daemon=true in aria2.conf all not work
aria2 log nothing help.
use screen to use aria2?
anyway to find out why this happenning?

Protocol Error

Just tried this with easynews and got this error -

errorCode=1 SSL/TLS handshake failure: protocol error

I'm using your latest exe and certificate file. Any ideas?

here is my log...

2021-11-25 16:49:03.955223 [INFO] [Context.cc:179] <<--- --- --- ---
2021-11-25 16:49:03.955223 [INFO] [Context.cc:180] --- --- --- ---
2021-11-25 16:49:03.955223 [INFO] [Context.cc:181] --- --- --- --->>
2021-11-25 16:49:03.955223 [INFO] [Context.cc:182] aria2 1.36.0
2021-11-25 16:49:03.955223 [INFO] [Context.cc:183] mingw-w64 8.0.0 (alpha) / gcc 10-win32 20210110
built by x86_64-pc-linux-gnu
targeting x86_64-w64-mingw32
on Aug 27 2021 12:56:53
2021-11-25 16:49:03.955223 [INFO] [Context.cc:184] Windows 7 (Service Pack 1) (x86_64) (6.1)
2021-11-25 16:49:03.955223 [INFO] [Context.cc:185] zlib/1.2.11 expat/2.4.1 sqlite3/3.36.0 OpenSSL/1.1.1l c-ares/1.17.2 libssh2/1.9.0
2021-11-25 16:49:03.956223 [INFO] [Context.cc:186] Logging started.
2021-11-25 16:49:03.956223 [INFO] [SocketCore.cc:1585] Checking configured addresses
2021-11-25 16:49:03.957223 [INFO] [SocketCore.cc:1646] Found configured address: 2001:569:bef3:3000:ecfb:48a3:bea9:5be3
2021-11-25 16:49:03.957223 [INFO] [SocketCore.cc:1646] Found configured address: 2001:569:bef3:3000:a445:898d:223b:d4e1
2021-11-25 16:49:03.957223 [INFO] [SocketCore.cc:1649] Not considered: fe80::ecfb:48a3:bea9:5be3%11
2021-11-25 16:49:03.957223 [INFO] [SocketCore.cc:1646] Found configured address: 192.168.1.69
2021-11-25 16:49:03.957223 [INFO] [SocketCore.cc:1649] Not considered: ::1
2021-11-25 16:49:03.957223 [INFO] [SocketCore.cc:1649] Not considered: 127.0.0.1
2021-11-25 16:49:03.957223 [INFO] [SocketCore.cc:1656] IPv4 configured=1, IPv6 configured=1
2021-11-25 16:49:03.958223 [NOTICE] [Context.cc:310] Downloading 1 item(s)
2021-11-25 16:49:03.965223 [INFO] [LibsslTLSContext.cc:295] Trusted CA certificates were successfully added.
2021-11-25 16:49:03.968224 [INFO] [AsyncNameResolverMan.cc:82] CUID#7 - Resolving hostname members.easynews.com
2021-11-25 16:49:04.092231 [INFO] [AbstractCommand.cc:816] CUID#7 - Name resolution complete: members.easynews.com -> 85.12.55.247
2021-11-25 16:49:04.092231 [INFO] [HttpInitiateConnectionCommand.cc:123] CUID#7 - Connecting to 85.12.55.247:443
2021-11-25 16:49:04.257240 [ERROR] [AbstractCommand.cc:349] CUID#7 - Download aborted. URI=https://members.easynews.com/dl/lax/443/888f938c21620b0878dd48899ea448330f7301dcc6fce.mkv
Exception: [AbstractCommand.cc:351] errorCode=1 URI=https://members.easynews.com/dl/lax/443/888f938c21620b0878dd48899ea448330f7301dcc6fce.mkv
-> [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: protocol error
2021-11-25 16:49:04.259240 [NOTICE] [RequestGroupMan.cc:424] Download GID#309333b3df3249fc not complete:

Build with more than a maximum of 16 connections

Hi,

would it be possible to create a win64 build with more than 16 connections? Preferrably just -1 so it's unlimited.
Shown here aria2/aria2@c61bf17
I tried to build it with Ubuntu and Linux Mint for the last 10 hours but I just can't do it.
I'm always stuck on

root@tami-VirtualBox:/home/tami/Desktop/aria2# make
make  all-recursive
make[1]: Entering directory '/home/tami/Desktop/aria2'
Making all in po
make[2]: Entering directory '/home/tami/Desktop/aria2/po'
make[2]: Leaving directory '/home/tami/Desktop/aria2/po'
Making all in lib
make[2]: Entering directory '/home/tami/Desktop/aria2/lib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tami/Desktop/aria2/lib'
Making all in deps
make[2]: Entering directory '/home/tami/Desktop/aria2/deps'
Making all in wslay
make[3]: Entering directory '/home/tami/Desktop/aria2/deps/wslay'
make  all-recursive
make[4]: Entering directory '/home/tami/Desktop/aria2/deps/wslay'
Making all in lib
make[5]: Entering directory '/home/tami/Desktop/aria2/deps/wslay/lib'
Making all in includes
make[6]: Entering directory '/home/tami/Desktop/aria2/deps/wslay/lib/includes'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/tami/Desktop/aria2/deps/wslay/lib/includes'
make[6]: Entering directory '/home/tami/Desktop/aria2/deps/wslay/lib'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/x86_64-w64-mingw32/include -Wall -g -O2 -MT wslay_frame.lo -MD -MP -MF .deps/wslay_frame.Tpo -c -o wslay_frame.lo wslay_frame.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/x86_64-w64-mingw32/include -Wall -g -O2 -MT wslay_frame.lo -MD -MP -MF .deps/wslay_frame.Tpo -c wslay_frame.c  -DDLL_EXPORT -DPIC -o .libs/wslay_frame.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/x86_64-w64-mingw32/include -Wall -g -O2 -MT wslay_frame.lo -MD -MP -MF .deps/wslay_frame.Tpo -c wslay_frame.c -o wslay_frame.o >/dev/null 2>&1
mv -f .deps/wslay_frame.Tpo .deps/wslay_frame.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/x86_64-w64-mingw32/include -Wall -g -O2 -MT wslay_event.lo -MD -MP -MF .deps/wslay_event.Tpo -c -o wslay_event.lo wslay_event.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/x86_64-w64-mingw32/include -Wall -g -O2 -MT wslay_event.lo -MD -MP -MF .deps/wslay_event.Tpo -c wslay_event.c  -DDLL_EXPORT -DPIC -o .libs/wslay_event.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/x86_64-w64-mingw32/include -Wall -g -O2 -MT wslay_event.lo -MD -MP -MF .deps/wslay_event.Tpo -c wslay_event.c -o wslay_event.o >/dev/null 2>&1
mv -f .deps/wslay_event.Tpo .deps/wslay_event.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/x86_64-w64-mingw32/include -Wall -g -O2 -MT wslay_queue.lo -MD -MP -MF .deps/wslay_queue.Tpo -c -o wslay_queue.lo wslay_queue.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/x86_64-w64-mingw32/include -Wall -g -O2 -MT wslay_queue.lo -MD -MP -MF .deps/wslay_queue.Tpo -c wslay_queue.c  -DDLL_EXPORT -DPIC -o .libs/wslay_queue.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/x86_64-w64-mingw32/include -Wall -g -O2 -MT wslay_queue.lo -MD -MP -MF .deps/wslay_queue.Tpo -c wslay_queue.c -o wslay_queue.o >/dev/null 2>&1
mv -f .deps/wslay_queue.Tpo .deps/wslay_queue.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/x86_64-w64-mingw32/include -Wall -g -O2 -MT wslay_net.lo -MD -MP -MF .deps/wslay_net.Tpo -c -o wslay_net.lo wslay_net.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/x86_64-w64-mingw32/include -Wall -g -O2 -MT wslay_net.lo -MD -MP -MF .deps/wslay_net.Tpo -c wslay_net.c  -DDLL_EXPORT -DPIC -o .libs/wslay_net.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -I/usr/x86_64-w64-mingw32/include -Wall -g -O2 -MT wslay_net.lo -MD -MP -MF .deps/wslay_net.Tpo -c wslay_net.c -o wslay_net.o >/dev/null 2>&1
mv -f .deps/wslay_net.Tpo .deps/wslay_net.Plo
/bin/bash ../libtool  --tag=CC   --mode=link gcc -Wall -g -O2 -no-undefined -version-info 0:1:0 -L/usr/x86_64-w64-mingw32/lib -o libwslay.la   wslay_frame.lo wslay_event.lo wslay_queue.lo wslay_net.lo  -lws2_32 
libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
libtool: link: rm -fr  .libs/libwslay.a .libs/libwslay.la
libtool: link: ar cr .libs/libwslay.a .libs/wslay_frame.o .libs/wslay_event.o .libs/wslay_queue.o .libs/wslay_net.o 
libtool: link: ranlib .libs/libwslay.a
libtool: link: ( cd ".libs" && rm -f "libwslay.la" && ln -s "../libwslay.la" "libwslay.la" )
make[6]: Leaving directory '/home/tami/Desktop/aria2/deps/wslay/lib'
make[5]: Leaving directory '/home/tami/Desktop/aria2/deps/wslay/lib'
Making all in tests
make[5]: Entering directory '/home/tami/Desktop/aria2/deps/wslay/tests'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/tami/Desktop/aria2/deps/wslay/tests'
make[5]: Entering directory '/home/tami/Desktop/aria2/deps/wslay'
make[5]: Leaving directory '/home/tami/Desktop/aria2/deps/wslay'
make[4]: Leaving directory '/home/tami/Desktop/aria2/deps/wslay'
make[3]: Leaving directory '/home/tami/Desktop/aria2/deps/wslay'
make[3]: Entering directory '/home/tami/Desktop/aria2/deps'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tami/Desktop/aria2/deps'
make[2]: Leaving directory '/home/tami/Desktop/aria2/deps'
Making all in src
make[2]: Entering directory '/home/tami/Desktop/aria2/src'
Making all in includes
make[3]: Entering directory '/home/tami/Desktop/aria2/src/includes'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tami/Desktop/aria2/src/includes'
make[3]: Entering directory '/home/tami/Desktop/aria2/src'
  CXX      WinConsoleFile.lo
In file included from WinConsoleFile.cc:36:
./WinConsoleFile.h:48:18: error: unknown type name 'DWORD'
  WinConsoleFile(DWORD stdHandle);
                 ^
./WinConsoleFile.h:57:3: error: unknown type name 'DWORD'
  DWORD stdHandle_;
  ^
./WinConsoleFile.h:61:3: error: unknown type name 'WORD'
  WORD fg_, deffg_;
  ^
./WinConsoleFile.h:62:3: error: unknown type name 'WORD'
  WORD bg_, defbg_;
  ^
./WinConsoleFile.h:65:10: error: unknown type name 'HANDLE'
  inline HANDLE handle() const { return ::GetStdHandle(stdHandle_); }
         ^
./WinConsoleFile.h:65:43: error: no member named 'GetStdHandle' in the global namespace
  inline HANDLE handle() const { return ::GetStdHandle(stdHandle_); }
                                        ~~^
WinConsoleFile.cc:54:7: error: unknown type name 'WORD'
const WORD kForeground[] = {
      ^
WinConsoleFile.cc:56:5: error: use of undeclared identifier 'FOREGROUND_RED'
    FOREGROUND_RED,                     // red
    ^
WinConsoleFile.cc:57:5: error: use of undeclared identifier 'FOREGROUND_GREEN'
    FOREGROUND_GREEN,                   // green
    ^
WinConsoleFile.cc:58:5: error: use of undeclared identifier 'FOREGROUND_RED'
    FOREGROUND_RED | FOREGROUND_GREEN,  // yellow
    ^
WinConsoleFile.cc:58:22: error: use of undeclared identifier 'FOREGROUND_GREEN'
    FOREGROUND_RED | FOREGROUND_GREEN,  // yellow
                     ^
WinConsoleFile.cc:59:5: error: use of undeclared identifier 'FOREGROUND_BLUE'
    FOREGROUND_BLUE,                    // blue
    ^
WinConsoleFile.cc:60:5: error: use of undeclared identifier 'FOREGROUND_BLUE'
    FOREGROUND_BLUE | FOREGROUND_RED,   // magenta
    ^
WinConsoleFile.cc:60:23: error: use of undeclared identifier 'FOREGROUND_RED'
    FOREGROUND_BLUE | FOREGROUND_RED,   // magenta
                      ^
WinConsoleFile.cc:61:5: error: use of undeclared identifier 'FOREGROUND_BLUE'
    FOREGROUND_BLUE | FOREGROUND_GREEN, // cyan
    ^
WinConsoleFile.cc:61:23: error: use of undeclared identifier 'FOREGROUND_GREEN'
    FOREGROUND_BLUE | FOREGROUND_GREEN, // cyan
                      ^
WinConsoleFile.cc:62:5: error: use of undeclared identifier 'FOREGROUND_RED'
    FOREGROUND_WHITE                    // white
    ^
WinConsoleFile.cc:49:26: note: expanded from macro 'FOREGROUND_WHITE'
#define FOREGROUND_WHITE FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE
                         ^
WinConsoleFile.cc:62:5: error: use of undeclared identifier 'FOREGROUND_GREEN'
WinConsoleFile.cc:49:43: note: expanded from macro 'FOREGROUND_WHITE'
#define FOREGROUND_WHITE FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE
                                          ^
WinConsoleFile.cc:62:5: error: use of undeclared identifier 'FOREGROUND_BLUE'
WinConsoleFile.cc:49:62: note: expanded from macro 'FOREGROUND_WHITE'
#define FOREGROUND_WHITE FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE
                                                             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [Makefile:2637: WinConsoleFile.lo] Error 1
make[3]: Leaving directory '/home/tami/Desktop/aria2/src'
make[2]: *** [Makefile:2678: all-recursive] Error 1
make[2]: Leaving directory '/home/tami/Desktop/aria2/src'
make[1]: *** [Makefile:555: all-recursive] Error 1
make[1]: Leaving directory '/home/tami/Desktop/aria2'
make: *** [Makefile:466: all] Error 2

Would it be possible to help me fix this or make a win64 release with this change?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.