Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 1998 15:43:41 -0800 (PST)
From:      Icom Development <devel@icom.com>
To:        current@FreeBSD.ORG
Subject:   libc_r pthread build problem
Message-ID:  <199812032343.PAA03354@devel.dns-host.com>

next in thread | raw e-mail | index | archive | help
Hi,
	 My "make" in /usr/src fails with the errors I have appended,
on uthread_mutex.c.  Have I missed an update or is this a known problem?

Thanks,

Alexander G. Burchell
Software Development
Internet Communications
devel@icom.com

--- BEGIN INCLUDED TEXT ---
===> lib/libc_r
cc -O -pipe -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc_r/../libc/include -DPTHREAD_KERNEL -D_THREAD_SAFE -DNOPOLL -I/usr/src/lib/libc_r/uthread -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc_r/../libc/locale -DBROKEN_DES -DYP -c /usr/src/lib/libc_r/uthread/uthread_mutex.c -o uthread_mutex.o
/usr/src/lib/libc_r/uthread/uthread_mutex.c: In function `pthread_mutex_init':
/usr/src/lib/libc_r/uthread/uthread_mutex.c:56: `PTHREAD_MUTEX_DEFAULT' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:56: (Each undeclared identifier is reported only once
/usr/src/lib/libc_r/uthread/uthread_mutex.c:56: for each function it appears in.)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:78: `PTHREAD_MUTEX_NORMAL' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:79: `PTHREAD_MUTEX_ERRORCHECK' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:84: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:90: warning: unreachable code at beginning of switch statement
/usr/src/lib/libc_r/uthread/uthread_mutex.c: In function `pthread_mutex_trylock':
/usr/src/lib/libc_r/uthread/uthread_mutex.c:179: `PTHREAD_MUTEX_NORMAL' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:180: `PTHREAD_MUTEX_DEFAULT' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:181: `PTHREAD_MUTEX_ERRORCHECK' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:193: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:214: warning: unreachable code at beginning of switch statement
/usr/src/lib/libc_r/uthread/uthread_mutex.c: In function `pthread_mutex_lock':
/usr/src/lib/libc_r/uthread/uthread_mutex.c:248: `PTHREAD_MUTEX_NORMAL' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:257: `PTHREAD_MUTEX_ERRORCHECK' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:264: `PTHREAD_MUTEX_DEFAULT' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:294: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:329: warning: unreachable code at beginning of switch statement
/usr/src/lib/libc_r/uthread/uthread_mutex.c: In function `pthread_mutex_unlock':
/usr/src/lib/libc_r/uthread/uthread_mutex.c:358: `PTHREAD_MUTEX_NORMAL' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:359: `PTHREAD_MUTEX_DEFAULT' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:360: `PTHREAD_MUTEX_ERRORCHECK' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:377: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use this function)
/usr/src/lib/libc_r/uthread/uthread_mutex.c:401: warning: unreachable code at beginning of switch statement
--- END INCLUDED TEXT ---

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812032343.PAA03354>