[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cannot Build svn 0.21.0 server on Solaris 2.8

From: phLi <phli0_at_yahoo.com>
Date: 2003-05-02 00:07:17 CEST

Thanks for your responses. sigset_t is defined in /usr/include/sys/signal.h
which is included at the beginning of /usr/include/signal.h. The definition is
not conditional. Using --trace-includes yields this output which I assume means
the definition is included properly:

<snip>
.... /usr/include/signal.h
..... /usr/include/iso/signal_iso.h
...... /usr/include/sys/iso/signal_iso.h
..... /usr/include/sys/signal.h
In file included from /usr/local/apache2/include/apr_general.h:71,
                 from /usr/local/apache2/include/apr_pools.h:77,
                 from subversion/include/svn_pools.h:29,
                 from subversion/libsvn_delta/cancel.c:19:
/usr/include/signal.h:192: parse error before '*' token
<snip>

So, I guess you are telling me gcc gives a "parse error" when it can't find a
type def?

Thanks again.

--- "Martin_v._Löwis" <martin@v.loewis.de> wrote:
> phLi wrote:
>
> > Meant to include that, sorry:
> >
> > extern int sigwait(const sigset_t *, int *);
>
> So the error is that it doesn't have a definition for sigset_t.
>
> Can you find out where sigset_t is defined? Can
> you then find out whether the header that defines sigset_t is
> included before signal.h is included? If the definition of
> sigset_t is conditional, what are the conditions?
>
> Use grep to find the declaration of types in headers. If using
> gcc, use --trace-includes to find out what header files are
> included in what order. Use vi to find out whether a certain
> line in a file is indeed a declaration, and whether it is
> conditional.
>
> Regards,
> Martin

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 2 00:08:04 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.