<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Tom,<br>
<br>
Thanks for your quick reply!<br>
I have looked into those system header files, and don't know what
they're for because I'm not a C programmer :-(<br>
<br>
Following is the Data block descriptor in the stream.h file that
declares the projid_t.<br>
<br>
<br>
Thanks again,<br>
Thanh<br>
<br>
/*<br>
* Data block descriptor<br>
*<br>
* NOTE: db_base, db_lim, db_ref and db_type are the *only* public
fields,<br>
* as described in datab(9S). Everything else is
implementation-private.<br>
*/<br>
<br>
#define DBLK_REFMAX 255U<br>
<br>
typedef struct datab {<br>
frtn_t *db_frtnp;<br>
unsigned char *db_base;<br>
unsigned char *db_lim;<br>
unsigned char db_ref;<br>
unsigned char db_type;<br>
unsigned char db_flags;<br>
unsigned char db_struioflag;<br>
void *db_cache; /* kmem cache descriptor */<br>
struct msgb *db_mblk;<br>
void (*db_free)(struct msgb *, struct datab *);<br>
void (*db_lastfree)(struct msgb *, struct datab *);<br>
#ifndef _LP64<br>
void *db_pad; /* unused -- needed for alignment */<br>
#endif<br>
unsigned char *db_struiobase;<br>
unsigned char *db_struiolim;<br>
unsigned char *db_struioptr;<br>
union {<br>
double enforce_alignment;<br>
unsigned char data[8];<br>
unsigned u16:16; /* used to store hw-calculated cksum */<br>
/*<br>
* Union used for future extensions (pointer to data ?).<br>
*/<br>
} db_struioun;<br>
fthdr_t *db_fthdr;<br>
ftflw_t ***db_ftflw;<br>
uid_t db_uid; /* Effective user id */<br>
/* project ID - EXPERIMENTAL - may change in future release */<br>
projid_t db_projid;<br>
} dblk_t;<br>
<br>
<br>
Tom Lane wrote:<br>
<blockquote type="cite" cite="mid25025(dot)1120587907(at)sss(dot)pgh(dot)pa(dot)us">
<pre wrap="">Thanh Q Lam <a class="moz-txt-link-rfc2396E" href="mailto:thanh(dot)q(dot)lam(at)alcatel(dot)com"><thanh(dot)q(dot)lam(at)alcatel(dot)com></a> writes:
</pre>
<blockquote type="cite">
<pre wrap="">when I run: ./configure --without-readline, I get errors that aborts the
configure process: "checking types of arguments for accept()...
configure: error: could not determine argument types".
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">In file included from /usr/include/netinet/in.h:41,
from /usr/include/sys/socket.h:203,
from configure:10963:
/usr/include/sys/stream.h:307: parse error before "projid_t"
configure:10965: parse error before "accept"
configure:10965: conflicting types for `accept'
/usr/include/sys/socket.h:450: previous declaration of `accept'
configure:10965: warning: data definition has no type or storage class
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
Hmm --- the "parse error" suggests that sys/socket.h on your platform
has some inclusion dependency that we are failing to provide for. Can
you find out what it is? (Hint: look for "projid_t")
regards, tom lane
</pre>
</blockquote>
</body>
</html>