Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wine compile problem (Solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 847
Location: England, Wakefield

PostPosted: Thu Jun 17, 2010 9:24 am    Post subject: Wine compile problem (Solved) Reply with quote

Hey guys

Whenever I try to compile wine, it doesn't matter which version, i get this:

Code:
s   -Wl,--image-base,0x7bc00000 -o ntdll.dll.so    ../../libs/port/libwine_port.                                                                                                                                 
a  -Wl,-O1
loader.o: In function `attach_process_dlls':
loader.c:(.text+0x3b8e): undefined reference to `pthread_sigmask'
server.o: In function `server_init_process':
server.c:(.text+0xbc0): undefined reference to `pthread_sigmask'
server.o: In function `server_leave_uninterrupted_section':
server.c:(.text+0xe47): undefined reference to `pthread_sigmask'
server.o: In function `server_enter_uninterrupted_section':
server.c:(.text+0xe7b): undefined reference to `pthread_sigmask'
server.o: In function `wine_server_call':
server.c:(.text+0xf76): undefined reference to `pthread_sigmask'
server.o:server.c:(.text+0x1018): more undefined references to `pthread_sigmask'                                                                                                                                 
 follow
thread.o: In function `RtlCreateUserThread':
thread.c:(.text+0x17e4): undefined reference to `pthread_attr_setstack'
thread.c:(.text+0x1838): undefined reference to `pthread_create'
thread.c:(.text+0x188a): undefined reference to `pthread_sigmask'
thread.o: In function `exit_thread':
thread.c:(.text+0x19a3): undefined reference to `pthread_sigmask'
thread.c:(.text+0x19c6): undefined reference to `pthread_join'
collect2: ld returned 1 exit status
winegcc: i686-pc-linux-gnu-gcc failed
make[1]: *** [ntdll.dll.so] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.43/work/wine                                                                                                                                 
-1.1.43/dlls/ntdll'
make: *** [dlls/ntdll] Error 2


I have no idea where to go from here. I did do a GCC upgrade from an old livecd version, removed old GCC version, recompiled my system and world along with kernel and modules, also installed libstdc++-v3 + libtool just to make sure.

here is my emerge info:

Code:
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-i686-AMD_Athlon-tm-_XP_2700+-with-gentoo-1.12.13
Timestamp of tree: Mon, 14 Jun 2010 19:30:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.4.4-r13, 2.6.4-r1, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.1, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA googleearth PUEL skype-eula RTCW-ETEULA Nero-EULA-US RTCW ut2003 dlj-1.1 Q3AEULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon-xp -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac acl alsa berkdb bluetooth bzip2 cli cracklib crypt cups cxx dbus dri dvd dvdr dvdread encode faac fortran gdbm gif gnome gpm gtk hal iconv ipv6 jpeg kde lm_sensors mmx modules mp3 mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python qt3support readline reflection session spl sse ssl sysfs tcpd unicode usb win32codecs x86 xorg xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


My make.conf and kernel config are the same as they were from my last install on which, wine compiled fine so im stuck.

Cheers for help
_________________
Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)


Last edited by AliasXZ on Thu Jun 17, 2010 12:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 847
Location: England, Wakefield

PostPosted: Thu Jun 17, 2010 12:11 pm    Post subject: Reply with quote

i recompiled linux-headers and now it completes fine...

Weird how linux-headers were not compiled when i did -e system and world...
_________________
Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players 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