Closed
Bug 8193
Opened 26 years ago
Closed 26 years ago
Can't build on FreeBSD: os-ip.c can't find "poll.h"
Categories
(Directory Graveyard :: LDAP C SDK, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgillis, Assigned: mcs)
Details
From "mozilla" directory, I followed the build instructions and issued a
gmake -f directory/ldapsdk.mk build
When the build gets to directory/c-sdk/ldap/libraries/libldap, it
complains that it cannot find include file
"poll.h" in source file "os-ip.c".
Any suggestions?
gmake[3]: Leaving directory
`/a/borg/vol/vol0/home/sandboxes/jgillis/ldap/mozilla/directory/c-sdk/ldap/libraries/liblber'
cd libldap; gmake -f Makefile.client -w install
gmake[3]: Entering directory
`/a/borg/vol/vol0/home/sandboxes/jgillis/ldap/mozilla/directory/c-sdk/ldap/libraries/libldap'
gcc -o FreeBSD2.2.7_DBG.OBJ/os-ip.o -c -DXP_UNIX -g -DFREEBSD -DBSDI
-DBSDI_2 -D__386BSD__ -Di386 -fpic -DSW_THREADS -DNEED_UIN
T -DHAVE_LCHOWN -DNTOHL_ENDIAN_H -DHAVE_FILIO_H -DNEED_SYS_TIME_H
-DNEED_UINT_T -DHAVE_BSD_FLOCK -D_PR_LOCAL_THREADS_ONLY -DHAV
E_STRERROR -DDEBUG -UNDEBUG -DDEBUG_jgillis -DTRACING -DNSPR20
-DNETSCAPE -DOSTYPE=\"FreeBSD2.2\" -DMOZILLA_CLIENT -DLAYERS -D
UNIX_EMBED -DX_PLUGINS -DUNIX_LDAP -DNSPR -DMOCHA -DUNIX_ASYNC_DNS
-DDEVELOPER_DEBUG -DUSE_WAITPID -DNEEDPROTOS -DLDAP_DEBUG
-DLDAP_REFERRALS -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD
-DLDBM_USE_NDBM -DLDAP_SSLIO_HOOKS -DFILTERFILE="\"../../../
../../dist/FreeBSD2.2.7_DBG.OBJ/etc/ldapfilter.conf\""
-DTEMPLATEFILE="\"../../../../../dist/FreeBSD2.2.7_DBG.OBJ/etc/ldaptempl
ates.conf\"" -DNET_SSL -UMOZILLA_CLIENT -I../../../../../include
-I../../../../../dist/public/nspr -I/usr/X11R6/include -I../
../../../../dist/FreeBSD2.2.7_DBG.OBJ/include -I../../include os-ip.c
os-ip.c:38: poll.h: No such file or directory
gmake[3]: *** [FreeBSD2.2.7_DBG.OBJ/os-ip.o] Error 1
gmake[3]: Leaving directory
`/a/borg/vol/vol0/home/sandboxes/jgillis/ldap/mozilla/directory/c-sdk/ldap/libraries/libldap'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory
`/a/borg/vol/vol0/home/sandboxes/jgillis/ldap/mozilla/directory/c-sdk/ldap/libraries'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory
`/a/borg/vol/vol0/home/sandboxes/jgillis/ldap/mozilla/directory/c-sdk/ldap'
gmake: *** [libs] Error 2
Thanks
John Gillis
Comment 2•26 years ago
|
||
Nope. This isn't part of the Mozilla client, so I
know nothing about it. It looks like it's using some
form of the old worthless static build system, which
is why it's having this sort of problem. Autoconf
can tell you whether or not poll.h (or whatever) exists
for any random platform.
Assignee | ||
Updated•26 years ago
|
Assignee: chuckb → mcs
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•26 years ago
|
||
The correct place to fix this for now (until we switch to autoconf) is line 88
of .../ldap/libraries/libldap/ldap-int.h. Actually, it looks like a patch has
already been applied to the trunk.
You need to log in
before you can comment on or make changes to this bug.
Description
•