This is the mail archive of the gcc@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]

Gcc Fails during ld phase for automatic instantiation


Hi,
                 I am compiling my code on linux/GNU .
                 I Compiled template-using code with `-frepo'. The
compiler generated files
                 with the extension `.rpo' listing all of the template
instantiations .
                 But when I try to create the final executable I see lot
of undefined
                 reference.

                 ld Error is
                 collect2: ld returned 1 exit status

                 Question ?
                 Do I need to use any other flag other then -frepo.

                 Thank's in advance.

                 Best regards,
                 Chandra


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