>>>> "Vikas" == Vikas Mishra
<vmishra(a)dal.asp.ti.com> writes:
Vikas> I could not find an e-mail address to which to send a mail
Vikas> to in case of a compile problem. So I am sending this to
Vikas> you.
No problem. FYI, you can use M-x report-emacs-bug (available from the
Help menu, too) or send directly to xemacs-beta(a)xemacs.org. I am
cc'ing this message there, so you needn't resend.
It looks to me like you may have a problem in your GCC installation,
where certain compiler helper functions or macros (__builtin_va_alist)
are not getting defined. Beyond that I can't say; I hope the Solaris
users on xemacs-beta will be able to give further help.
Vikas> I was trying to build Xemacs on Solaris 2.7 and am getting
Vikas> the following error while trying to compile the source.
--BEGIN_SNIPPET__
gcc -c -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wshadow
-Wsign-compare -Wpointer-arith -Demacs -I. -DHAVE_CONFIG_H
-I/usr/include -I/usr/local/include -I/usr/dt/include -I/usr/dt/include
-I/usr/openwin/include/ bytecode.c
bytecode.c: In function `funcall_compiled_function':
bytecode.c:486: warning: comparison between signed and unsigned
bytecode.c: In function `invalid_byte_code_error':
bytecode.c:1492: `__builtin_va_alist' undeclared (first use in this
function)
bytecode.c:1492: (Each undeclared identifier is reported only once
bytecode.c:1492: for each function it appears in.)
bytecode.c:1488: warning: `args' might be used uninitialized in this
function
bytecode.c: In function `Fbyte_code':
bytecode.c:2402: warning: comparison between signed and unsigned
gmake[1]: *** [bytecode.o] Error 1
gmake[1]: Leaving directory `/home/vmishra/xemacs-21.4.2/src'
gmake: *** [src] Error 2
__END_SNIPPET__
I tried to look at the file bytecode.c but was unable to determine the
cause of the error.
Could you tell me what needs to be done to fix this ?
Regards,
Vikas
My installation is described below :
-------------------------------------
uname -a: SunOS lift 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-5_10
./configure '--prefix=/home/vmishra/xemacs'
'--x-includes=/usr/openwin/include/' '--x-libraries=/usr/openwin/lib/'
'--site-includes=/usr/include /usr/local/include /usr/dt/include'
'--site-libraries=/usr/lib /usr/local/lib /usr/dt/lib'
'--with-menubars=lucid' '--with-xpm' '--with-xface'
'--with-socks'
'--with-cde' '--with-sound=native' '--with-xim'
XEmacs 21.4.2 "Developer-Friendly Unix APIs" configured for
`sparc-sun-solaris2.7'.
Compilation / Installation:
Source code location: /home/vmishra/xemacs-21.4.2
Installation prefix: /home/vmishra/xemacs
Additional header files: /usr/include /usr/local/include
/usr/dt/include
Additional libraries: /usr/lib /usr/local/lib /usr/dt/lib
Runtime library search path:
/usr/ccs/lib:/usr/local/lib:/usr/dt/lib:/usr/openwin/lib/:/usr/local/gcc/2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -g -O3 -Wall -Wno-switch
-Winline -Wmissing-prototypes -Wshadow -Wsign-compare -Wpointer-arith
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/dt/include
/usr/openwin/include/
- X Windows libraries location: /usr/dt/lib
/usr/openwin/lib/
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for ToolTalk.
Compiling in support for SOCKS.
Compiling in support for dynamic shared object modules.
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."