From owner-freebsd-doc Wed May 23 12:11:54 2001 Delivered-To: freebsd-doc@freebsd.org Received: from smtp3.port.ru (mx3.port.ru [194.67.23.37]) by hub.freebsd.org (Postfix) with ESMTP id 3108637B423 for ; Wed, 23 May 2001 12:11:52 -0700 (PDT) (envelope-from wmdenhome@mail.ru) Received: from ip63.selena.kherson.ua ([193.220.96.63] helo=den) by smtp3.port.ru with esmtp (Exim 3.14 #12) id 152e2v-000K2P-00 for freebsd-doc@freebsd.org; Wed, 23 May 2001 23:11:50 +0400 Date: Wed, 23 May 2001 22:08:43 +0400 From: Evgeny X-Mailer: The Bat! (v1.39) Educational Reply-To: Evgeny X-Priority: 3 (Normal) Message-ID: <10922.010523@mail.ru> To: freebsd-doc@freebsd.org Subject: OpenGL in FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi there I use FreeBSD 4.2. When I compile any OpenGL-program, prints the message: libGL.so: undefined refference to 'sin' libGL.so: undefined refference to 'cos' libGL.so: undefined refference to 'tan' Why ? I write in shell: # gcc -I/usr/X11R6/include -L/usr/X11R6/lib -lGL -lGLU -lglut myprogram.c mailto:wmdenhome@mail.ru Best Regards, Evgeny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message