Mathematics wont build

centient
2005-08-28
2013-03-08
  • centient

    centient - 2005-08-28

    I have an AMD 64bit , MAndrake 10.1 64-bit edition,
    gcc 3.4.1 ...

    When try to comile Mathematics I obtain the following
    result:

    /usr/bin/ld: warning: i386 architecture of input file `main.o' is incompatible with i386:x86-64 output
    main.o(.text+0x3a): In function `GetKey(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    /usr/include/c++/3.3.2/bits/stl_algobase.h:373: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0x401): In function `extract(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int&)':
    /home/kravi/programming/Mathematician/extract.h:14: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0x41d): In function `extract(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int&)':
    /home/kravi/programming/Mathematician/Func.h:69: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0x439):/home/kravi/programming/Mathematician/Func.h:77: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0x455):/home/kravi/programming/Mathematician/Func.h:77: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0x471):/home/kravi/programming/Mathematician/Func.h:77: more undefined references to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)' follow
    main.o(.text+0x523): In function `extract(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int&)':
    /home/kravi/programming/Mathematician/extract.h:16: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(unsigned int, char, std::allocator<char> const&)'
    main.o(.text+0x564):/home/kravi/programming/Mathematician/extract.h:17: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0x721): In function `extract(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int&, char)':
    /home/kravi/programming/Mathematician/extract.h:33: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0x753):/home/kravi/programming/Mathematician/extract.h:35: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0x765):/home/kravi/programming/Mathematician/extract.h:35: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(unsigned int, char, std::allocator<char> const&)'
    main.o(.text+0x7a6):/home/kravi/programming/Mathematician/extract.h:36: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0xb19): In function `IsNum(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    /home/kravi/programming/Mathematician/NumString.h:36: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0xb33):/home/kravi/programming/Mathematician/NumString.h:36: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0xb57):/home/kravi/programming/Mathematician/NumString.h:38: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0xbab): In function `IsVar(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    /home/kravi/programming/Mathematician/NumString.h:48: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0xbc1):/home/kravi/programming/Mathematician/NumString.h:48: more undefined references to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)' follow
    main.o(.text+0x1229): In function `Load()':
    /home/kravi/programming/Mathematician/Loader.h:52: undefined reference to `std::basic_istream<char, std::char_traits<char> >::getline(char*, int)'
    main.o(.text+0x13a1):/home/kravi/programming/Mathematician/Loader.h:61: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(unsigned int, char, std::allocator<char> const&)'
    main.o(.text+0x1638):/home/kravi/programming/Mathematician/Loader.h:85: undefined reference to `std::basic_istream<char, std::char_traits<char> >::getline(char*, int)'
    main.o(.text+0x17b4):/home/kravi/programming/Mathematician/Loader.h:94: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(unsigned int, char, std::allocator<char> const&)'
    main.o(.text+0x2991): In function `POST_INR(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, int&)':
    /home/kravi/programming/Mathematician/postin.h:37: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0x29c7):/home/kravi/programming/Mathematician/postin.h:37: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0x2a06):/home/kravi/programming/Mathematician/postin.h:38: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0x2ac8):/home/kravi/programming/Mathematician/postin.h:46: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0x2afe):/home/kravi/programming/Mathematician/postin.h:46: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)'
    main.o(.text+0x2b3d):/home/kravi/programming/Mathematician/postin.h:47: more undefined references to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)' follow
    main.o(.text+0x2f4e): In function `operator>>(std::basic_istream<char, std::char_traits<char> >&, Expression&)':
    /home/kravi/programming/Mathematician/Expression.cc:38: undefined reference to `operator new[](unsigned int)'
    main.o(.text+0x2f65):/home/kravi/programming/Mathematician/Expression.cc:39: undefined reference to `std::basic_istream<char, std::char_traits<char> >::getline(char*, int, char)'
    main.o(.text+0x31ae): In function `Expression::infixtopostfix()':

     
    • Shivakeshavan

      Shivakeshavan - 2005-09-03

      Sorry for the delay in replying, but there seems to be a problem in the source paths. I will look into it and let you know soon.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks