linuxthreads compile error in latest 6.0-BETA1

Ganbold ganbold at micom.mng.net
Wed Jul 20 07:17:07 GMT 2005


Vincent,

I installed linuxthreads from ports on another FreeBSD 5.4 machine.
Then I created package from it using "pkg_create -b linuxthreads-2.2.3_16" 
command.
Afterwards I copied new binary package to my FreeBSD 6.0 beta1 machine and
installed it using "pkg_add -v linuxthreads-2.2.3_16.tgz".

Maybe this is wrong workaround and yet I didn't test it yet.
I needed linuxthreads in order to install flash player plugin. Flash plugin 
works fine in firefox at least.

hth,

Ganbold

At 03:22 PM 7/20/2005, you wrote:

>As you can see it we got the same problem.
>
>I don't have found any solution for it. This mailing list suggested to me
>to take contact with the responsible of this port but I don't have the
>time yet to do it.
>
>Now, this is done with this port and I am waiting for a response ...
>
>Regards
>Vincent.
>
> > Hi,
> >
> > I have FreeBSD 6.0 beta1 and I couldn't compile linuxthreads from ports_
> > How can I compile it successfully?
> >
> > thanks in advance,
> >
> > Ganbold
> >
> > daemon# uname -an
> > FreeBSD daemon.ub.mng.net 6.0-BETA1 FreeBSD 6.0-BETA1 #0: Tue Jul 19
> > 14:50:06 ULAST
> > 2005     tsgan at daemon.ub.mng.net:/usr/obj/usr/src/sys/DAEMON  i386
> > daemon#
> >
> > cc -O2 -fno-strict-aliasing -pipe   -D_PTHREADS -I../ -I../sysdeps/i386
> > -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -fexceptions -DIN_GCC
> > -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -DFINE_GRAINED_LIBRARIES
> > -D_PTHREADS
> > -DGTHREAD_USE_WEAK
> > -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools
> > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config
> > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.  -c
> > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c
> > In file included from ../sysdeps/pthread/pthread.h:27,
> >                   from
> > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h:43,
> >                   from
> > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:83,
> >                   from
> > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42:
> > ../sysdeps/pthread/bits/pthreadtypes.h:51: error: conflicting types for
> > 'pthread_attr_t'
> > /usr/include/sys/_pthreadtypes.h:65: error: previous declaration of
> > 'pthread_attr_t' was here
> > ../sysdeps/pthread/bits/pthreadtypes.h:59: error: conflicting types for
> > 'pthread_cond_t'
> > /usr/include/sys/_pthreadtypes.h:68: error: previous declaration of
> > 'pthread_cond_t' was here
> > ../sysdeps/pthread/bits/pthreadtypes.h:66: error: conflicting types for
> > 'pthread_condattr_t'
> > /usr/include/sys/_pthreadtypes.h:69: error: previous declaration of
> > 'pthread_condattr_t' was here
> > ../sysdeps/pthread/bits/pthreadtypes.h:69: error: conflicting types for
> > 'pthread_key_t'
> > /usr/include/sys/_pthreadtypes.h:70: error: previous declaration of
> > 'pthread_key_t' was here
> > ../sysdeps/pthread/bits/pthreadtypes.h:82: error: conflicting types for
> > 'pthread_mutex_t'
> > /usr/include/sys/_pthreadtypes.h:66: error: previous declaration of
> > 'pthread_mutex_t' was here
> > ../sysdeps/pthread/bits/pthreadtypes.h:89: error: conflicting types for
> > 'pthread_mutexattr_t'
> > /usr/include/sys/_pthreadtypes.h:67: error: previous declaration of
> > 'pthread_mutexattr_t' was here
> > ../sysdeps/pthread/bits/pthreadtypes.h:93: error: conflicting types for
> > 'pthread_once_t'
> > /usr/include/sys/_pthreadtypes.h:71: error: previous declaration of
> > 'pthread_once_t' was here
> > ../sysdeps/pthread/bits/pthreadtypes.h:139: error: conflicting types for
> > 'pthread_t'
> > /usr/include/sys/_pthreadtypes.h:64: error: previous declaration of
> > 'pthread_t' was here
> > *** Error code 1
> >
> > Stop in /usr/ports/devel/linuxthreads/work/linuxthreads-2.2.3_16/libgcc_r.
> > *** Error code 1
> >
> > Stop in /usr/ports/devel/linuxthreads.
> >
> > _______________________________________________
> > freebsd-current at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> >
>
>
>--
>Vincent Blondel
>homepage : http://jlang.dyndns.org
>registered LFS user : 7485 http://www.linuxfromscratch.org
>maintainer : http://oryx.xtra-net.org
>
>_______________________________________________
>freebsd-current at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"



More information about the freebsd-current mailing list