Loading ...
Sorry, an error occurred while loading the content.

18Re: ssaha build on SUN5.8

Expand Messages
  • anthony.j.cox@talk21.com
    Oct 16, 2002
      Hi Will/Sheldon,

      I compiled and tested the software on gcc 3.0.2 (I think). gcc 3.1 wasn't available at the time and I think it's a bit more picky. I don't have a Sun to test this on, but I think line 78 in HashTableGeneric.h needs to change to

      push back( string(") ); return back();

      I don't think it likes the lack of a constructor argument for the string.

      Failing that try
      push_back("); return back();
      push_back((string)"); return back();

      Hope that helps, let me know if problems continue.

      Tony Cox

      > Hi Sheldon,
      >Sorry about the delay in replying. Form the errors it looks like there is
      >some library incompatibility. What version of libc are you using? It's not
      >the compiler, the latest ssaha builds fine on gcc3.
      >I've cc'ed Tony Cox on this mail, and he may have some better idea what
      >the problem is.
      >Also, you may want to post to the ssahausers group:
      > <a Target='_new' Href='<a Target='_new' Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://groups.yahoo.com/group/ssahausers/''>http://talk21.btopenworld.com/redirect.html?http://groups.yahoo.com/group/ssahausers/'</a>><a Target='_new' Href='http://talk21.btopenworld.com/redirect.html?http://groups.yahoo.com/group/ssahausers/'>http://groups.yahoo.com/group/ssahausers/</a></a>
      >Dr William Spooner whs@...
      >Ensembl Web Developer <a Target='_new' Href='<a Target='_new' Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://www.ensembl.org''>http://talk21.btopenworld.com/redirect.html?http://www.ensembl.org'</a>><a Target='_new' Href='http://talk21.btopenworld.com/redirect.html?http://www.ensembl.org'>http://www.ensembl.org</a></a>
      >On Wed, 9 Oct 2002, Sheldon Briand wrote:
      > Hi,
      > I'm trying to build ssaha on a SUN SPARC 5.8 machine. I'm using gcc 3.1
      > and I've run into the following error:
      > In file included from
      > /t3-02/software/external/SSAHA/HashTable/HashTable.h:37,
      > from
      > /t3-02/software/external/SSAHA/Global/GlobalDefinitions.cpp:35:
      > /t3-02/software/external/SSAHA/HashTable/HashTableGeneric.h: In member
      > function
      > `std::string& NameReaderLocal::lastName()':
      > /t3-02/software/external/SSAHA/HashTable/HashTableGeneric.h:78: no
      > matching
      > function for call to `NameReaderLocal::push_back()'
      > /usr/local/include/g++-v3/bits/stl_vector.h:490: candidates are: void
      > std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp =
      > std::string,
      > _Alloc = std::allocator<std::string>]
      > make: *** [GlobalDefinitions.o] Error 1
      > This occurs when I run a make ssaha. No changes were made to the
      > distributed makefile. Any ideas as to what is occuring here?
      > Thanks,
      > -Sheldon
      > --
      > Sheldon Briand
      > Computer Support
      > Canadian Bioinformatics Resource
      > Halifax, Nova Scotia
      > CANADA
      > email: sheldon@...
      > phone: (902)-426-1677

      talk21 your FREE portable and private address on the net at http://www.talk21.com
    • Show all 4 messages in this topic