[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #4213 [- Select a component]: can`t compile using mingw (gcc 4.6.1)



#4213: can`t compile using mingw (gcc 4.6.1)
----------------------------------+-----------------------------------------
 Reporter:  masaykh               |          Owner:                    
     Type:  defect                |         Status:  new               
 Priority:  critical              |      Milestone:                    
Component:  - Select a component  |        Version:  Tor: 0.2.3.5-alpha
 Keywords:                        |         Parent:                    
   Points:                        |   Actualpoints:                    
----------------------------------+-----------------------------------------
 Using built-in specs.
 COLLECT_GCC=C:\MinGW\bin\gcc.exe
 COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.1/lto-
 wrapper.exe
 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'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/tor/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/tor'
 make: *** [all] Error 2

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4213>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs