From owner-freebsd-current Thu Jul 11 2:47:25 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 CA61637B400 for ; Thu, 11 Jul 2002 02:47:22 -0700 (PDT) Received: from orion.gate5.de (orion.gate5.de [212.84.193.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81C5743E3B for ; Thu, 11 Jul 2002 02:47:21 -0700 (PDT) (envelope-from erdgeist@gate5.de) Received: (qmail 56511 invoked by uid 1075); 11 Jul 2002 09:46:04 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 11 Jul 2002 09:46:04 -0000 Date: Thu, 11 Jul 2002 11:46:04 +0200 (CEST) From: Dirk Engling Reply-To: lenin@weltregierung.de To: "Thyer, Matthew" Cc: '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> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Dear Matthew That is because cc is used for linking instead of c++, go to the Makefile in glxinfo and change the line, with "LINKFORTARGET" or "LINKER" (don't have the makefile any more, so look for the actual line) from $CC to $CPP and there you go. Regards erdgeist On Thu, 11 Jul 2002, Thyer, Matthew wrote: > Thanks Dirk but I cant install ports/x11/XFree86-4-clients either! > > Errors below.... a gcc 3.1 ism maybe ? > > > LD_LIBRARY_PATH=../../exports/lib cc -o glxinfo -ansi -pedantic -Dasm=__asm ^^ this is wrong becaue lGLU is a CPP lib > -Wall -Wpointer-arith -L../../exports/lib glxinfo.o -lGLU -lGL -lXext > -lX11 -L/usr/X11R6/lib -lc_r -lm -Wl,-rpath,/usr/X11R6/lib ----------------------------------------- fnord! id 0x17B701E5 size 1024 | type rsa 11F8 8FF3 0508 09F9 DC6A 2AB3 AA67 C8CF To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message