From: Grzegorz J. <ja...@he...> - 2003-04-23 12:52:12
|
On Thu, 10 Apr 2003, stan wrote: > Hi, > > Another student and myself are having problems with the 2.6.1 release. > > we are using: > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs > gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85) > > > The installation proceeds without any errors. > > when we try to build the samples by running "make all" > we get the following result: > > ../src/occ -m -I../gc -I../src -- -g VerboseClass.mc > ../src/occ -- -g -o person person.cc > lt_dlopen(VerboseClass.so) failed: ./VerboseClass.so: undefined symbol: > __tiQ27Opencxx5Class > make: *** [person] Error 1 > > we are both having the same error. > > Also when working with my previous project I get a similar error with > version 2.6.1 while version 2.5.12 works perfectly. > > > any ideas? The samples have not been updated after build procedure have changed and libtool library has been introduced. I think that in your case it is enough to add '.' to LD_LIBRARY_PATH. I would suggest that you try this and let me know if it works for you. BR GJ PS: The honest solution involves redoing shared libraries handling by occ. It has been discussed about a month ago, that occ should use libtool to create libraries. > > > thanks > > > ################################################################## # 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. # ################################################################## |