From owner-freebsd-ports Sat Jun 5 11:29:47 1999 Delivered-To: freebsd-ports@freebsd.org Received: from ohm.ingsala.unal.edu.co (ohm.ingsala.unal.edu.co [168.176.15.18]) by hub.freebsd.org (Postfix) with ESMTP id 03AFC14E05 for ; Sat, 5 Jun 1999 11:29:41 -0700 (PDT) (envelope-from pfgiffun@bachue.usc.unal.edu.co) Received: from bachue.usc.unal.edu.co (unalmodem07.usc.unal.edu.co [168.176.3.37]) by ohm.ingsala.unal.edu.co (8.8.5/8.8.5) with ESMTP id NAA06221 for ; Sat, 5 Jun 1999 13:33:09 -0500 (COT) Message-ID: <37596C70.17D5FEEB@bachue.usc.unal.edu.co> Date: Sat, 05 Jun 1999 13:29:04 -0500 From: "Pedro F. Giffuni" Organization: Universidad Nacional de Colombia X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 3.1-RELEASE i386) MIME-Version: 1.0 To: ports@FreeBSD.org Subject: Question about linking GLUT. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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' /usr/X11R6/lib/libglut.so: undefined reference to `XFreeDeviceList' /usr/X11R6/lib/libglut.so: undefined reference to `XQueryDeviceState' /usr/X11R6/lib/libglut.so: undefined reference to `XListInputDevices' /usr/X11R6/lib/libglut.so: undefined reference to `XFreeDeviceState' /usr/X11R6/lib/libglut.so: undefined reference to `XOpenDevice' /usr/X11R6/lib/libglut.so: undefined reference to `XSelectExtensionEvent' *** Error code 1 ________________________ Any ideas on what is missing ? TIA, Pedro. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message