You are not logged in.

#1 2007-01-10 15:22:01

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

GOGO Floating point exception

hi,

I've made a PKGBUILD for GoGo, a assembly optimized (nasm) mp3-encoder based on LAME

http://homepage1.nifty.com/herumi/gogo_e.html
http://member.nifty.ne.jp/~pen/

pkgname=gogo
pkgver=3.13
pkgrel="1"
my_pkgname="petit"
my_pkgver="313"
pkgdesc="An assembly optimized version based on LAME 3.9x"
url="http://homepage1.nifty.com/herumi/gogo_e.html"
#url="http://member.nifty.ne.jp/~pen/free/gogo3/mct_gogo.htm"
license="GPL"
depends=()
makedepends=('nasm')
source=("http://homepage2.nifty.com/kei-i/$my_pkgname/$my_pkgname$my_pkgver.tgz")
md5sums=('aea10a40091b4e3aa29d700e842ccb11')

build() {
  cd $startdir/src/$my_pkgname$my_pkgver/linux
  make || return 1
  install -d -m 0755 $startdir/pkg/usr/bin
  install -m 0755 gogo $startdir/pkg/usr/bin/
}

it compiles and I can install the package but when I run gogo I get this error:

encode 1.wav to 1gogo.mp3
GOGO-no-coda ver. 3.13 ( May. 20 2004 ) is a mp3 encoder based on lame 3.88,
which is distributed under LGPL on http://www.mp3dev.org/mp3/ .
See http://member.nifty.ne.jp/~pen/ ,
    http://homepage1.nifty.com/herumi/gogo_e.html .
Floating point exception

I looked at the Homepage but it's in Chinese :?

Offline

#2 2007-01-11 00:38:07

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: GOGO Floating point exception

Built manually, works fine here (i686).


1000

Offline

#3 2007-01-11 08:36:46

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: GOGO Floating point exception

how did you built it?

I tried "make" in petit313/linux --> same error

and the configure script in petit313/ breaks with this error

configure: error: can not find install-sh or install.sh in .. ../.. ../../..

Offline

#4 2007-01-11 14:34:05

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: GOGO Floating point exception

My version (just cosmetical changes):

pkgname=gogo
pkgver=3.13
pkgrel=1
pkgdesc='Assembly optimized MP3 encoder based on LAME 3.9x'
url=http://homepage1.nifty.com/herumi/gogo_e.html
license=LGPL
arch=i686
depends=glibc
makedepends=nasm
source=(http://homepage2.nifty.com/kei-i/petit/petit313.tgz)
md5sums=(aea10a40091b4e3aa29d700e842ccb11)

build() {
  cd ${startdir}/src/petit313/linux/
  make || return 1
  install -D gogo ${startdir}/pkg/usr/bin/gogo
}

I did nothing special, just 'make'.

Output of the program (with some tiny .wav file I found in /usr/share/centericq):

encode online.wav to online.mp3
GOGO-no-coda ver. 3.13 ( May. 20 2004 ) is a mp3 encoder based on lame 3.88,
which is distributed under LGPL on http://www.mp3dev.org/mp3/ .
See http://member.nifty.ne.jp/~pen/ ,
    http://homepage1.nifty.com/herumi/gogo_e.html .
family 6:vendor Intel
extended instruction - MMX CMOV 
enabled extended instruction - MMX CMOV 
MPEG 2 layer III mono
inp sampling-freq=11.0kHz out sampling-freq=16.0kHz bitrate=128kbps
input  file `online.wav'
output file `online.mp3'
{     22/     22} 100.0% (  6.15x)  re:[00:00:00.00] to:[00:00:00.12]

1000

Offline

#5 2007-01-11 14:49:07

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: GOGO Floating point exception

hmm?

I also used just 'make' but it does not work.

Which CPU do you have.

my one is

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Pentium(R) M processor 1.50GHz
stepping        : 8
cpu MHz         : 600.000
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up est tm2
bogomips        : 1285.50

Offline

#6 2007-01-11 15:32:28

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: GOGO Floating point exception

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 6
model name      : Celeron (Mendocino)
stepping        : 10
cpu MHz         : 365.853
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr up
bogomips        : 732.64

1000

Offline

Board footer

Powered by FluxBB