[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Dmitry Bely <dbely@m...> |
| Subject: | Re: [Caml-list] CamlDL examples |
"Mary F. Fernandez" <mff@research.att.com> 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