Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#4213 closed defect (fixed)

Current Git master fails to build on Windows

Reported by: masaykh Owned by: asn
Priority: High Milestone: Tor: 0.2.3.x-final
Component: Core Tor/Tor Version: Tor:
Severity: Keywords: tor-bridge
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.6.1/configure --enable-languages=c,c++,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp -
-disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.1 (GCC)

mingw installed using with latest installer.

trying to compile tor from git

Having this error:
$ make
make all-recursive
make[1]: Entering directory `/tor'
Making all in src
make[2]: Entering directory `/tor/src'
Making all in common
make[3]: Entering directory `/tor/src/common'
gcc -DHAVE_CONFIG_H -I. -I../.. -march=k8-sse3 -I../../src/common -march=k8-sse3 -Wall -fno-strict-aliasing -MT util.o -MD -MP -MF .deps/util.Tpo -c -o ut
il.o util.c
util.c: In function 'tor_check_port_forwarding':
util.c:3980:43: error: invalid operands to binary & (have 'void *' and 'process_handle_t')
util.c:3980:5: error: too few arguments to function 'tor_spawn_background'
util.c:3215:1: note: declared here
make[3]: * [util.o] Error 1
make[3]: Leaving directory `/tor/src/common'
* [all-recursive] Error 1
make[2]: Leaving directory `/tor/src'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/tor'
* [all] Error 2

Child Tickets

Change History (6)

comment:1 Changed 9 years ago by masaykh

Source tarball
compiled without errors and working fine.

comment:2 Changed 9 years ago by rransom

Component: - Select a componentTor Bridge
Milestone: Tor: 0.2.3.x-final
Owner: set to asn
Priority: criticalmajor
Status: newassigned
Summary: can`t compile using mingw (gcc 4.6.1)Current Git master fails to build on Windows

comment:3 Changed 9 years ago by nickm

Probably my fault when I merged asn's code. I tried adding the obvious missing comma. Better now?

comment:4 Changed 9 years ago by nickm

Resolution: fixed
Status: assignedclosed

Presuming it's better now, since we actually out the release.

comment:5 Changed 8 years ago by nickm

Keywords: tor-bridge added

comment:6 Changed 8 years ago by nickm

Component: Tor BridgeTor
Note: See TracTickets for help on using tickets.