Closed
Bug 134386
Opened 24 years ago
Closed 24 years ago
build failed on FreeBSD 4.5-RELEASE
Categories
(Directory Graveyard :: LDAP C SDK, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 133824
People
(Reporter: matsu, Assigned: dmosedale)
Details
Build failed with mozilla-source.tar.gz on FreeBSD 4.5-RELEAE since 2002/03/29.
gmake[6]: Entering directory
`/ide3/mozilla/mozilla/directory/c-sdk/ldap/libraries/libprldap'
(snip!)
gcc -o ldappr-error.o -c -pipe -ansi -Wall -pthread -O -fPIC -UDEBUG \
-DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -DFREEBSD=1 -DHAVE_BSD_FLOCK=1 \
-DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_THREAD_SAFE=1 -DFORCE_PR_LOG
-D_PR_PTHREADS \
-UHAVE_CVAR_BUILT_ON_SEM -DUSE_WAITPID -DNEEDPROTOS -DNET_SSL -DNO_LIBLCACHE \
-DLDAP_REFERRALS -DNS_DOMESTIC -I/ide3/mozilla/mozilla/dist/public/ldap \
-I../../../ldap/include -I/ide3/mozilla/mozilla/dist/./include \
-I/ide3/mozilla/mozilla/dist/include/nspr ldappr-error.c
ldappr-error.c:208: `EDEADLOCK' undeclared here (not in a function)
ldappr-error.c:208: initializer element is not constant
ldappr-error.c:208: (near initialization for `prldap_errormap[42].erm_system')
There is no EDEADLOCK on FreeBSD, but EDEADLK is exists.
#
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/errno.h?rev=1.20&content-type=text/x-cvsweb-markup
So, please accept following patch.
*** mozilla/directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c.org Sat
Mar 30 19:58:11 2002
--- mozilla/directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c Sat
Mar 30 19:59:16 2002
***************
*** 204,209 ****
--- 204,211 ----
#if defined(HPUX11) || defined(AIX4_3) || defined(OSF1) || defined(DARWIN) ||\
defined(BSDI)
{ PR_FILE_IS_LOCKED_ERROR, -1 }, /* XXX: correct mapping ? */
+ #elif defined(FREEBSD)
+ { PR_FILE_IS_LOCKED_ERROR, EDEADLK },
#else
{ PR_FILE_IS_LOCKED_ERROR, EDEADLOCK }, /* XXX: correct mapping ? */
#endif /* HPUX11 */
| Assignee | ||
Comment 1•24 years ago
|
||
*** This bug has been marked as a duplicate of 133824 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•