Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2004 20:06:00 -0700
From:      Eric Anholt <eta@lclark.edu>
To:        Daniel O'Connor <doconnor@gsoft.com.au>
Cc:        ports@freebsd.org
Subject:   Re: graphics/libglut busted?
Message-ID:  <1096427160.1024.2907.camel@leguin>
In-Reply-To: <200409290941.55875.doconnor@gsoft.com.au>
References:  <200409290941.55875.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2004-09-28 at 17:11, Daniel O'Connor wrote:
> I have this _weird_ compiler error with libglut..
> midget# make
> ===>  Vulnerability check disabled
> ===>  Extracting for libglut-6.0.1
> >> Checksum OK for MesaDemos-6.0.1.tar.bz2.
> ===>  Patching for libglut-6.0.1
> /bin/cp /usr/ports/graphics/libglut/files/Makefile /tmp/work/usr/ports/graphics/libglut/work/Mesa-6.0.1/src/glut/glx/
> ===>   libglut-6.0.1 depends on shared library: X11.6 - found
> ===>  Configuring for libglut-6.0.1
> ===>  Building for libglut-6.0.1
> Warning: Object directory not changed from original /usr/tmp/work/usr/ports/graphics/libglut/work/Mesa-6.0.1/src/glut/glx
...
> cc -O -pipe   -I../../../include -I/usr/X11R6/include  -c glut_win.c -o glut_win.o
> cc -O -pipe   -I../../../include -I/usr/X11R6/include  -c glut_winmisc.c -o glut_winmisc.o
> cc -O -pipe   -I../../../include -I/usr/X11R6/include  -c layerutil.c -o layerutil.o
> building static glut library
> ranlib libglut.a
> cc -fpic -DPIC -O -pipe   -I../../../include -I/usr/X11R6/include  -c glut_8x13.c -o glut_8x13.So
> /usr/libexec/elf/ld: cannot find -lGL
> *** Error code 1
> 
> Why the heck is it looking for GL anyway? :(

I seem to recall this issue being related to the nvidia binary driver
being installed.  No clue why, and it would be neat if someone figured
out why.

-- 
Eric Anholt                                eta@lclark.edu          
http://people.freebsd.org/~anholt/         anholt@FreeBSD.org




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