This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/39884] New: undefined reference


hi 
I am getting following error.
Can any one knows why it is?

[clususer@vlsiserver mod_lbm1]$ g++  -o testmain testmain.cpp
/tmp/ccQqRHb8.o(.text+0x17c): In function `main':
: undefined reference to `Preprocess(int&, int&, int&, Input*, char*)'
/tmp/ccQqRHb8.o(.text+0x18d): In function `main':
: undefined reference to `DisplayInputArray(Input*, int&)'
/tmp/ccQqRHb8.o(.text+0x1d3): In function `main':
: undefined reference to `Domain::Domain(int&, int&, int&, int, double&,
double)'
/tmp/ccQqRHb8.o(.text+0x20c): In function `main':
: undefined reference to `Domain::InitializeDomain(Input*, int&)'
/tmp/ccQqRHb8.o(.text+0x215): In function `main':
: undefined reference to `Domain::DisplayDomain()'
/tmp/ccQqRHb8.o(.text+0x22d): In function `main':
: undefined reference to `Domain::SimulateDomain()'
/tmp/ccQqRHb8.o(.text+0x236): In function `main':
: undefined reference to `Domain::DisplayDomain()'
/tmp/ccQqRHb8.o(.text+0x269): In function `main':
: undefined reference to `Domain::DisplayDomain()'
collect2: ld returned 1 exit status


-- 
           Summary: undefined reference
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nilesh dot barange at gmail dot com
 GCC build triplet: undefined reference


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39884


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]