I've got the same problem here but I found no Makefile for glxinfo just 
an Imakefile but there were no LINKFORTARGET or LINKER there

/John


Dirk Engling wrote:
> 
> 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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to