From: Steven B. <sb...@un...> - 2001-08-21 15:06:02
|
Folks, I've promised that we'll have AGLIB compiling cleanly on alpha by the time of our 1.0 release. The sourceforge compile farm doesn't have alpha with DEC-OSF, so we'll need to try to find such a machine. I'll ask around. -Steven ------- Forwarded Message From: hen...@ph... Subject: aglib on DEC OSF To: sb...@ld... Date: Mon, 20 Aug 2001 17:59:36 +0200 Dear Mr. Bird, we (Philips Research Lab. Aachen, Speech group) are currently regarding to use the annotation graph library as IO- and data represenatation facility within our NLP research software architecture. I am personally quite fascinated by your ambitious project. I had no problems compiling the library 0.99.2 on Linux (i386-redhat-linux, Compiler egcs-2.91.66), but a lot of them on alpha (DEC-OSF 4.0, several gcc-versions including the most recent 3.0): identifiers become too long for linking and assembling, throw()-declarations are too loose... Do you know of any experiences with compiling on different UNIX-platforms? Maybe there are experts in your group for such difficulties? I don´t want to bother you with my questions, but I hope that such platform-independency topics are of interest for the general development of aglib. I attach the make-output of my "most successful" compilation (without debugging flag -g, that does not work at all), for the case you are interested in it. Thanks a lot and best regards, Henrik Botterweck ---------------------------------------------------------------------------- Dr. Henrik Botterweck Research Scientist Philips GmbH Reseachratories Aachen 52066 Aachen, Germany Tel.: ++49 6003 506 Hen...@ph... ---------------------------------------------------------------------------- /vol/nlp_tools/ATLAS/aglib-0.99.2>make Making all in ag make[1]: Entering directory `/tmp_mnt/vol/nlp_tools/ATLAS/aglib-0.99.2/ag' /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c AGAPI.cc mkdir .libs /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c AGAPI.cc -DPIC -o AGAPI.o mv -f AGAPI.o .libs/AGAPI.lo mv -f .libs/AGAPI.lo AGAPI.o (cd . && ln -s AGAPI.o AGAPI.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c AGSet.cc rm -f .libs/AGSet.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c AGSet.cc -DPIC -o AGSet.o mv -f AGSet.o .libs/AGSet.lo mv -f .libs/AGSet.lo AGSet.o (cd . && ln -s AGSet.o AGSet.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c AG.cc rm -f .libs/AG.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c AG.cc -DPIC -o AG.o mv -f AG.o .libs/AG.lo mv -f .libs/AG.lo AG.o (cd . && ln -s AG.o AG.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c AnnotationIndex.cc rm -f .libs/AnnotationIndex.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c AnnotationIndex.cc -DPIC -o AnnotationIndex.o mv -f AnnotationIndex.o .libs/AnnotationIndex.lo mv -f .libs/AnnotationIndex.lo AnnotationIndex.o (cd . && ln -s AnnotationIndex.o AnnotationIndex.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Annotation.cc rm -f .libs/Annotation.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Annotation.cc -DPIC -o Annotation.o mv -f Annotation.o .libs/Annotation.lo mv -f .libs/Annotation.lo Annotation.o (cd . && ln -s Annotation.o Annotation.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Region.cc rm -f .libs/Region.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Region.cc -DPIC -o Region.o mv -f Region.o .libs/Region.lo mv -f .libs/Region.lo Region.o (cd . && ln -s Region.o Region.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Anchor.cc rm -f .libs/Anchor.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Anchor.cc -DPIC -o Anchor.o mv -f Anchor.o .libs/Anchor.lo mv -f .libs/Anchor.lo Anchor.o (cd . && ln -s Anchor.o Anchor.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Identifiers.cc rm -f .libs/Identifiers.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Identifiers.cc -DPIC -o Identifiers.o mv -f Identifiers.o .libs/Identifiers.lo mv -f .libs/Identifiers.lo Identifiers.o (cd . && ln -s Identifiers.o Identifiers.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Signal.cc rm -f .libs/Signal.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Signal.cc -DPIC -o Signal.o mv -f Signal.o .libs/Signal.lo mv -f .libs/Signal.lo Signal.o (cd . && ln -s Signal.o Signal.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c InternalId.cc rm -f .libs/InternalId.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c InternalId.cc -DPIC -o InternalId.o mv -f InternalId.o .libs/InternalId.lo mv -f .libs/InternalId.lo InternalId.o (cd . && ln -s InternalId.o InternalId.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c AGException.cc rm -f .libs/AGException.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c AGException.cc -DPIC -o AGException.o mv -f AGException.o .libs/AGException.lo mv -f .libs/AGException.lo AGException.o (cd . && ln -s AGException.o AGException.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Timeline.cc rm -f .libs/Timeline.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Timeline.cc -DPIC -o Timeline.o mv -f Timeline.o .libs/Timeline.lo mv -f .libs/Timeline.lo Timeline.o (cd . && ln -s Timeline.o Timeline.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Metadata.cc rm -f .libs/Metadata.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Metadata.cc -DPIC -o Metadata.o mv -f Metadata.o .libs/Metadata.lo mv -f .libs/Metadata.lo Metadata.o (cd . && ln -s Metadata.o Metadata.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Content.cc rm -f .libs/Content.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Content.cc -DPIC -o Content.o mv -f Content.o .libs/Content.lo mv -f .libs/Content.lo Content.o (cd . && ln -s Content.o Content.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Feature.cc rm -f .libs/Feature.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -O2 -c Feature.cc -DPIC -o Feature.o mv -f Feature.o .libs/Feature.lo mv -f .libs/Feature.lo Feature.o (cd . && ln -s Feature.o Feature.lo) /bin/ksh ../libtool --mode=link /usr/local/gcc-3.0/bin/gcc -O2 -o libag.la -rpath /vol/nlp_tools/ATLAS/alpha/lib -no-undefined -version-info 0:0:0 AGAPI.lo AGSet.lo AG.lo AnnotationIndex.lo Annotation.lo Region.lo Anchor.lo Identifiers.lo Signal.lo InternalId.lo AGException.lo Timeline.lo Metadata.lo Content.lo Feature.lo -lstdc++ rm -fr .libs/libag.la .libs/libag.* .libs/libag.* gcc -shared AGAPI.o AGSet.o AG.o AnnotationIndex.o Annotation.o Region.o Anchor.o Identifiers.o Signal.o InternalId.o AGException.o Timeline.o Metadata.o Content.o Feature.o -lstdc++ -Wl,-msym -Wl,-soname -Wl,libag.so `test -n "0.0.0:0.0" && echo -Wl,-set_version -Wl,0.0.0:0.0` -Wl,-update_registry -Wl,.libs/so_locations -o .libs/libag.so.0.0.0 /usr/ucb/ld: Warning: Unresolved: _ZSt4cerr _Unwind_Resume _ZSt20__throw_out_of_rangePKc _ZNSt24__default_alloc_templateILb1ELi0EE12_S_free_listE _ZdlPv _Znwm __cxa_allocate_exception __cxa_throw __cxa_begin_catch __cxa_end_catch _ZNSt10ostrstreamC1Ev _ZNSt10ostrstream3strEv _ZNSt10ostrstreamD1Ev _ZSt18uncaught_exceptionv _ZSt19__throw_ios_failurePKc __cxa_rethrow __cxa_call_unexpected _ZNSs4_Rep11_S_terminalE _ZNSt24__default_alloc_templateILb1ELi0EE22_S_node_allocator_lockE _ZNSs4_Rep11_S_max_sizeE _ZSt20__throw_length_errorPKc _ZNSt13_Format_cacheIcEC1Ev _ZNSt8ios_base17register_callbackEPFvNS_5eventERS_iEi _ZNSt8ios_base13_M_grow_wordsEi _ZNSt8ios_base6xallocEv _ZNSt23__malloc_alloc_templateILi0EE26__malloc_alloc_oom_handlerE _ZSt17__throw_bad_allocv _ZNSt6localeC1ERKS_ _ZNSt6localeD1Ev _ZNSt24__default_alloc_templateILb1ELi0EE11_S_end_freeE _ZNSt24__default_alloc_templateILb1ELi0EE13_S_start_freeE _ZNSt24__default_alloc_templateILb1ELi0EE12_S_heap_sizeE _ZSt16__throw_bad_castv _ZNSt8ios_base4InitC1Ev _ZNSt8ios_base4InitD1Ev _ZTVN10__cxxabiv117__class_type_infoE __gxx_personality_v0 _ZSt4cout (cd .libs && rm -f libag.so && ln -s libag.so.0.0.0 libag.so) (cd .libs && rm -f libag.so && ln -s libag.so.0.0.0 libag.so) ar cru .libs/libag.a AGAPI.o AGSet.o AG.o AnnotationIndex.o Annotation.o Region.o Anchor.o Identifiers.o Signal.o InternalId.o AGException.o Timeline.o Metadata.o Content.o Feature.o ranlib .libs/libag.a creating libag.la (cd .libs && rm -f libag.la && ln -s ../libag.la libag.la) make[1]: Leaving directory `/tmp_mnt/vol/nlp_tools/ATLAS/aglib-0.99.2/ag' Making all in agf make[1]: Entering directory `/tmp_mnt/vol/nlp_tools/ATLAS/aglib-0.99.2/agf' /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -I../ag -I/home/botter/vb/philus/include/external/xerces -O2 -c BAS.cc mkdir .libs /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -I../ag -I/home/botter/vb/philus/include/external/xerces -O2 -c BAS.cc -DPIC -o BAS.o In file included from agfio.h:15, from BAS.h:15, from BAS.cc:12: AgfioError.h:42:8: warning: extra tokens at end of #endif directive In file included from BAS.h:15, from BAS.cc:12: agfio.h:78:8: warning: extra tokens at end of #endif directive In file included from BASfile.h:14, from BAS.h:16, from BAS.cc:12: Record.h:126:8: warning: extra tokens at end of #endif directive In file included from BASfile.h:15, from BAS.h:16, from BAS.cc:12: RE.h:106:8: warning: extra tokens at end of #endif directive In file included from BAS.h:16, from BAS.cc:12: BASfile.h:61:8: warning: extra tokens at end of #endif directive In file included from BAS.cc:12: BAS.h:69:8: warning: extra tokens at end of #endif directive mv -f BAS.o .libs/BAS.lo mv -f .libs/BAS.lo BAS.o (cd . && ln -s BAS.o BAS.lo) /bin/ksh ../libtool --mode=compile /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -I../ag -I/home/botter/vb/philus/include/external/xerces -O2 -c BASfile.cc rm -f .libs/BASfile.lo /usr/local/gcc-3.0/bin/gcc -DPACKAGE=\"aglib\" -DVERSION=\"0.99.2\" -DHAVE_DLFCN_H=1 -I. -I. -I../ag -I/home/botter/vb/philus/include/external/xerces -O2 -c BASfile.cc -DPIC -o BASfile.o In file included from Record.h:14, from BASfile.h:14, from BASfile.cc:9: AgfioError.h:23: parse error before `{' token AgfioError.h:33: destructors must be member functions AgfioError.h:39: virtual outside class declaration AgfioError.h:39: non-member function `const char* what()' cannot have `const' method qualifier AgfioError.h:40: parse error before `}' token In file included from Record.h:14, from BASfile.h:14, from BASfile.cc:9: AgfioError.h:42:8: warning: extra tokens at end of #endif directive In file included from BASfile.h:14, from BASfile.cc:9: Record.h:22: 'ifstream' is used as a type, but is not defined as a type. Record.h:23: 'string' is used as a type, but is not defined as a type. Record.h:24: syntax error before `*' token Record.h:42: base class `AgfioError' has incomplete type Record.h:44: parse error before `&' token Record.h:62: parse error before `&' token Record.h:73: `string' was not declared in this scope Record.h:73: `line' was not declared in this scope Record.h:73: invalid data member initialization Record.h:73: (use `=' to initialize static data members) Record.h:82: parse error before `&' token Record.h:91: parse error before `)' token Record.h:96: parse error before `)' token In file included from BASfile.h:14, from BASfile.cc:9: Record.h:126:8: warning: extra tokens at end of #endif directive In file included from BASfile.h:15, from BASfile.cc:9: RE.h:24: 'string' is used as a type, but is not defined as a type. RE.h:31: base class `AgfioError' has incomplete type RE.h:33: parse error before `&' token RE.h:33: missing ';' before right brace RE.h:34: missing ';' before right brace RE.h:42: base class `AgfioError' has incomplete type RE.h:44: parse error before `&' token RE.h:44: missing ';' before right brace RE.h:54: base class `AgfioError' has incomplete type RE.h:56: parse error before `&' token RE.h:56: missing ';' before right brace RE.h:64: parse error before `const' RE.h:65: destructors must be member functions RE.h:72: parse error before `&' token RE.h:85: parse error before `int' RE.h:104: parse error before `}' token In file included from BASfile.h:15, from BASfile.cc:9: RE.h:106:8: warning: extra tokens at end of #endif directive In file included from BASfile.cc:9: BASfile.h:23: syntax error before `*' token BASfile.h:24: syntax error before `*' token BASfile.h:25: `string' was not declared in this scope BASfile.h:25: 'map' is used as a type, but is not defined as a type. BASfile.h:27: parse error before `&' token BASfile.h:28: parse error before `&' token BASfile.h:29: parse error before `&' token BASfile.h:30: parse error before `&' token BASfile.h:43: parse error before `&' token BASfile.h:50: parse error before `)' token BASfile.h:52: parse error before `)' token BASfile.h:54: parse error before `)' token BASfile.h:56: parse error before `)' token BASfile.h:58: parse error before `)' token In file included from BASfile.cc:9: BASfile.h:61:8: warning: extra tokens at end of #endif directive BASfile.cc: In member function `void BASfile::init()': BASfile.cc:20: `tierRE' undeclared (first use this function) BASfile.cc:20: (Each undeclared identifier is reported only once for each function it appears in.) BASfile.cc:20: parse error before `(' token BASfile.cc:21: parse error before `(' token BASfile.cc:22: parse error before `(' token BASfile.cc:23: parse error before `(' token BASfile.cc:25: `classMap' undeclared (first use this function) BASfile.cc: At global scope: BASfile.cc:53: parse error before `&' token BASfile.cc:57: ISO C++ forbids declaration of `init' with no type BASfile.cc:58: parse error before `}' token BASfile.cc:71: parse error before `&' token BASfile.cc: In member function `bool BASfile::tier_process1(...)': BASfile.cc:73: `tier' undeclared (first use this function) BASfile.cc: At global scope: BASfile.cc:85: parse error before `&' token BASfile.cc:99: parse error before `&' token BASfile.cc: In member function `virtual void BASfile::preprocess()': BASfile.cc:115: `string' undeclared (first use this function) BASfile.cc:115: parse error before `;' token BASfile.cc:116: `line' undeclared (first use this function) BASfile.cc:116: `this->Record::readline' cannot be used as a function BASfile.cc: In member function `virtual void BASfile::read_entry()': BASfile.cc:123: parse error before `;' token BASfile.cc:125: `this->Record::readline' cannot be used as a function BASfile.cc:133: `cerr' undeclared (first use this function) BASfile.cc:133: `get_filename' undeclared (first use this function) BASfile.cc:134: `endl' undeclared (first use this function) BASfile.cc: In member function `bool BASfile::read_record()': BASfile.cc:160: `get_type' undeclared (first use this function) BASfile.cc: At global scope: BASfile.cc:165: syntax error before `::' token BASfile.cc:171: syntax error before `::' token BASfile.cc:177: syntax error before `::' token BASfile.cc:183: syntax error before `::' token BASfile.cc:189: syntax error before `::' token make[1]: *** [BASfile.lo] Error 1 make[1]: Leaving directory `/tmp_mnt/vol/nlp_tools/ATLAS/aglib-0.99.2/agf' make: *** [all-recursive] Error 1 Exit 2 ------- End of Forwarded Message |