login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Submitted by : (unknown) at: 2007-11-17T21:53:10-08:00 (16 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

I can't compile FEB version of axiom on linux Suse 9.2
The error reported is:


 
gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer  -I/home/dmo/sorg/axiom/lsp/gcl-2.6.5/o -I../h -I../gcl-tk nsocket.c
gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer  -I/home/dmo/sorg/axiom/lsp/gcl-2.6.5/o -I../h -I../gcl-tk sfasl.c
In file included from sfasl.c:40:
sfaslbfd.c: In function `fasload':
sfaslbfd.c:266: error: structure has no member named `_raw_size'
sfaslbfd.c:291: error: structure has no member named `_raw_size'
sfaslbfd.c:356: error: structure has no member named `_raw_size'
make[4]: *** [sfasl.o] Error 1
make[4]: Leaving directory `/home/dmo/sorg/axiom/lsp/gcl-2.6.5/o'
make[3]: *** [unixport/saved_pre_gcl] Error 2
make[3]: Leaving directory `/home/dmo/sorg/axiom/lsp/gcl-2.6.5'
/bin/sh: unixport/saved_gcl: No such file or directory
make[2]: *** [gcldir] Error 127
make[2]: Leaving directory `/home/dmo/sorg/axiom/lsp'
make[1]: *** [lspdir] Error 2
make[1]: Leaving directory `/home/dmo/sorg/axiom'
make: *** [all] Error 2
dmo@k2:~/sorg/axiom>
dmo@k2:~/sorg/axiom>           


I have the same problem compiling gcl-2.6.5 alone. Gcl-2.6.6 can be compiled without any error and work fine.

What can i do?
Thanks Domenico

------------------------------------------------------------


right copypaste --Domenico, Fri, 04 Mar 2005 01:42:34 -0600

The right copypaste clipbord is:

gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer  -I/home/dmo/sorg/axiom/lsp/gcl-2.6.5/o -I../h -I../gcl-tk nsocket.c
gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer  -I/home/dmo/sorg/axiom/lsp/gcl-2.6.5/o -I../h -I../gcl-tk sfasl.c
In file included from sfasl.c:40:
sfaslbfd.c: In function `fasload':
sfaslbfd.c:266: error: structure has no member named `_raw_size'
sfaslbfd.c:291: error: structure has no member named `_raw_size'
sfaslbfd.c:356: error: structure has no member named `_raw_size'
make[4]: *** [sfasl.o] Error 1
make[4]: Leaving directory `/home/dmo/sorg/axiom/lsp/gcl-2.6.5/o'
make[3]: *** [unixport/saved_pre_gcl] Error 2
make[3]: Leaving directory `/home/dmo/sorg/axiom/lsp/gcl-2.6.5'
/bin/sh: unixport/saved_gcl: No such file or directory
make[2]: *** [gcldir] Error 127
make[2]: Leaving directory `/home/dmo/sorg/axiom/lsp'
make[1]: *** [lspdir] Error 2
make[1]: Leaving directory `/home/dmo/sorg/axiom'
make: *** [all] Error 2
dmo@k2:~/sorg/axiom>
dmo@k2:~/sorg/axiom>           




temporary fix --Fri, 04 Mar 2005 08:55:46 -0600

There are two solutions, one of which I'll pursue and the other
which you can take in the short term.

I'll work on making GCL work on 2.6.6.

In the short term you can try the following:


It appears that Suse requires different GCL options during the
configure. Follow these steps:

cd ~/sorg/axiom
export AXIOM=`pwd`/mnt/linux
export PATH=$AXIOM/bin:$PATH
make clean
edit Makefile.pamphlet

change the line that reads:

<<GCLOPTS>>=
GCLOPTS="--enable-vssize=65536*2 --enable-statsysbfd --enable-maxpage=128*1024"
@

to read:


<<GCLOPTS>>=
"--enable-vssize=65536*2 --enable-locbfd --disable-dynsysbfd --disable-statsysbfd --enable-maxpage=128*1024"
@

save the file.

make


if this succeeds let me know and I'll make a new Suse stanza.
If this fails let me know.

Tim Daly daly at axiom-developer dot org



OK --Mon, 07 Mar 2005 11:01:58 -0600

With 

<<GCLOPTS>>=
GCLOPTS="--enable-vssize=65536*2 --enable-locbfd --disable-dynsysbfd --disable-statsysbfd --enable-maxpage=128*1024"
@

compile is OK on Suse 9.2

Thanks
Domenico



property change --Tue, 08 Mar 2005 04:57:58 -0600





property change --unknown, Sun, 03 Jul 2005 07:22:44 -0500

Status: open => closed 




  Subject:   Be Bold !!
  ( 14 subscribers )  
Please rate this page: