dermartn
20.08.03, 18:12
hallo,
beim kompilieren von mp3asm habe ich so meine probleme.
deshalb habe ich mir die *.src.rpm runtergeladen und wollte es dann halt damit versuchen. klappt aber auch nicht, bekomme folgende ausgabe:
rpm --rebuild mp3asm-0.1.3-1.src.rpm
mp3asm-0.1.3-1.src.rpm wird installiert
Ausführung(%prep): /bin/sh -e /var/tmp/rpm-tmp.53263
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf mp3asm-0.1
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/mp3asm-0.1.3.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mp3asm-0.1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Ausführung(%build): /bin/sh -e /var/tmp/rpm-tmp.53263
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd mp3asm-0.1
+ autoconf
+ CFLAGS=-O2 -march=i486 -mcpu=i686
+ export CFLAGS
+ CXXFLAGS=-O2 -march=i486 -mcpu=i686
+ export CXXFLAGS
+ FFLAGS=-O2 -march=i486 -mcpu=i686
+ export FFLAGS
+ '[' -f configure.in ']'
+ libtoolize --copy --force
Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
You should update your `aclocal.m4' by running aclocal.
+ ./configure i386-suse-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for i386-suse-linux-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
+ /usr/bin/make 'CFLAGS=%{rpmcflags}'
Making all in src
make[1]: Entering directory `/usr/src/packages/BUILD/mp3asm-0.1/src'
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mp3asm\" -DVERSION=\"0.1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -I. -I. %{rpmcflags} -c utils.c
gcc: %{rpmcflags}: Datei oder Verzeichnis nicht gefunden
In file included from utils.c:24:
mp3asm.h:49: warning: built-in function `log' declared as non-function
make[1]: *** [utils.o] Fehler 1
make[1]: Leaving directory `/usr/src/packages/BUILD/mp3asm-0.1/src'
make: *** [all-recursive] Fehler 1
Fehlerhafter Status nach Ausführen von /var/tmp/rpm-tmp.53263 (%build)
kann mir jemand weiterhelfen???
- dermartn
ps: ich habe nach built-in function... und so schon gesucht, aber keine brauchbaren hilfen gefunden, trotz google :(
beim kompilieren von mp3asm habe ich so meine probleme.
deshalb habe ich mir die *.src.rpm runtergeladen und wollte es dann halt damit versuchen. klappt aber auch nicht, bekomme folgende ausgabe:
rpm --rebuild mp3asm-0.1.3-1.src.rpm
mp3asm-0.1.3-1.src.rpm wird installiert
Ausführung(%prep): /bin/sh -e /var/tmp/rpm-tmp.53263
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf mp3asm-0.1
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/mp3asm-0.1.3.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mp3asm-0.1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Ausführung(%build): /bin/sh -e /var/tmp/rpm-tmp.53263
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd mp3asm-0.1
+ autoconf
+ CFLAGS=-O2 -march=i486 -mcpu=i686
+ export CFLAGS
+ CXXFLAGS=-O2 -march=i486 -mcpu=i686
+ export CXXFLAGS
+ FFLAGS=-O2 -march=i486 -mcpu=i686
+ export FFLAGS
+ '[' -f configure.in ']'
+ libtoolize --copy --force
Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
You should update your `aclocal.m4' by running aclocal.
+ ./configure i386-suse-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for i386-suse-linux-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
+ /usr/bin/make 'CFLAGS=%{rpmcflags}'
Making all in src
make[1]: Entering directory `/usr/src/packages/BUILD/mp3asm-0.1/src'
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mp3asm\" -DVERSION=\"0.1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -I. -I. %{rpmcflags} -c utils.c
gcc: %{rpmcflags}: Datei oder Verzeichnis nicht gefunden
In file included from utils.c:24:
mp3asm.h:49: warning: built-in function `log' declared as non-function
make[1]: *** [utils.o] Fehler 1
make[1]: Leaving directory `/usr/src/packages/BUILD/mp3asm-0.1/src'
make: *** [all-recursive] Fehler 1
Fehlerhafter Status nach Ausführen von /var/tmp/rpm-tmp.53263 (%build)
kann mir jemand weiterhelfen???
- dermartn
ps: ich habe nach built-in function... und so schon gesucht, aber keine brauchbaren hilfen gefunden, trotz google :(