[Fwd: Re: [kaffe] libtritonusalsa does not get installed]

Matthias Pfisterer Matthias.Pfisterer@web.de
Sat Jan 24 13:51:01 2004


Hi,

regarding the error below, I tried building kaffe (CVS of today) with 
gcc 3.0.4 and encountered the same error:
---
make[1]: Entering directory `/home/matthias/java/kaffe/libraries/javalib'
rm -rf lib
mkdir lib
/bin/sh ./rebuildLib @essential.files
Compiling classes from  @essential.files  using 
/home/matthias/java/kaffe/kaffe/kaffe/kaffe-bin -verbosegc -mx 256M 
at.dms.kjc.Main
[ start compilation in verbose mode ]
[ parsed gnu/classpath/Configuration.java in 488 ms ]
./rebuildLib: line 58:  2632 Segmentation fault      $JAVAC $VERBOSE 
$JAVAC_FLAGS -d $LIBDIR $CPATH ${1+"$@"}
make[1]: *** [lib/stamp] Error 139
make[1]: Leaving directory `/home/matthias/java/kaffe/libraries/javalib'
make: *** [all-recursive] Error 1
---
Any more ideas I could try?

Matthias

Matthias Pfisterer wrote:
> Resending because it didn't get through presumably because the attached 
> config.log was too big (300 K). If you need config.log, please tell me 
> and I'll send it directly.
> 
> Matthias
> 
> -------- Original Message --------
> Subject: Re: [kaffe] libtritonusalsa does not get installed
> Date: Sun, 18 Jan 2004 22:33:52 +0100
> From: Matthias Pfisterer <Matthias.Pfisterer@web.de>
> To: Kaffe <kaffe@kaffe.org>
> References: <400810C5.6030109@web.de> <400986E5.8090401@kaffe.org> 
> <400A988B.8010102@web.de> <400AE721.3070604@kaffe.org>
> 
> Dalibor Topic wrote:
>  > Hallo Matthias,
>  >
>  > Matthias Pfisterer wrote:
>  >
>  >> First the "no target all in po" that was reported recently. I edited
>  >> the top-level Makefile to remove po from SUBDIRS as suggested.
>  >
>  >
>  > This should be fixed now [1]. Could you do a fresh check out from CVS
>  > and retry?
> 
> Yes, I can confirm that it's fixed. Thanks. However, the problem below
> remains.
> 
>  >> Now I get the following:
>  >> --
>  >> Making all in libraries/javalib
>  >> make[1]: Entering directory 
> `/home/matthias/java/kaffe/libraries/javalib'
>  >> rm -rf lib
>  >> mkdir lib
>  >> /bin/sh ./rebuildLib @essential.files
>  >> Compiling classes from  @essential.files  using
>  >> /home/matthias/java/kaffe/kaffe/kaffe/kaffe-bin -verbosegc -mx 256M
>  >> at.dms.kjc.Main
>  >> [ start compilation in verbose mode ]
>  >> [ parsed gnu/classpath/Configuration.java in 486 ms ]
>  >> ./rebuildLib: line 58: 15924 Segmentation fault      $JAVAC $VERBOSE
>  >> $JAVAC_FLAGS -d $LIBDIR $CPATH ${1+"$@"}
>  >> make[1]: *** [lib/stamp] Error 139
>  >> make[1]: Leaving directory 
> `/home/matthias/java/kaffe/libraries/javalib'
>  >> make: *** [all-recursive] Error 1
>  >> --
>  >> This is for ./configure without opions. If I say './configure
>  >> --without-alsa', the following happens:
>  >> --
>  >> make[1]: Entering directory 
> `/home/matthias/java/kaffe/libraries/javalib'
>  >> rm -rf lib
>  >> mkdir lib
>  >> /bin/sh ./rebuildLib @essential.files
>  >> Compiling classes from  @essential.files  using
>  >> /home/matthias/java/kaffe/kaffe/kaffe/kaffe-bin -verbosegc -mx 256M
>  >> at.dms.kjc.Main
>  >> [ start compilation in verbose mode ]
>  >> [ parsed gnu/classpath/Configuration.java in 471 ms ]
>  >> --
>  >> ...and it hangs, hogging the CPU. It is interruptible with ctrl-C.
>  >
>  >
>  > Interesting bugs, definitely. I'd be more interested in the crash, atm.
>  > Do the problems still occur with the current version from CVS HEAD? If
>  > so, what's your cpu-os platform (or distribution, of you are using
>  > linux), and which gcc are you using? Are there any interesting warnings
>  > during compilation?
> 
> I investigated this further by trying old cvs versions. I can reproduce
> the problem with versions of 12th, 13th and 15th (haven't tried in
> between). With the version of 10th, the build runs smooth. With the
> version of 11th, there is an unrelated error about TAudioInputStream
> missing, but it seems to get beyond the point of the error. So
> presumably, the problem was introducd between 11th and 12th. In each
> case, I did a fresh checkout with
> cvs -z3 -d :pserver:readonly@cvs.kaffe.org:/cvs/kaffe co -D "2004-01-11"
> kaffe
> (and the appropriate date, of course). Then I issued './configure' (no
> params) and 'make'.
> 
> My system is Linux on a x86, distribution is Debian stable. The gcc
> version is 2.95.4. Does it make sense to try with a different version of
> gcc?
> 
> I haven't detected something obviously wrong during the build. I'm
> attaching config.log (produced with the CVS of today (18th).
> 
> Matthias
> 
> 
> 



-- 
Matthias Pfisterer	<mailto:Matthias.Pfisterer@web.de>
Reuchlinstrasse 28	phone ++49-711-62 87 12
D-70176 Stuttgart	(in Deutschland 0711-62 87 12)
GERMANY

Work like you don't need the money.
Love like you've never been hurt.
Dance like nobody is watching.

Java Sound Resources (examples, FAQ, applications):
http://www.jsresources.org/

Tritonus, the open source implementation of the Java Sound API:
http://www.tritonus.org/
--------------------------------------------------------------