You are not logged in.

#1 2006-07-05 16:32:20

n0gabor
Member
From: Hungary / Budapest
Registered: 2006-02-10
Posts: 95

Can't compile advancemame from AUR, please help

== Compiler ==
CC : gcc
CXX : g++
CFLAGS : -march=i686 -O1 -pipe
LDFLAGS : -s
obj/menu/linux/blend/menu/emulator.o
./advance/lib/rgb.h:52: warning: 'packed' attribute ignored for field of type 'uint8'
./advance/lib/rgb.h:53: warning: 'packed' attribute ignored for field of type 'uint8'
./advance/lib/rgb.h:54: warning: 'packed' attribute ignored for field of type 'uint8'
./advance/lib/rgb.h:55: warning: 'packed' attribute ignored for field of type 'uint8'
./advance/lib/rgb.h:62: warning: 'packed' attribute ignored for field of type 'uint8'
./advance/lib/rgb.h:63: warning: 'packed' attribute ignored for field of type 'uint8'
./advance/lib/rgb.h:64: warning: 'packed' attribute ignored for field of type 'uint8'
./advance/lib/rgb.h:65: warning: 'packed' attribute ignored for field of type 'uint8'
advance/menu/emulator.h:44: error: extra qualification 'emulator::' on member 'attrib_compile'
advance/menu/emulator.h:366: error: extra qualification 'generic::' on member 'load_info'
make: *** [obj/menu/linux/blend/menu/emulator.o] Error 1
==> ERROR: Build Failed.  Aborting...

the error output of makepkg, in building phase
maybe the GCC 4.1 is too new for it?

Offline

#2 2006-07-05 20:55:48

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Can't compile advancemame from AUR, please help

The PKGBUILD in AUR is out-of-date. Try with advancemame 0.106.0
Changing the pkgver and md5sums for the newer version might be enough to get it to build.

Offline

#3 2006-07-06 11:45:53

n0gabor
Member
From: Hungary / Budapest
Registered: 2006-02-10
Posts: 95

Re: Can't compile advancemame from AUR, please help

i did it, but the same error occured.

tried to compille with slackware-current...and it went well.

Offline

#4 2006-07-06 23:36:57

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Can't compile advancemame from AUR, please help

It compiled correctly here. Is your system up-to-date? I used this PKGBUILD:

#Contributor: Robert Emil Berge <robert>

pkgname=advancemame
pkgver=0.106.0
pkgrel=1
pkgdesc="MAME with advanced video support for use with TVs, Arcade Monitors, Fixed Frequencies Monitors"
url="http://advancemame.sourceforge.net/doc-advmame.html"
depends=('sdl' 'alsa-lib' 'freetype2' 'ncurses' 'expat' 'slang' )
makedepends=('nasm')
source=(http://umn.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('aa097a4a9046124e17aa83a215e454ea')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  mkdir $startdir/pkg/usr
  make prefix=$startdir/pkg/usr install
}

Offline

Board footer

Powered by FluxBB