Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2002 11:46:04 +0200 (CEST)
From:      Dirk Engling <erdgeist@gate5.de>
To:        "Thyer, Matthew" <Matthew.Thyer@dsto.defence.gov.au>
Cc:        '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:  <Pine.BSF.4.43.0207111139480.81608-100000@orion.gate5.de>
In-Reply-To: <108E7D907871D6118B5000306E0189F857589D@ednex504.dsto.defence.gov.au>

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


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




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