libglut doesn't compile
Nuno Teixeira
nunotex at freeshell.org
Sun Nov 9 13:11:27 PST 2003
Hi Eric,
I recompiled XFree-libraries and it solved the problem.
Thanks very much,
Nuno Teixeira
On Sat, Nov 08, 2003 at 01:45:26PM -0800, Eric Anholt wrote:
> On Sat, 2003-11-08 at 10:18, Nuno Teixeira wrote:
> > Hello to all,
> >
> > libglut doens't compile on a FreeBSD 5.1 p10 Release.
> >
> > The error:
> >
> > cc -O -pipe -march=athlon-xp -I../include -I/usr/X11R6/include -c
> > glut_vidresize.c -o glut_vidresize.o
> > cc -O -pipe -march=athlon-xp -I../include -I/usr/X11R6/include -c
> > glut_warp.c -o glut_warp.o
> > cc -O -pipe -march=athlon-xp -I../include -I/usr/X11R6/include -c
> > glut_win.c -o glut_win.o
> > cc -O -pipe -march=athlon-xp -I../include -I/usr/X11R6/include -c
> > glut_winmisc.c -o glut_winmisc.o
> > cc -O -pipe -march=athlon-xp -I../include -I/usr/X11R6/include -c
> > layerutil.c -o layerutil.o
> > building static glut library
> > ranlib libglut.a
> > cc -fpic -DPIC -O -pipe -march=athlon-xp -I../include
> > -I/usr/X11R6/include -c glut_8x13.c -o glut_8x13.So
> > ld: cannot find -lGL
> > *** Error code 1
> >
> > Stop in /usr/ports/graphics/libglut/work/Mesa-5.0.2/src-glut.
> > *** Error code 1
>
> This log doesn't make sense to me. Where is -lGL happening? Did you
> build with make -j or something?
>
> Do you actually have libGL installed? (/usr/X11R6/lib/libGL*) If you
> have libX11 in there but not libGL, your installation may be broken and
> you need to reinstall XFree86-4-libraries.
>
> --
> Eric Anholt eta at lclark.edu
> http://people.freebsd.org/~anholt/ anholt at FreeBSD.org
>
>
>
--
/*
PGP fingerprint:
C6D1 06ED EB54 A99C 6B14 6732 0A5D 810D 727D F6C6
*/
More information about the freebsd-ports
mailing list