Re: Solaris make problems?
Aidan Kehoe (kehoea@parhasard.net)
Mon, 3 Sep 2001 14:46:25 +0100 (IST)
Hi,
I haven't tried it on 2.5 , but you can probably stick an `#include
<sys/types.h>' just before the '#include <sys/siginfo.h' in
aftersteplib.h . Solaris 2.8's siginfo.h already includes sys/types.h
, which typedefs pthread_attr_t, but that may not have been true for
2.5 .
Cheers,
Aidan
Ar an 29ú lá de mí 8, scríobh Phillip Prentice :
> % uname -a
> SunOS 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-5_10
>
> %../configure --prefix=/home/pp/gnu/usr/local
> --bindir=/home/pp/gnu/usr/bin --mandir=/home/pp/gnu/usr/man
> NOTE: The above directories exist.
> Everything configures fine.
>
> % make
> gcc -O2 -Wall -fPIC -I/usr/openwin/include -I/usr/X11/include -c
> catstring3.c
> In file included from
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/time.h:90,
> from /usr/include/sys/time.h:405,
> from /usr/include/sys/select.h:17,
> from
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/types.h:278,
> from /usr/openwin/include/X11/Xlib.h:51,
> from ../include/aftersteplib.h:23,
> from catstring3.c:5:
> /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
> /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or
> union
> /usr/include/sys/siginfo.h:76: parse error before `}'
> *** Error code 1
> make: Fatal error: Command failed for target `catstring3.o'
> Current working directory /home/pp/gnu/AfterStep-1.8.9/lib
> *** Error code 1
> make: Fatal error: Command failed for target `all'begin:vcard
--
`... when the elephant man broke strong men's necks, when he'd had too
many Powers, ...'
_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users