mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] [patch] xvidcore


From: Volker Grabsch
Subject: Re: [Mingw-cross-env-list] [patch] xvidcore
Date: Thu, 20 May 2010 18:31:50 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Martin Gerhardy <address@hidden> schrieb:
> Am Mittwoch, den 12.05.2010, 19:28 +0200 schrieb Volker Grabsch:
> > Tony Theodore <address@hidden> schrieb:
> > > 
> > > configure: WARNING: Pthread not supported. No SMP support
> > > [..]
> > > configure: WARNING: unrecognized options: --disable-shared
> > > 
> > > make me think it may take some more effort to get it to do what you want.
> > 
> > Martin, did you check these issues? Were you able to compile and
> > run a test program that uses xvid?
> 
> --disable-shared is just a relic from the template i used - can just be
> removed. 
> 
> the pthread issue is something where i could need some helping hand. i
> don't have any experience with pthreads - attached is the config.log
> from the configure call. the pthreads lib isn't found - the headers are
> found.

This should be solved with the latest pthreads changes in
Mingw-cross-env. Please check whether this solves your
problems.

In addition, please check whether the following change to
configure.in is really needed. To me, it doesn't look like
a necessary change:

> attached are new versions of the files (removed --disabled-shared, and
> added pthreads as dependency)
[...]
> --- generic.orig/configure.in 2009-05-28 19:03:45.000000000 +0200
> +++ generic/configure.in      2010-05-04 19:46:47.000000000 +0200
> @@ -588,13 +588,9 @@
>       pthread.h,
>       AC_CHECK_LIB(
>               pthread,
> -             pthread_create,
> -             AC_CHECK_LIB(
> -                     pthread,
> -                     pthread_join,
> -                     SPECIFIC_CFLAGS="$SPECIFIC_CFLAGS -DHAVE_PTHREAD"
> -                     SPECIFIC_LDFLAGS="$SPECIFIC_LDFLAGS -lpthread",
> -                     AC_MSG_WARN(Pthread not supported. No SMP support)),
> +             pthread_join,
> +             SPECIFIC_CFLAGS="$SPECIFIC_CFLAGS -DHAVE_PTHREAD"
> +             SPECIFIC_LDFLAGS="$SPECIFIC_LDFLAGS -lpthread",
>               AC_MSG_WARN(Pthread not supported. No SMP support)),
>       AC_MSG_WARN(Pthread not supported. No SMP support))


Greets,

    Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR



reply via email to

[Prev in Thread] Current Thread [Next in Thread]