Hi,
I had to make this change to get the compile to continue:
--- src/support/tempname.C 2000/11/14 02:01:57 1.3
+++ src/support/tempname.C 2000/11/14 19:24:01
@@ -12,6 +12,8 @@
extern string system_tempdir;
+extern "C" { int mkstemp(char*); }
+
string const lyx::tempName(string const & dir, string const & mask)
{
string const tmpdir(dir.empty() ? system_tempdir : dir);
But even after this change, compilation stops like this:
make[4]: Entering directory `/remote/tools/ksylvan/src/lyx/src/frontends/xforms'
/usr/local/bin/bash ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../../src -I../../../src/ -I../../../src/frontends/ -I../../.. -I../../..
-I../../../boost -I/remote/tools/ksylvan/include -isystem /usr/openwin/include -O2
-I/usr/openwin/include -W -Wall -Wconversion -Winline -c Dialogs.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/ -I../../../src/frontends/
-I../../.. -I../../.. -I../../../boost -I/remote/tools/ksylvan/include -isystem
/usr/openwin/include -O2 -I/usr/openwin/include -W -Wall -Wconversion -Winline
-Wp,-MD,.deps/Dialogs.pp -c Dialogs.C -o Dialogs.o
In file included from
/remote/tools/ksylvan/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/map:31,
from ../../../src/language.h:19,
from ../../../src/lyxfont.h:22,
from ../../../src/insets/lyxinset.h:23,
from ../../../src/insets/insetbutton.h:19,
from ../../../src/insets/insetcommand.h:19,
from FormInset.h:16,
from FormCitation.h:19,
from Dialogs.C:15:
/remote/tools/ksylvan/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/stl_tree.h:
In function `int __black_count(_Rb_tree_node_base *, _Rb_tree_node_base *)':
/remote/tools/ksylvan/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/stl_tree.h:1258:
warning: can't inline call to `int __black_count(_Rb_tree_node_base *,
_Rb_tree_node_base *)'
/remote/tools/ksylvan/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/stl_tree.h:1266:
warning: called from here
In file included from Dialogs.C:22:
FormPreferences.h: At top level:
FormPreferences.h:110: parse error before `>'
make[4]: *** [Dialogs.lo] Error 1
make[4]: Leaving directory `/remote/tools/ksylvan/src/lyx/src/frontends/xforms'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/remote/tools/ksylvan/src/lyx/src/frontends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/remote/tools/ksylvan/src/lyx/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/remote/tools/ksylvan/src/lyx/src'
make: *** [all-recursive] Error 1
--
Kayvan A. Sylvan | Proud husband of | Father to my kids:
Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory