Gcc Fails during ld phase for automatic instantiation

chandra cpuchaka@us.oracle.com
Fri Aug 13 12:40:00 GMT 1999


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



More information about the Gcc mailing list