Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emerge libsigc++ error about pthreads

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
ThomasJ02
n00b
n00b
Posts: 38
Joined: Wed Aug 27, 2003 11:23 pm

emerge libsigc++ error about pthreads

  • Quote

Post by ThomasJ02 » Wed Mar 28, 2007 4:39 pm

Hi folks,

I'm getting this error when I try to emerge libsigc++:

Code: Select all

c++ -O3 -march=k8 -funroll-loops -fprefetch-loop-arrays -pipe -o .libs/ctor ctor.o ../../sigc++/.libs/libsigc.so -lcma
c++ -O3 -march=k8 -funroll-loops -fprefetch-loop-arrays -pipe -o .libs/list_test list_test.o ../../sigc++/.libs/libsigc.so -lcma
c++ -O3 -march=k8 -funroll-loops -fprefetch-loop-arrays -pipe -o .libs/handle handle.o ../../sigc++/.libs/libsigc.so -lcma
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_create'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_getspecific'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_key_delete'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_detach'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_key_create'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_mutex_trylock'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
make[2]: *** [ctor] Error 1
make[2]: *** Waiting for unfinished jobs....
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_create'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_getspecific'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_key_delete'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_detach'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_key_create'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_mutex_trylock'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
make[2]: *** [handle] Error 1
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_create'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_getspecific'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_key_delete'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_detach'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_key_create'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_mutex_trylock'
../../sigc++/.libs/libsigc.so: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
make[2]: *** [list_test] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libsigc++-1.0.4-r3/work/libsigc++-1.0.4/tests/handles'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/libsigc++-1.0.4-r3/work/libsigc++-1.0.4/tests'
make: *** [all-recursive] Error 1

!!! ERROR: dev-libs/libsigc++-1.0.4-r3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3119:   Called src_compile
  libsigc++-1.0.4-r3.ebuild, line 26:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-libs/libsigc++-1.0.4-r3/temp/build.log'.
How can I fix this?

Thanks
Thomas
Top
moocha
Watchman
Watchman
Posts: 5722
Joined: Tue Oct 21, 2003 6:45 pm

  • Quote

Post by moocha » Wed Mar 28, 2007 5:55 pm

Please post the output of

Code: Select all

emerge --info
(you should do this by default when reporting compilation failures - this will save skin off our fingertips and forum database space by avoiding us having to paste this message in again and again and again) and of

Code: Select all

/lib/libc.so.6
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Top
ThomasJ02
n00b
n00b
Posts: 38
Joined: Wed Aug 27, 2003 11:23 pm

  • Quote

Post by ThomasJ02 » Wed Mar 28, 2007 6:30 pm

Here you go:

Code: Select all

$ emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Sempron(tm) Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 28 Mar 2007 05:00:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.19-r1, 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=k8 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks metadata-transfer nostrip parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ ftp://ftp.uoi.gr/mirror/OS/gentoo/ http://ftp.rhnet.is/pub/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi alsa apache2 apm arts bash-completion berkdb bitmap-fonts blas bluetooth bzip2 c++ cli cracklib crypt cscope cups curl dga djvu doc dri eds emboss encode esd ethereal evo fbcon firebird firefox flac foomaticdb fortran freetds gb gd gdbm gif gnome gpm gstreamer gtk gtk2 hbci i810 i8x0 iconv imap imlib ipv6 irmc isdnlog java javascript jbig jpeg junit lapack ldap libg++ libgda libwww mad mbox memlimit midi mikmod mmx motif mp3 mpeg multiuser musicbrainz mysql ncurses nls nptl nptlonly nxclient ogg opengl oss pam pcre perl php plotutils png pppd profile python qt3 qt4 quicktime readline reflection samba sdl session sox spell spl sqlite sse sse2 ssl tagwriting tcltk threads tiff truetype truetype-fonts type1-fonts usb vorbis win32codecs x86 xinerama xml xorg xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga nv via s3"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
and

Code: Select all

$ /lib/libc.so.6
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9).
Compiled on a Linux 2.6.17 system on 2007-02-19.
Available extensions:
        C stubs add-on version 2.1.2
        crypt add-on version 2.1 by Michael Glad and others
        Gentoo patchset 1.3.2
        GNU Libidn by Simon Josefsson
        GNU libio by Per Bothner
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        Native POSIX Threads Library by Ulrich Drepper et al
        Support for some architectures added on, not maintained in glibc core.
        BIND-8.2.3-T5B
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic