From: ?????????? ??????? <pos...@na...> - 2004-07-05 22:17:22
|
Hello! I am sorry for my silence. I tried your method and configured whith following: ./configure CPPFLAGS=-DDONT_GC It was an error message: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../gc/include -DDONT_GC -g -O2 -MT main-con.l o -MD -MP -MF .deps/main-con.Tpo -c main-con.cc -o main-con.o main-con.cc: In function `int main(int, char**)': main-con.cc:76: error: `GC_init' undeclared (first use this function) main-con.cc:76: error: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [main-con.lo] Error 1 I fixed main-con.cc by this way: #ifndef DONT_GC GC_init(); // This is mandatory and must be called before any other GC function. #endif Unfortunately it does not works for me. I still receive segmentation fault signal on each test. When using gdb the first step after the 75-th string of main-con.cc is the 77-th string of iostream. Next step produce SIGSEGV. I have some problems with dynamic linking under Cygwin. There are differences between Cygwin and Linux and I do not understand their enought. So I undefined USE_DLOADER and SHARED_OPTION preproc symbols in driver2.cc. After that I linked my meta-class with occ statically. It works! But I do not know why... Thank you, Grigorenko Dmitriy ----- Original Message ----- From: "Grzegorz Jakacki" <ja...@ac...> To: "?????????? ???????" <pos...@na...> Cc: <ope...@li...> Sent: Monday, June 28, 2004 2:20 PM Subject: Re: [Opencxx-users] Cygwin problem > Hi ???????, > > It looks like a problem with garbage collector. From the logs I can see > that you are using 2.7; to disable gc in 2.7 you need to define DONT_GC > preproc symbol, this should do: > > ./configure CPPFLAGS=-DDONT_GC ... > > If you feel adventurous, you may try to checkout the lates sources from > CVS, AFAIK this version has not been tried on XP+cygwin yet. For CVS > snapshot you can disable gc like this: > > ./configure --diable-gc > > If this works, then you have choice: either you live without gc (it is > ok in many situations, since occ quits after processing anyway, so > usually allocation build-up is not huge) or investigate further. > > Please let me know if the above works for you. > > Regards > Grzegorz > > > ?????????? ??????? wrote: > > Hello! > > > > I have a problem during installation openc++ under WinXP Professional & > > Cygwin. > > occ.exe receive signal 11 any time I try to use it. > > > > All log files are in an attachment. > > 'make2.log' file is stderr output of 'make test' command > > > > What shell I do? > > Thank you. > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Opencxx-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opencxx-users > |