On 8 May 2013 18:09, saurabhjain wrote: > Hi I am trying to link my test code on gcc 4.4.4 on RHEL6 > (x86_64.linux.2.6.glibc.2.12). But I am using libraries that were built > using the older version gcc 34 (x86_64.linux.2.6.glibc.2.3). > > Now my gmake command is spitting numerous 'undefined reference to > XYZDate::PeriodDayCount' errors. Are you passing -lxyzdate to the linker, or whatever library defines those symbols? > Pardon my ignorance if there is an easy solution. Is there a way to allow > gcc to link to old libraries with the new code on a more recent platform and > compiler version? It should work, so I don't think it's a GCC problem.