What version of gcc are you using? Can you try a different version?
You might also try to reduce the optimization level - '-g -O' might be
a good guess.
What we really need is the contents of the file 'Installation' and a C
stack backtrace. Please try to run the temacs command under gdb to
generate a backtrace.
Thanks,
vin
"Ahmed Hosni (EAA)" <Ahmed.Hosni(a)ericsson.com.au> writes:
> Hi Folks,
>
> I'm not sure if I have written to the exact source. If not, can you please
> pass it on.
>
> I need help with the compilation of Xemacs_21.1.14
> The actual compile part works. But the "make" fails. Details below:
>
>
> Here are the details:
>
> MACHINE: Solaris 2.6 (also tried on Solaris 2.8 but did not matter!)
>
> COMMANDS (i.e files) USED:
>
> The following "configure.test" and "make.test" files were created
for the
> purpose of explaining what variables were used in the compilation and also
> to try something different.
>
> SOURCE DIRECTORY = /apps/des/apps/xemacs_21.1.14.src
> DESTINATION DIRECTORY = /apps/xemacs_21.1.14
>
> $ more configure.test
> #!/bin/ksh
> PATH=/usr/local/bin:/usr/bin; export PATH
> LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/dt/lib:/usr/openwin/lib ;
> export LD
> _LIBRARY_PATH
> LD_RUN_PATH=$LD_LIBRARY_PATH ; export LD_RUN_PATH
> ./configure \
> --prefix=/apps/xemacs_21.1.14 \
> --site-runtime-libraries=$LD_RUN_PATH \
> --compiler=gcc --with-gcc --with-gnu-make \
> --with-x11 --with-cde
> # --dynamic=no
>
> #--const-is-losing
>
> make
>
>
> $ more make.test
> #!/bin/ksh
> PATH=/usr/local/bin:/usr/bin; export PATH
> LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/dt/lib:/usr/openwin/lib ;
> export LD
> _LIBRARY_PATH
> LD_RUN_PATH=$LD_LIBRARY_PATH ; export LD_RUN_PATH
> make
>
>
> ERROR TRANSCRIPT
> ########################################################
> cd ./lib-src && make CC='gcc' CFLAGS='-g -O3 -Wall
-Wno-switch'
> LDFLAGS='' CPPFLAGS='' all
> make[1]: Entering directory `/apps/des/apps/xemacs_21.1.14.src/lib-src'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/apps/des/apps/xemacs_21.1.14.src/lib-src'
> cd ./lwlib && make CC='gcc' CFLAGS='-g -O3 -Wall
-Wno-switch' LDFLAGS=''
> CPPFLAGS='' all
> make[1]: Entering directory `/apps/des/apps/xemacs_21.1.14.src/lwlib'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/apps/des/apps/xemacs_21.1.14.src/lwlib'
> cd ./src && make CC='gcc' CFLAGS='-g -O3 -Wall -Wno-switch'
LDFLAGS=''
> CPPFLAGS='' all
> make[1]: Entering directory `/apps/des/apps/xemacs_21.1.14.src/src'
> EMACSBOOTSTRAPLOADPATH="/apps/des/apps/xemacs_21.1.14.src/src/../lisp/:/ap
> ps/des/apps/xemacs_21.1.14.src" ./temacs -batch -l
> /apps/des/apps/xemacs_21.1.14.src/src/../lisp/update-elc.el
> Segmentation Fault
> make[1]: *** [update-elc.stamp] Error 139
> make[1]: Leaving directory `/apps/des/apps/xemacs_21.1.14.src/src'
> make: *** [src] Error 2
>
>
> ########################################################
>
>
> Thanking you in advance.
>
>
> Ahmed Hosni
> Methods and Tools (EAA/M&T)
>
>