Subject: xsrc/28631: appres compile error ( undefined reference to `pthread_cond_wait')
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 12/12/2004 14:03:00
>Number:         28631
>Category:       xsrc
>Synopsis:       appres compile error ( undefined reference to `pthread_cond_wait')
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 12 14:03:00 +0000 2004
>Originator:     FUKAUMI Naoki
>Release:        Dec. 12 -current source, built on NetBSD 2.99.10
System: NetBSD 2.99.10 NetBSD 2.99.10 (TR1) #0: Fri Dec 3 20:09:40 JST 2004 i386
Architecture: i386
Machine: i386
	This is error message
dependall ===> x11/lib/xlibi18n/om
dependall ===> x11/bin
dependall ===> x11/bin/appres
#    create  appres/appres.d
CC=/home/t/i386/bin/i386--netbsdelf-gcc /home/t/i386/bin/nbmkdep -f appres.d --      -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/home/d/i386/usr/X11R6/include  -nostdinc -isystem /home/d/i386/usr/include   /usr/xsrc/xfree/xc/programs/appres/appres.c
#    create  appres/.depend
rm -f .depend
CC=/home/t/i386/bin/i386--netbsdelf-gcc /home/t/i386/bin/nbmkdep -d -f .depend -s .o\ .ln appres.d
rm -f .gdbinit
echo "set solib-absolute-prefix /home/d/i386" > .gdbinit
#   compile  appres/appres.o
/home/t/i386/bin/i386--netbsdelf-gcc -O2   -Werror   -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/home/d/i386/usr/X11R6/include  -nostdinc -isystem /home/d/i386/usr/include  -c    /usr/xsrc/xfree/xc/programs/appres/appres.c
#      link  appres/appres
/home/t/i386/bin/i386--netbsdelf-gcc -Wl,-nostdlib   -Wl,-rpath-link,/home/d/i386/usr/X11R6/lib  -R/usr/X11R6/lib  -L/home/d/i386/usr/X11R6/lib   -o appres  -Wl,-rpath-link,/home/d/i386/lib:/home/d/i386/usr/lib  -L/home/d/i386/lib  -B/home/d/i386/usr/lib/ -B/home/d/i386/usr/lib/   appres.o -lXt -lSM -lICE -lXext -lX11   -L/home/d/i386/usr/lib -L/home/d/i386/usr/lib
/home/d/i386/usr/X11R6/lib/ undefined reference to `pthread_cond_wait'
collect2: ld returned 1 exit status

*** Failed target:  appres
*** Failed command: /home/t/i386/bin/i386--netbsdelf-gcc -Wl,-nostdlib -Wl,-rpath-link,/home/d/i386/usr/X11R6/lib -R/usr/X11R6/lib -L/home/d/i386/usr/X11R6/lib -o appres -Wl,-rpath-link,/home/d/i386/lib:/home/d/i386/usr/lib -L/home/d/i386/lib -B/home/d/i386/usr/lib/ -B/home/d/i386/usr/lib/ appres.o -lXt -lSM -lICE -lXext -lX11 -L/home/d/i386/usr/lib -L/home/d/i386/usr/lib
*** Error code 1
>How-To-Repeat: -x release