[Bug 26088] New: WINE fails to compile when configured with --without-pthread

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 13 06:36:38 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=26088

           Summary: WINE fails to compile when configured with
                    --without-pthread
           Product: Wine
           Version: 1.3.13
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: silas-wine at flatline.org.uk


After doing ./configure --without-pthread and make, I get compile errors as
below.

I need without-pthread because I'm compiling for old hardware that's running a
2.4 Linux kernel and cannot be upgraded to 2.6.

Wine 1.2 and Wine 1.3.13 won't compile, but Wine 1.0 compiles OK (although I
have not yet been able to test the resulting binary on the target kernel).

loader.o(.text+0x5748): In function `attach_process_dlls':
/wine-1.3.13/dlls/ntdll/loader.c:2532: undefined reference to `pthread_sigmask'
server.o(.text+0x382): In function `wine_server_call':
/wine-1.3.13/dlls/ntdll/server.c:289: undefined reference to `pthread_sigmask'
server.o(.text+0x3ac):/wine-1.3.13/dlls/ntdll/server.c:292: undefined reference
to `pthread_sigmask'
server.o(.text+0x41d): In function `server_enter_uninterrupted_section':
/wine-1.3.13/dlls/ntdll/server.c:302: undefined reference to `pthread_sigmask'
server.o(.text+0x477): In function `server_leave_uninterrupted_section':
/wine-1.3.13/dlls/ntdll/server.c:313: undefined reference to `pthread_sigmask'
server.o(.text+0x15f8):/wine-1.3.13/dlls/ntdll/server.c:994: more undefined
references to `pthread_sigmask' follow
thread.o(.text+0xd04): In function `exit_thread':
/wine-1.3.13/dlls/ntdll/thread.c:360: undefined reference to `pthread_join'
thread.o(.text+0xdeb): In function `start_thread':
/wine-1.3.13/dlls/ntdll/thread.c:393: undefined reference to `pthread_sigmask'
thread.o(.text+0x10b4): In function `RtlCreateUserThread':
/wine-1.3.13/dlls/ntdll/thread.c:477: undefined reference to `pthread_sigmask'
thread.o(.text+0x11d2):/wine-1.3.13/dlls/ntdll/thread.c:501: undefined
reference to `pthread_attr_setstack'
thread.o(.text+0x121b):/wine-1.3.13/dlls/ntdll/thread.c:505: undefined
reference to `pthread_create'
thread.o(.text+0x1249):/wine-1.3.13/dlls/ntdll/thread.c:513: undefined
reference to `pthread_sigmask'
thread.o(.text+0x12dd):/wine-1.3.13/dlls/ntdll/thread.c:524: undefined
reference to `pthread_sigmask'
collect2: ld returned 1 exit status
winegcc: gcc failed
make[1]: *** [ntdll.dll.so] Error 2
make[1]: Leaving directory `/wine-1.3.13/dlls/ntdll'
make: *** [dlls/ntdll] Error 2

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list