From owner-freebsd-questions Sun Dec 23 16:34:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from Stalker.alfacom.net (Stalker.Alfacom.net [193.108.124.1]) by hub.freebsd.org (Postfix) with ESMTP id C766537B417 for ; Sun, 23 Dec 2001 16:34:13 -0800 (PST) Received: from kushnir1.kiev.ua (dup-124-95.Alfacom.net [193.108.124.95]) by Stalker.alfacom.net (8.12.1/8.12.1) with ESMTP id fBO0Y5JF006098 for ; Mon, 24 Dec 2001 02:34:07 +0200 (EET) Received: from localhost (volodya@localhost) by kushnir1.kiev.ua (8.11.6/8.11.6) with ESMTP id fBO0Y7e88474 for ; Mon, 24 Dec 2001 02:34:08 +0200 (EET) (envelope-from vkushnir@alfacom.net) X-Authentication-Warning: kushnir1.kiev.ua: volodya owned process doing -bs Date: Mon, 24 Dec 2001 02:34:05 +0200 (EET) From: Vladimir Kushnir X-X-Sender: volodya@kushnir1.kiev.ua To: freebsd-questions@FreeBSD.ORG Subject: imaxdiv(3) in C++ code? (fwd) Message-ID: <20011224023241.K57340-100000@kushnir1.kiev.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I've just encountered this problem: C++ programs here (FreeBSD-CURRENT, probably other versions as well) using imaxdiv(3) doesn't link - undefined references to imaxdiv. Everything compiles/runs perfectly all right if I compile in /usr/src/lib/libc/stdlib/imaxdiv.c as well, but this isn't nice, is it? :-) Is this a bug or I simply don't understand something? BTW, program I'm talking about is x2divx (see http://www.emulinks.de/divx/) - nice console mpeg/avi to divx converter (I remember somebody asked a while ago). Oh, incidentally, would anybody advice on a simplest way to determine if CPU is MMX-capable (for configure script, like `cat /proc/cpuinfo` under Linux)? TIA, Vladimir -- Vladimir Kushnir - vkushnir@Alfacom.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message