[packman] opensuse 10.3 und wired

Toni toni at links2linux.de
Mon Mar 24 17:19:59 CET 2008


Am Montag, 24. März 2008 schrieb Peter J. P-N:
> Bernhard Walle schrieb:
> > Fehler?
>
> rpmbuild --rebuild --target=x86_64 wired-0.6-0.pm.1.src.rpm
> .
> .
> ....
> libportaudio.so)
> ar cru lib/.libs/libportaudio.a  src/common/pa_allocation.o
> src/common/pa_converters.o src/common/pa_cpuload.o
> src/common/pa_dither.o src/common/pa_front.o src/common/pa_process.o
> src/common/pa_skeleton.o src/common/pa_stream.o src/common/pa_trace.o
> src/hostapi/alsa/pa_linux_alsa.o src/hostapi/jack/pa_jack.o
> src/hostapi/oss/pa_unix_oss.o src/os/unix/pa_unix_hostapis.o
> src/os/unix/pa_unix_util.o
> ranlib lib/.libs/libportaudio.a
> creating lib/libportaudio.la
> (cd lib/.libs && rm -f libportaudio.la && ln -s ../libportaudio.la
> libportaudio.la)
> for dir in ; do make -C $dir all; done
> mkdir bin
> touch bin-stamp
> /bin/sh ./libtool --mode=link gcc -o bin/paqa_devs -O2 -g
> -fmessage-length=0 -D_FORTIFY_SOURCE=2 -DPA_LITTLE_ENDIAN   -pthread
> -I./include -I./src/common -I./src/os/unix -DPACKAGE_NAME=\"\"
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
> -DPACKAGE_BUGREPORT=\"\" -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_DLFCN_H=1 -DSIZEOF_SHORT=2
> -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_CLOCK_GETTIME=1 -DHAVE_NANOSLEEP=1
> -DPA_USE_ALSA=1 -DPA_USE_JACK=1 -DPA_USE_OSS=1  ./test/paqa_devs.c
> lib/libportaudio.la -lm -lpthread
> mkdir bin/.libs
> gcc -o bin/.libs/paqa_devs -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2
> -DPA_LITTLE_ENDIAN -pthread -I./include -I./src/common -I./src/os/unix
> -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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_DLFCN_H=1
> -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_CLOCK_GETTIME=1
> -DHAVE_NANOSLEEP=1 -DPA_USE_ALSA=1 -DPA_USE_JACK=1 -DPA_USE_OSS=1
> ./test/paqa_devs.c  lib/.libs/libportaudio.so -lasound
> /usr/lib64/libjack.so -ldl -lrt -lm -lpthread
> lib/.libs/libportaudio.so: undefined reference to `jack_port_lock'
> lib/.libs/libportaudio.so: undefined reference to `jack_port_unlock'
> collect2: ld returned 1 exit status
> make[1]: *** [bin/paqa_devs] Fehler 1
> make[1]: Leaving directory
> `/usr/src/packages/BUILD/wired-0.6/src/portaudio' make: *** [all-recursive]
> Fehler 1
> error: Bad exit status from /var/tmp/rpm-tmp.89462 (%build)

den jack-fehler kannst du einfach patchen, die lock/unlock Funktionen gibt es 
nicht mehr ==> diese Zeilen löschen in pa_jack.c im Verzeichnis
src/portaudio/src/hostapi/jack

aber dann gibt es andere Fehler :)
-- 
have fun
Toni




More information about the Packman mailing list