Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] CamlDL examples
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-07-10 (17:10)
From: Dmitry Bely <dbely@m...>
Subject: Re: [Caml-list] CamlDL examples
"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 Archives:
Bug reports: FAQ:
Beginner's list: