duncanca / mosaik-aligner

Automatically exported from code.google.com/p/mosaik-aligner
0 stars 0 forks source link

linking fails with multiple errors #103

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.unzip Mosaik-1.1.0018-Linux-x64.tar.bz2
2.enter src directory and type make
3.

What is the expected output? What do you see instead?
I expect to see the objects link, but we get multiple link errors.

Here's a sample output

[root@ni-cr-svc-bs2 src]# make
Building MOSAIK for the following platform: linux
=========================================================
- Building in CommonSource
- Building in AssemblyFormats
make[2]: Nothing to be done for `all'.

- Building in DataStructures
make[2]: Nothing to be done for `all'.

- Building in ExternalReadFormats
make[2]: Nothing to be done for `all'.

- Building in MosaikReadFormat
make[2]: Nothing to be done for `all'.

- Building in PairwiseAlignment
make[2]: Nothing to be done for `all'.

- Building in Utilities
make[2]: Nothing to be done for `all'.

- Building in MosaikBuild
  * linking MosaikBuild
../../obj/BuildMain.o: In function `main':
BuildMain.cpp:(.text+0x21d1): undefined reference to `std::basic_ostream<char, 
std::char
_traits<char> >& std::__ostream_insert<char, std::char_traits<char> 
>(std::basic_ostream
<char, std::char_traits<char> >&, char const*, long)'
BuildMain.cpp:(.text+0x2365): undefined reference to `std::basic_ostream<char, 
std::char
_traits<char> >& std::__ostream_insert<char, std::char_traits<char> 
>(std::basic_ostream
<char, std::char_traits<char> >&, char const*, long)'
BuildMain.cpp:(.text+0x238b): undefined reference to `std::basic_ostream<char, 
std::char
_traits<char> >& std::__ostream_insert<char, std::char_traits<char> 
>(std::basic_ostream
<char, std::char_traits<char> >&, char const*, long)'
BuildMain.cpp:(.text+0x2483): undefined reference to `std::basic_ostream<char, 
std::char
--More--(0%)

What version of the product are you using? On what operating system?

RHEL 5.3, gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)

Please provide any additional information below.

Original issue reported on code.google.com by charu...@gmail.com on 8 Jun 2011 at 2:25

GoogleCodeExporter commented 8 years ago
here's our stdc info
[root@ni-cr-svc-bs2 src]# rpm -qa |grep stdc
libstdc++-4.1.2-50.el5
compat-libstdc++-33-3.2.3-61
compat-libstdc++-33-3.2.3-61
libstdc++-devel-4.1.2-50.el5
compat-libstdc++-296-2.96-138
libstdc++-4.1.2-50.el5
[root@ni-cr-svc-bs2 src]# 

Original comment by charu...@gmail.com on 8 Jun 2011 at 2:28

GoogleCodeExporter commented 8 years ago
i am getting the same error, please see below:

rpm -qa |grep stdc
libstdc++-4.1.2-48.el5
libstdc++-devel-4.1.2-48.el5
libstdc++-4.1.2-48.el5

 make
Building MOSAIK for the following platform: linux
=========================================================
- Building in CommonSource
- Building in AssemblyFormats
make[2]: Nothing to be done for `all'.

- Building in DataStructures
make[2]: Nothing to be done for `all'.

- Building in ExternalReadFormats
make[2]: Nothing to be done for `all'.

- Building in MosaikReadFormat
make[2]: Nothing to be done for `all'.

- Building in PairwiseAlignment
make[2]: Nothing to be done for `all'.

- Building in Utilities
make[2]: Nothing to be done for `all'.

- Building in MosaikBuild
  * linking MosaikBuild
../../obj/BuildMain.o: In function `main':
BuildMain.cpp:(.text+0x21d1): undefined reference to `std::basic_ostream<char, 
std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> 
>(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'
BuildMain.cpp:(.text+0x2365): undefined reference to `std::basic_ostream<char, 
std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> 
>(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'

Original comment by serghei....@gmail.com on 21 Jul 2011 at 1:01