From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA01230; Thu, 10 Jul 2003 19:10:46 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA31544 for ; Thu, 10 Jul 2003 19:10:45 +0200 (MET DST) Received: from relay.rinet.ru (relay.rinet.ru [195.54.192.35]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h6AHAhT01367 for ; Thu, 10 Jul 2003 19:10:44 +0200 (MET DST) Received: from relay.rinet.ru (localhost [127.0.0.1]) by relay.rinet.ru (8.12.8p1/8.12.8) with ESMTP id h6AHAgUo033473 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 10 Jul 2003 21:10:43 +0400 (MSD) (envelope-from dbely@mail.ru) Received: (from uucp@localhost) by relay.rinet.ru (8.12.8p1/8.12.8/Submit) with UUCP id h6AHAg9q033466 for caml-list@inria.fr; Thu, 10 Jul 2003 21:10:42 +0400 (MSD) (envelope-from dbely@mail.ru) Received: from dialin3.stormoff (ROVER1) [192.168.0.131] by stormoff with esmtp (Exim 3.12 #1 (Debian)) id 19aewA-0001m9-00; Thu, 10 Jul 2003 21:10:31 +0400 X-Comment-To: "Mary F. Fernandez" To: caml-list@inria.fr Subject: Re: [Caml-list] CamlDL examples References: <3F0D7551.3030402@research.att.com> From: Dmitry Bely Date: Thu, 10 Jul 2003 21:10:23 +0400 In-Reply-To: <3F0D7551.3030402@research.att.com> ("Mary F. Fernandez"'s message of "Thu, 10 Jul 2003 10:16:49 -0400") Message-ID: User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Military Intelligence (RC5 Windows), i586-pc-win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 mff:99 1.04:01 3.06.:01 squeak:01 ocamlc:01 runtime:01 gcc:01 compiler:01 fernandez:01 cmo:01 -custom:01 camlidl:01 dmitry:01 lib:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk "Mary F. Fernandez" writes: > We have installed the camlidl tool 1.04 and are using it with o'caml v3.06. > The installation went fine and then we tried to run make in the tests/ directory > and get the link error below. Any suggestions on what is missing? > Thanks, > Mary > > squeak: squeak: make > ocamlc -I ../lib -cc cc -custom -o testcomp \ > com.cmo comcomp.o component.o \ > component.cmo testcomponent.cmo \ > ../runtime/libcamlidl.a > comcomp.o: In function `create_instance': > /home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference > to `operator new(unsigned)' Probably you should link libstdc++ explicitly (at least I had to do that for gcc 3 when c++ sources were compiled with gcc frontend, not g++). What is your platform/C compiler? - Dmitry Bely ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners