|
From: Dan M. <mu...@al...> - 2002-04-23 00:44:24
|
Damien,
Try adding this:
#include <sys/types.h>
to scrollkeeper.h.in below the line:
=20
#include <libxml/tree.h>
If it isn't sufficient, you might add a line for <sys/stat.h> too, but I=20
don't think this will be necessary.
Tell me if this fixes the problem for you.
Dan
On Mon, 22 Apr 2002, Damien Donlon wrote:
>=20
> Hi All,
> While compiling 0.3.7 & 0.3.8 scrollkeeper on Solaris 8 I=20
> persistently get the following during the make :
>=20
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2/libxml -I=
/usr/local/include/libxml2 -I/include -I/usr/local/include -I/usr/local/i=
nclude/libxml2/libxml -I/usr/local/include/libxml2 -I/include -DSOLARIS -=
g -O2 -c error.c -fPIC -DPIC -o .libs/error.lo
> In file included from error.c:22:
> scrollkeeper.h:63: parse error before `mode_t'
> *** Error code 1
> make: Fatal error: Command failed for target `error.lo'
> Current working directory /tmp/scrollkeeper-0.3.8/libs
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /tmp/scrollkeeper-0.3.8
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive-am'
>=20
> The function definition causing the problem appears to be :
>=20
> extern int sk_mkdir_with_parents(char *, mode_t, char);
>=20
> I am using :
> basil% gcc -v
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/s=
pecs
> gcc version 2.95.3 20010315 (release)
>=20
> Do I need to install a 3.0+ version?
>=20
> Libxml2 is Gary Pennington's latest 64bit Solaris binary and libxslt is
> 1.0.16.=20
>=20
> Suggestions?
> Please email be directly as I am not on the alias.
>=20
> Thank you!
>=20
> Damien
>=20
>=20
>=20
> =A4=BA=FF=B0`=B0=BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=A4=BA=FF=B0`=
=B0=BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=F8=A4=BA=B0`=B0=BA=FF=A4
> Damien Donlon
> dam...@su...
> 00 353 1 8199225
> x19225
>=20
> _______________________________________________
> Scrollkeeper-devel mailing list
> Scr...@li...
> https://lists.sourceforge.net/lists/listinfo/scrollkeeper-devel
>=20
|