Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2001 02:34:05 +0200 (EET)
From:      Vladimir Kushnir <vkushnir@alfacom.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   imaxdiv(3) in C++ code? (fwd)
Message-ID:  <20011224023241.K57340-100000@kushnir1.kiev.ua>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011224023241.K57340-100000>