Am Samstag 30 Juni 2012, 00:54:32 schrieb D M German:
> Hi Denis,
> 
> In ubuntu (lastest) i had a compilation error in paint.c:
> 
> /usr/bin/ld: xo-paint.o: undefined reference to symbol 'hypot@@GLIBC_2.0'
> /usr/bin/ld: note: 'hypot@@GLIBC_2.0' is defined in DSO
> /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libm.so so try
> adding it to the linker command line
> /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libm.so: could not
> read symbols: Invalid operation
> 
> this requires to add -lm to the linking stage. See trivial patch below
> (to file src/Makefile.am):

I can confirm the bug, and also that the fix is correct :)

This is caused by the --no-copy-dt-needed-entries (or in earlier binutils 
versions --no-add-needed) linker option, which disables "automatic transitive 
linking"... Many distros now use this by default.

Cheers, the physicist :D

-- 
Dr. Andreas K. Huettel
Institute for Experimental and Applied Physics
University of Regensburg
D-93040 Regensburg
Germany

tel. +49 151 241 67748 (mobile)
e-mail m...@akhuettel.de
http://www.akhuettel.de/research/

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to