From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-September/018829.html | 137 ++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-September/018829.html (limited to 'zarb-ml/mageia-dev/2012-September/018829.html') diff --git a/zarb-ml/mageia-dev/2012-September/018829.html b/zarb-ml/mageia-dev/2012-September/018829.html new file mode 100644 index 000000000..303b510bf --- /dev/null +++ b/zarb-ml/mageia-dev/2012-September/018829.html @@ -0,0 +1,137 @@ + + + + [Mageia-dev] need some help to build a linuxsampler.rpm + + + + + + + + + +

[Mageia-dev] need some help to build a linuxsampler.rpm

+ PhilippeDidier + philippedidier at laposte.net +
+ Sat Sep 22 00:22:36 CEST 2012 +

+
+ +
AL13N a écrit :
+> Op vrijdag 21 september 2012 21:24:17 schreef PhilippeDidier:
+>
+>
+>
+> make a small test program, that uses pthread_cancel and try to compile
+and
+> link it.
+
+when  compiling (with gcc or g++) I've  got this :
+
+pthread_cancel.c:(.text+0xf0): undefined reference to `pthread_create'
+pthread_cancel.c:(.text+0x142): undefined reference to `pthread_cancel'
+pthread_cancel.c:(.text+0x184): undefined reference to `pthread_join'
+
+
+when I compile with   gcc -pthread -c
+it works...
+
+It seems to be a linkage problem !
+
+Is there anything to do on the computer so that I don't have to add the
+-pthread option to compile ?
+or something to add in the spec file ?
+>
+> or you could find out with strings if that function is in there.
+>
+> lastly, i see you're building the .a file. don't do it and make it
+dynamic,
+> that could also have been an issue. if not at least it'll make the
+problem
+> alot more visible
+>
+>
+I didn't change anything neither in the spec file nor in the source file
+that I could use on my mandriva 2010.2 engine
+
+(Franck Kober aka emuse maintainer of the music packages for Mandriva
+2011 didn't modify the spec file... no more)
+
+Thanks for your help !!
+
+Regards
+Philippe
+
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: pthread_cancel.c
+Type: text/x-csrc
+Size: 2171 bytes
+Desc: not available
+URL: </pipermail/mageia-dev/attachments/20120922/99eb71bb/attachment.c>
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1