On Tue, 22 Jul 2003, yang qu wrote:
> I installed the open c++ in a redhat8.0. the gcc
> version was 2.96 and I used the DONT_GC preprocesor.
> when I tried to run the "sample" program, I got the
> following message:
>
> ../src/occ -- -g -L../src/Unix/libocc.a -o person
> person.cc
> lt_dlopen(VerboseClass.so) failed:
> /export/home/qudhs/opencxx-2.6.1/sample/VerboseClass.so:
> undefined symbol:
> InitializeInstance__Q27Opencxx5ClassPQ27Opencxx5PtreeT1
> make: *** [person] Error 1
>
> I didn't find the symbol in opencxx.a. in libocc.a, I
> got :
> nm -l tmplib/libocc.a | grep InitializeInstance
> 0000215c T
> InitializeInstance__Q27Opencxx13TemplateClassPQ27Opencxx5PtreeT1
> /export/home/qudhs/opencxx-2.6.1/src/mop.cc:1072
> 00000124 T
> InitializeInstance__Q27Opencxx5ClassPQ27Opencxx5PtreeT1
> /export/home/qudhs/opencxx-2.6.1/src/mop.cc:74
> U
> InitializeInstance__Q27Opencxx5ClassPQ27Opencxx5PtreeT1
>
> /export/home/qudhs/opencxx-2.6.1/src/metaclass.cc:0
>
> so, what should I do to correct it?
> thank you in advance!
Is VerboseClass.so on your LD_LIBRARY_PATH?
Regards
Grzegorz
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> Opencxx-users mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/opencxx-users
>
>
##################################################################
# Grzegorz Jakacki Huada Electronic Design #
# Senior Engineer, CAD Dept. 1 Gaojiayuan, Chaoyang #
# tel. +86-10-64365577 x2074 Beijing 100015, China #
# Copyright (C) 2002 Grzegorz Jakacki, HED. All Rights Reserved. #
##################################################################
|