Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 20:02:02 -0700
From:      Peter Wemm <peter@wemm.org>
To:        "Thyer, Matthew" <Matthew.Thyer@dsto.defence.gov.au>
Cc:        "'Dirk Engling'" <erdgeist@gate5.de>, "'FreeBSD-CURRENT'" <current@freebsd.org>
Subject:   Re: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.r ecen t -CURRENT when trying to build ports/x11/XFree86-4 
Message-ID:  <20020711030202.B29ED3808@overcee.wemm.org>
In-Reply-To: <108E7D907871D6118B5000306E0189F857589D@ednex504.dsto.defence.gov.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Thyer, Matthew" wrote:
> Thanks Dirk but I cant install ports/x11/XFree86-4-clients either!
> 
> Errors below.... a gcc 3.1 ism maybe ?

Almost certainly a compiler mixup.  Did you install a binary package?
Secondly.. you have:

rm -f glxinfo
LD_LIBRARY_PATH=../../exports/lib cc -o glxinfo  -ansi -pedantic -Dasm=__asm
-Wall -Wpointer-arith     -L../../exports/lib glxinfo.o -lGLU -lGL -lXext
-lX11 -L/usr/X11R6/lib -lc_r -lm   -Wl,-rpath,/usr/X11R6/lib

Note that "cc" will not link in libstdc++.so.  The new and delete primatives
have been moved from libgcc.a to libstdc++.so.4, so if you compile and link
a c++ executable, you MUST either use "c++" instead of "cc", or explicitly
add -lstdc++ to the command line. The example above that you pasted does
neither.

Finally.. If you are really stuck here, may I suggest "make -i all install"
on the port? ie: ignore errors.  You might end up missing out on having
/usr/X11R6/bin/glxinfo installed, but I would wager that you will not miss
it.

Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020711030202.B29ED3808>