Darn Makefile (going OS X to FC6)

Discussion in 'General Computer Support' started by Ataraxia, May 15, 2007.

  1. Ataraxia

    Ataraxia

    Joined:
    May 15, 2007
    Messages:
    1
    Trying to take code from Xcode and add a makefile so my prof can run and compile it in FC6. I suck at makefiles and was wondering if anyone could tell me the nature of this error. Maybe this headache will finally leave the left front part of the ole noggin'. Thanks in advance.
    Ataraxia
    (The name has been changed to protect the ignorant)

    Here's directory:
    john-does-powerbook58:~/Desktop/testing johndoe$ ls
    Circuit.cpp Makefile matrix.h
    Circuit.h main.cpp matrix11 Folder

    Here's the makefile:
    CC = gcc
    CCLFLAGS = -c -Wall

    all: exeMain

    exeMain: main.o Circuit.o exeMain.o
    $(CC) main.o Circuit.o exeMain.o -o exeMain

    main.o: main.cpp
    $(CC) $(CCFLAGS) main.cpp

    Circuit.o: Circuit.cpp Circuit.h
    $(CC) $(CCFLAGS) Circuit.cpp

    clean:
    rm -rf *o exeMain

    Here's the output and error:
    john-does-powerbook58:~/Desktop/testing johndoe$ make
    gcc main.cpp
    In file included from /usr/include/c++/4.0.0/backward/vector.h:59,
    from Circuit.h:16,
    from main.cpp:16:
    /usr/include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
    /usr/bin/ld: Undefined symbols:
    __Unwind_Resume
    Circuit::CalcOutput(float, math::matrix<float>&, math::matrix<float>&, math::matrix<float>&)
    Circuit::ConfigureA(Circuit)
    Circuit::prelimSound()
    Circuit::InputIsPresent()
    Circuit::FindXMatMeaning(math::matrix<float>)
    Circuit::OutputIsPresent()
    Circuit::TestAllAtSample(int, math::matrix<float>, math::matrix<float>, math::matrix<float>, 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> > > >, std::vector<float, std::allocator<float> >, std::vector<float, std::allocator<float> >)
    Circuit::OutputVoltageDifference(math::matrix<float>)
    Circuit::Input(Circuit&)
    Circuit::MakeZ()
    Circuit::TestNodes()
    Circuit::Circuit()
    Circuit::~Circuit()
    std::logic_error::what() const
    std::allocator<char>::allocator()
    std::allocator<char>::~allocator()
    std::basic_ostream<char, std::char_traits<char> >::eek:perator<<(std::basic_ostream<char, std::char_traits<char> >& (*)(std::basic_ostream<char, std::char_traits<char> >&))
    std::basic_ostream<char, std::char_traits<char> >::eek:perator<<(float)
    std::basic_ostream<char, std::char_traits<char> >::eek:perator<<(int)
    std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)
    std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
    std::basic_string<char, std::char_traits<char>, std::allocator<char> >::eek:perator=(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    std::logic_error::logic_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    std::logic_error::~logic_error()
    std::ios_base::Init::Init()
    std::ios_base::Init::~Init()
    std::__throw_bad_alloc()
    std::__throw_length_error(char const*)
    std::cout
    std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)
    std::terminate()
    std::basic_ostream<char, std::char_traits<char> >& std::eek:perator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)
    std::basic_ostream<char, std::char_traits<char> >& std::eek:perator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char)
    std::basic_ostream<char, std::char_traits<char> >& std::eek:perator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    typeinfo for std::logic_error
    vtable for __cxxabiv1::__si_class_type_info
    operator delete[](void*)
    operator delete(void*)
    operator new[](unsigned long)
    operator new(unsigned long)
    ___cxa_allocate_exception
    ___cxa_begin_catch
    ___cxa_call_unexpected
    ___cxa_end_catch
    ___cxa_free_exception
    ___cxa_rethrow
    ___cxa_throw
    ___gxx_personality_v0
    collect2: ld returned 1 exit status
    make: *** [main.o] Error 1
     
    Ataraxia, May 15, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tarapia Tapioco

    Darn Hypertension

    Tarapia Tapioco, Sep 7, 2003, in forum: Computer Support
    Replies:
    0
    Views:
    396
    Tarapia Tapioco
    Sep 7, 2003
  2. drvnguy

    Darn hotmail

    drvnguy, Oct 1, 2003, in forum: Computer Support
    Replies:
    5
    Views:
    630
    Juan PĂ©rez
    Oct 1, 2003
  3. JK
    Replies:
    2
    Views:
    443
    Toivo Voll
    Jul 22, 2003
  4. yogesh
    Replies:
    0
    Views:
    426
    yogesh
    Dec 27, 2006
  5. Larry Spitz

    Trouble mounting iPod on FC6

    Larry Spitz, May 6, 2007, in forum: NZ Computing
    Replies:
    2
    Views:
    513
    Larry Spitz
    May 6, 2007
Loading...

Share This Page