From owner-freebsd-questions Thu Jul 20 23:48:59 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id XAA10990 for questions-outgoing; Thu, 20 Jul 1995 23:48:59 -0700 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id XAA10984 for ; Thu, 20 Jul 1995 23:48:57 -0700 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.9/8.6.9) id QAA12270; Fri, 21 Jul 1995 16:33:47 +0930 From: Michael Smith Message-Id: <199507210703.QAA12270@genesis.atrad.adelaide.edu.au> Subject: Re: Gnu C++ Compilation Problem To: amnuay@comnet.spu.ac.th (amnuay muthitacharoen) Date: Fri, 21 Jul 1995 16:33:47 +0930 (CST) Cc: questions@FreeBSD.org In-Reply-To: from "amnuay muthitacharoen" at Jul 21, 95 11:42:44 am Content-Type: text Content-Length: 744 Sender: questions-owner@FreeBSD.org Precedence: bulk amnuay muthitacharoen stands accused of saying: > I got the following messages :- > > 1) /var/tmp/cc0100421.0: Undefined symbol '_pow' referenced from text segment > 2) /usr/lib/libg++.so.2.0: Undefined symbol "_pow" referenced I would suspect that you're not linking with the maths library; add -lm to the end of the compiler command. > Amnuay Muthitacharoen -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" - Terry Lambert [[