Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Mary F. Fernandez <mff@r...>
Subject: [Caml-list] CamlDL examples
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)'
/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference to 
`operator delete(void*)'
/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference to 
`operator delete(void*)'
comcomp.o: In function `CA::Release()':
/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference to 
`operator delete(void*)'
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:132: undefined reference 
to `vtable for __cxxabiv1::__vmi_class_type_info'
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
to `__cxa_pure_virtual'
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
to `__cxa_pure_virtual'
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
to `__cxa_pure_virtual'
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
to `__cxa_pure_virtual'
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
to `__cxa_pure_virtual'
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: more undefined 
references to `__cxa_pure_virtual' follow
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:132: undefined reference 
to `vtable for __cxxabiv1::__si_class_type_info'
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:132: undefined reference 
to `vtable for __cxxabiv1::__si_class_type_info'
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
to `__cxa_pure_virtual'
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
to `__cxa_pure_virtual'
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
to `__cxa_pure_virtual'
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:132: undefined reference 
to `vtable for __cxxabiv1::__class_type_info'
comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
to `__gxx_personality_v0'
collect2: ld returned 1 exit status
Error while building custom runtime system
make: *** [testcomp] Error 2
-- 
Mary Fernandez, Principal Technical Staff Member
AT&T Labs - Research, 180 Park Ave., Room E243, Florham Park, NJ 07932-0971
phone: 973-360-8679,  fax: 973-360-8187
mff@research.att.com, http://www.research.att.com/~mff


-------------------
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