Thanks Kornel, I did clone the source from Hg repo as Bruno had suggested and compiled it success.
Thanks you guys! On Monday, September 16, 2013 9:24:59 PM UTC+10, kornel wrote: > > Am Montag, 16. September 2013 um 03:54:57, schrieb Duc Nguyen Ngoc < > [email protected] <javascript:>> > > > Thanks Kornel, > > > I have gcc 4.7 already. I tried #dpkg -S > /usr/lib/x86_64-linux-gnu/libm.so > > > but still got the same error. :( > > > > Yes, I was wrong and Bruno mailed the correct answer. > > There seems '-lm' missing on the gcc-command. > > Try to get the source from the repository. > > > > (Like: > > #hg clone > http://hugin.hg.sourceforge.net:8000/hgroot/hugin/autopano-sift-Cautopano-sift-C > > ) > > > > I hope, this is still valid? > > > > > On Monday, September 16, 2013 5:35:01 PM UTC+10, kornel wrote: > > > > > > > > Am Montag, 16. September 2013 um 00:18:38, schrieb Duc Nguyen Ngoc < > > > > [email protected] <javascript:>> > > > > > > > > > Hi all, > > > > > > > > > > I got this error when I was compiling the plugin AutoPano-Sift-C in > > > > Ubuntu: > > > > > > > > > > /usr/bin/ld: liblibsift.a(ScaleSpace.o): undefined reference to > symbol > > > > > 'exp@@GLIBC_2.2.5' > > > > > /usr/bin/ld: note: 'exp@@GLIBC_2.2.5' is defined in DSO > > > > > /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libm.so > so > > > > try > > > > > adding it to the linker command line > > > > > /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libm.so: > > > > could > > > > > > > > > not read symbols: Invalid operation > > > > > collect2: error: ld returned 1 exit status > > > > > make[2]: *** [autopano] Error 1 > > > > > make[1]: *** [CMakeFiles/autopano.dir/all] Error 2 > > > > > make: *** [all] Error 2 > > > > > Has anyone any ideas? > > > > > > > > > > > > I do not have gcc 4.7, but 4.6 on ubuntu. Here, the relevant file is > > > > a symbolic link to '/lib/x86_64-linux-gnu/libm.so.6' > > > > > > > > Normally the symbolic links would be installed by the devel package. > > > > > > > > It is here > > > > > > > > #dpkg -S /usr/lib/x86_64-linux-gnu/libm.so > > > > > > > > libc6-dev: /usr/lib/x86_64-linux-gnu/libm.so > > > > > > > > > > Kornel > -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/cd555964-fe67-4672-8f20-8ce557a730fb%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
