From owner-freebsd-current Wed Jul 10 20: 2: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F00737B400 for ; Wed, 10 Jul 2002 20:02:03 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6D4A43E31 for ; Wed, 10 Jul 2002 20:02:02 -0700 (PDT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 870D42A7D6 for ; Wed, 10 Jul 2002 20:02:02 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 3C4554C211 for ; Wed, 10 Jul 2002 20:02:02 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id B29ED3808; Wed, 10 Jul 2002 20:02:02 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Thyer, Matthew" Cc: "'Dirk Engling'" , "'FreeBSD-CURRENT'" 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 In-Reply-To: <108E7D907871D6118B5000306E0189F857589D@ednex504.dsto.defence.gov.au> Date: Wed, 10 Jul 2002 20:02:02 -0700 From: Peter Wemm Message-Id: <20020711030202.B29ED3808@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "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