Re: [OpenSDK] compiling opensdk - error
Status: Beta
Brought to you by:
nuno-lopes
From: Nuno L. <nun...@sa...> - 2007-12-09 18:15:31
|
Cygwin doesn't have the zlib-package, as it bundles everything within the zlib package. Anyway, I don't remember how I fixed this problem. I remember I was able to compile openSDK on cygwin, but it didn't run, though. Try to run it on a linux box and it'll run without problems. Regards, Nuno ----- Original Message ----- From: "Rachel F. Adler" <rac...@gm...> To: "Nuno Lopes" <nun...@sa...> Cc: <Ope...@li...> Sent: Sunday, December 09, 2007 5:15 AM Subject: Re: [OpenSDK] compiling opensdk - error >I have zlib installed, but I still get those errors. I am using cygwin. I > don't have zlib-dev, do I need that, where can I get that from? > > the -rdynamic error went away using your information. > > Thanks, > Rachel > > On Dec 7, 2007 4:35 PM, Nuno Lopes <nun...@sa...> wrote: > >> Hi, >> >> The problem with "-rdynamic" is easy to fix. Just replace "-rdynamic" >> with >> "-Wl,-export-dynamic". This is due to the old gcc version you are using. >> About the _gz* related problems, make sure you have zlib (you may also >> need >> zlib-dev) packages installed. >> >> Regards, >> Nuno >> >> P.S.: looking again, it seems you are using cygwin.. Last time I tried it >> didn't worked, but it was a long time ago.. maybe it already works now. >> >> >> ----- Original Message ----- >> From: "Rachel F. Adler" <rac...@gm...> >> To: <Ope...@li...> >> Sent: Friday, December 07, 2007 7:25 PM >> Subject: [OpenSDK] compiling opensdk - error >> >> >> >I keep getting the following error when trying to compile opensdk. >> > >> > Any ideas on what I can do to get opensdk to compile? >> > >> > g++ -rdynamic -ldl -lpthread -lz -o OPENRloader AnalyzerAPI.o >> > DataManager.oERA2 >> > 01D1.o IPAddress.o MCOOP.o MemoryMapAgent.o OCalendarTime.o >> > OFbkImage.oOObject. >> > o OObserver.o OPENRAPI.o OPENREvent.o OPower.o OShmPtrBase.o >> > OSubject.oOSyslog. >> > o OTime.o ObjcommEvent.o OpenSdkEndpointInfo.o OpenSdkThread.o >> > RCRegion.oTime_a >> > .o antEnvBaseMsg.o antModuleRef.o antSharedBufferDef.o >> > antSharedBufferManager.o >> > antTypes.o boot.o libc.o utils.o OVirtualRobotComm.o gunzip.o helper.o >> > main.o op >> > ensdkAPI.o >> > g++: unrecognized option `-rdynamic' >> > gunzip.o: In function `_Z13gunzip_modulePKcS0_': >> > /usr/local/opensdk/loader/gunzip.cc:31: undefined reference to >> > `_gzopen' >> > /usr/local/opensdk/loader/gunzip.cc:49: undefined reference to >> > `_gzread' >> > /usr/local/opensdk/loader/gunzip.cc:52: undefined reference to >> `_gzclose' >> > /usr/local/opensdk/loader/gunzip.cc:58: undefined reference to >> `_gzerror' >> > /usr/local/opensdk/loader/gunzip.cc:41: undefined reference to >> `_gzclose' >> > main.o: In function `_Z16parse_object_cfgv': >> > /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:63: >> > undefined >> > ref >> > erence to `_zError' >> > collect2: ld returned 1 exit status >> > make: *** [OPENRloader] Error 1 >> > >> > Thanks, >> > Rachel |