Raymond Toy wrote:
While trying to do a build on Solaris (sparc), [...]
What release of Solaris, and what XEmacs configuration options?
As a final test, I tried a 32-bit build on Linux using gcc 4.4.1.
The
64-bit build works fine. However, the 32-bit build fails miserably
with error messages like:
gcc -c -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wshadow
-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
-Wdeclaration-after-statement -Wunused-parameter -g -m32 -Demacs -I.
-I/net/gondor/src/xemacs/hg/xemacs-21.5/src -DHAVE_CONFIG_H
/net/gondor/src/xemacs/hg/xemacs-21.5/src/termcap.c
/net/gondor/src/xemacs/hg/xemacs-21.5/src/termcap.c:107: warning: function declaration
isn't a prototype
/net/gondor/src/xemacs/hg/xemacs-21.5/src/termcap.c:120: warning: function declaration
isn't a prototype
/net/gondor/src/xemacs/hg/xemacs-21.5/src/termcap.c:130: warning: function declaration
isn't a prototype
/net/gondor/src/xemacs/hg/xemacs-21.5/src/termcap.c:143: warning: function declaration
isn't a prototype
/net/gondor/src/xemacs/hg/xemacs-21.5/src/termcap.c:236: error: expected '=',
',', ';', 'asm' or '__attribute__' before 'ospeed'
I usually get errors like that when I've forgotten to install all the
necessary -dev packages. For example, on Ubuntu 10.10 I needed to
install
libncurses5-dev
libx11-dev
libxaw7-dev
libpng++-dev
(as well as texinfo).
Anyone doing 32-bit builds these days?
That's all I build. Haven't built recently on Solaris, though, mostly
due to my employer's policies around downloading FOSS.
mike
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta