Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot compile cups
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Tonglebeak
Guru
Guru


Joined: 23 Mar 2006
Posts: 362

PostPosted: Mon Sep 23, 2013 12:26 am    Post subject: cannot compile cups Reply with quote

Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: usb.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [usb] Error 1
make: *** [all] Error 1
 * ERROR: net-print/cups-1.6.3-r2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-print/cups-1.6.3-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cups-1.6.3-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-print/cups-1.6.3-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-1.6.3-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-print/cups-1.6.3-r2/work/cups-1.6.3'
 * S: '/var/tmp/portage/net-print/cups-1.6.3-r2/work/cups-1.6.3'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =cups-1.6.3


I saw nothing in bugs.gentoo.org for a few days, so figured this is probably something local to my system. I have no idea what would cause this. Any tips?
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 212
Location: AU

PostPosted: Mon Sep 23, 2013 1:34 am    Post subject: Reply with quote

Your version of cups is different to the one mentioned in this bug:

https://bugs.gentoo.org/show_bug.cgi?id=464046

So it might be best to add a comment to that bug report with your build failure.

An idea is to try:

Code:
USE=threads emerge -av net-print/cups
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum