EkaLestari / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

ld: cannot find -lpthread #314

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello everybody,

I'm actually trying to compile Xuggler on a Windows Vista 64bits and i'm stuck 
on an error. Actually in the config.err, i'm getting the following error : ld: 
cannot find -lpthread

In the Windows console i'm getting this error :

     [exec] Configuring selected codecs
     [exec]   enabling vp8_encoder
     [exec]   enabling vp8_decoder
     [exec] Configuring for target 'generic-gnu'
     [exec]   enabling generic
     [exec] Toolchain is unable to link executables
     [exec]
     [exec] Configuration failed. This could reflect a misconfiguration of your
     [exec] toolchains, improper options selected, or another problem. If you
     [exec] don't see any useful error messages above, the next step is to look
     [exec] at the configure error log file (config.err) to determine what
     [exec] configure was trying to do when it died.
     [exec] make[2]: *** [/c/xuggle-xuggler/build/native/i686-pc-mingw32/captive
/libvpx/csrc/Makefile] Error 1
     [exec] make[1]: *** [all-recursive] Error 1
     [exec] Could not configure library: "/c/xuggle-xuggler/build/native/i686-pc
-mingw32/captive/../../../../captive/libvpx"; you may want to try disabling it o
r installing your own version
     [exec] make[2]: Leaving directory `/c/xuggle-xuggler/build/native/i686-pc-m
ingw32/captive/libvpx'
     [exec] make[1]: Leaving directory `/c/xuggle-xuggler/build/native/i686-pc-m
ingw32/captive'
     [exec] "make": *** [all-recursive] Error 1

BUILD FAILED
C:\xuggle-xuggler\mk\buildtools\buildhelper.xml:1192: exec returned: 2

Can anyone help me please? :'(
I've tested the command ld -lpthread in the windows console and the result was :
C:\xuggle-xuggler>ld -lpthread
ld: cannot find -lpthread

But then i tested the following command :
C:\xuggle-xuggler>ld -Lpthread
ld: no input files

Which i think is a better result. But then where in Xuggler must i replace 'l' 
by 'L' in order for the compiler to find the external library which is located 
on my disk in the following directory :
C:\MinGW\bin\pthreadGC2.dll

Please help me, i really need to compile Xuggler :'(

Thank you.

Original issue reported on code.google.com by covalia....@gmail.com on 3 Jun 2014 at 10:31

Attachments:

GoogleCodeExporter commented 8 years ago
No one? :(

Original comment by covalia....@gmail.com on 3 Jun 2014 at 12:06

GoogleCodeExporter commented 8 years ago
ok i've sold this issue, i had to put the directory of MinGW in front of 
Xuggler in the  system paths. But now i'm facing another one pffffffff :(

     [exec] In file included from md2_dgst.c:62:0:
     [exec] ../../include/openssl/md2.h:64:2: error: #error MD2 is disabled.
     [exec]  #error MD2 is disabled.

I've installed openssl and i can launch the command openssl inside the command 
prompt and i can see the md2 option but inside xuggler it isn't working.. Any 
idea please??

Original comment by covalia....@gmail.com on 3 Jun 2014 at 1:53