lotus



previous page: Lx02) How to make the BETA compiler version 5.0/5.1 work with Linux ELF libraries
  
page up: BETA Programming Language FAQ
  
next page: SG01) What are the system requirements to run BETA on Silicon Graphics workstations?

Lx03) Why does GuiEnv demos segmentation fail?




Description

This article is from the FAQ, by with numerous contributions by others.

Lx03) Why does GuiEnv demos segmentation fail?

With some Linux distributions, the demos in $BETALIB/guienv/v1.4/demos (aka
BETALIB/demo/guienv) all fail with a segmentation fault upon startup,
whereas, e.g. the MotifEnv demos all work correct.

The reason for this seems to be a buggy gcc used for producing some of the
files in the BETA releases r4.0 and r4.0.1. This was done at the time that
the Linux community was switching towards ELF binaries, and possibly this is
the reason, that gcc produced wrong files. The problem has not been observed
for release 4.0.2.

A workaround is to do the following (as the owner of BETALIB):

        cd $BETALIB/guienv/v1.4/private/X11
        chmod -R u+w .
        rm linux/guienv_unix.o
        rm linux/Canvas.o
        rm linux/Button.o
        rm linux/IconButton.o
        rm linux/ToggleButton.o
        beta guienv_unixbody
        chmod -R a-w .




 

Continue to:















TOP
previous page: Lx02) How to make the BETA compiler version 5.0/5.1 work with Linux ELF libraries
  
page up: BETA Programming Language FAQ
  
next page: SG01) What are the system requirements to run BETA on Silicon Graphics workstations?