Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 21:25:58 -0500 (EST)
From:      "Jamin A. Brown" <jamin@gwi.net>
To:        Ian Cartwright <icartwright@mediaone.net>
Cc:        <freebsd-stable@FreeBSD.ORG>
Subject:   Re: Compiling XFree86-4_5
Message-ID:  <Pine.BSI.4.30.0101222125330.1520-100000@sss1.gwi.net>
In-Reply-To: <01012220020702.00373@ian.batcave.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ian,

Had the same problem, reduce O3 to O2 and that fixed my problem.

Jamin

On Mon, 22 Jan 2001, Ian Cartwright wrote:

> Hello all,
>
> I seem to be having a problem compiling XFree86-4_5 from the ports
> collection. It downloads and compiles OK, but partway through the linking
> stage I get some errors that have to do with threading. I'm not sure why this
> should be since I have another FreeBSD box that compiles it flawlessly...
>
> Here is all the relevant info I can think of:
>
> FreeBSD-4.2-STABLE (last make world Jan 21, 2001)
> Current XFree86-4.0.1 (from binaries downloaded from xfree86.org)
> KDE 2.0.1 (ports with relevant dependencies (qt, Mesa, etc.))
> default make arguements are the defaults in /etc/defaults/make.conf plus I
> added: -mpentiumpro -march=i686 -03
>
> Here are the last few lines from make:
>
> making all in programs/appres...
> LD_LIBRARY_PATH=../../exports/lib cc -O3 -pipe -mpentiumpro -march=i686
> -pthread  -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith     -I../..
> -I../../exports/include  -DCSRG_BASED   -DFUNCPROTO=15 -DNARROWPROTO    -c
> appres.c
> rm -f appres
> LD_LIBRARY_PATH=../../exports/lib cc -o appres  -ansi -pedantic -Dasm=__asm
> -Wall -Wpointer-arith     -L../../exports/lib appres.o -lXt -lSM -lICE -lXext
> -lX11 -L/usr/X11R6/lib     -Wl,-rpath,/usr/X11R6/lib
> ../../exports/lib/libXt.so: undefined reference to `pthread_cond_signal'
> /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_'
> ../../exports/lib/libX11.so: undefined reference to `pthread_cond_broadcast'
> /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_'
> ../../exports/lib/libXt.so: undefined reference to `pthread_cond_init'
> ../../exports/lib/libXt.so: undefined reference to `pthread_mutex_unlock'
> ../../exports/lib/libXt.so: undefined reference to `pthread_self'
> ../../exports/lib/libXt.so: undefined reference to `pthread_mutex_destroy'
> ../../exports/lib/libXt.so: undefined reference to `pthread_mutex_lock'
> ../../exports/lib/libXt.so: undefined reference to `pthread_cond_wait'
> ../../exports/lib/libXt.so: undefined reference to `pthread_cond_destroy'
> ../../exports/lib/libXt.so: undefined reference to `pthread_mutex_init'
> *** Error code 1
>
> Stop in /usr/ports/x11/XFree86-4/work/xc/programs/appres.
> *** Error code 1
>
> Stop in /usr/ports/x11/XFree86-4/work/xc/programs.
> *** Error code 1
>
> Stop in /usr/ports/x11/XFree86-4/work/xc.
> *** Error code 1
>
> Stop in /usr/ports/x11/XFree86-4/work/xc.
> *** Error code 1
>
> Stop in /usr/ports/x11/XFree86-4/work/xc.
> *** Error code 1
>
> Stop in /usr/ports/x11/XFree86-4.
> *** Error code 1
>
> Stop in /usr/ports/x11/XFree86-4.
> *** Error code 1
>
> Stop in /usr/ports/x11/XFree86-4.
>
> -------------------------------------------------------
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
>


-----------------------------------------------------------------
Jamin A. Brown                      Systems Operations Department
operations@gwi.net   * Great Works Internet *   207.286.8686 x142
RSA PGP Key:              http://www.gwi.net/~jamin/pgp/jamin.asc



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.30.0101222125330.1520-100000>