From owner-freebsd-ports Sat Jun 5 13:15:17 1999 Delivered-To: freebsd-ports@freebsd.org Received: from norn.ca.eu.org (cr965240-b.abtsfd1.bc.wave.home.com [24.113.19.137]) by hub.freebsd.org (Postfix) with ESMTP id 6731014BE2 for ; Sat, 5 Jun 1999 13:15:11 -0700 (PDT) (envelope-from norn@norn.ca.eu.org) Received: by norn.ca.eu.org (Postfix, from userid 1000) id 22B521477; Sat, 5 Jun 1999 13:15:06 -0700 (PDT) Date: Sat, 5 Jun 1999 13:15:06 -0700 From: Chris Piazza To: "Pedro F. Giffuni" Cc: ports@FreeBSD.ORG Subject: Re: Question about linking GLUT. Message-ID: <19990605131506.A497@norn.ca.eu.org> References: <37596C70.17D5FEEB@bachue.usc.unal.edu.co> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <37596C70.17D5FEEB@bachue.usc.unal.edu.co>; from Pedro F. Giffuni on Sat, Jun 05, 1999 at 01:29:04PM -0500 X-Operating-System: FreeBSD norn.ca.eu.org 4.0-CURRENT Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Jun 05, 1999 at 01:29:04PM -0500, Pedro F. Giffuni wrote: > Hi, Since we will soon have accelerated OpenGL, I am porting GLUI: > > http://www.cs.unc.edu/~rademach/glui > > however I have problems building the examples: > ________________________ > Linking example1 > cc -I/usr/X11R6/include example1.o -lXmu -lXext -lX11 -lm > -L/usr/X11R6/lib -lglut -lGL -lGLU -Llib -lglui -o bin/example1 > /usr/X11R6/lib/libglut.so: undefined reference to `XGetExtensionVersion' > *** Error code 1 > ________________________ > Any ideas on what is missing ? > I believe you need a -lXi too. Good luck. -- Chris Piazza Abbotsford, BC, Canada cpiazza@home.net finger norn@norn.ca.eu.org for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message