Am Montag, 16. September 2013 um 03:54:57, schrieb Duc Nguyen Ngoc <[email protected]> > 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-C
autopano-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
signature.asc
Description: This is a digitally signed message part.
