-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Package: libopenspc-dev Version: 0.3.99a-2 Severity: normal
- --- Please enter the report below this line. --- If you try to build the examples using the Makefile given, you get various breakage: $ cp -r /usr/share/doc/libopenspc-dev/examples/ ~/software/openspc-ex $ cd ~/software/openspc-ex/ $ make make: *** No rule to make target `../libopenspc/openspc.h', needed by `ospcplay.o'. Stop. This is because the makefile provided has dependencies on ../libopenspc/openspc.h, which isn't needed for this package. So if you remove them: $ make gcc -W -Wall -pedantic -g -I../libopenspc -c ospcplay.c -o ospcplay.o make -C ../libopenspc libopenspc.so make: *** ../libopenspc: No such file or directory. Stop. make: *** [libopenspc.so] Error 2 Again, the dependency on libopenspc.so isn't needed here. Attached is a patch which I think fixes the problem (at least, it builds the examples on my system). Thanks for your time! - --- System information. --- Architecture: i386 Kernel: Linux 2.6.21-2-486 Debian Release: lenny/sid 500 unstable www.debian-multimedia.org 500 unstable gulus.usherbrooke.ca 500 testing security.debian.org 1 experimental gulus.usherbrooke.ca - --- Package information. --- Depends (Version) | Installed =============================-+-============== libopenspc0 (= 0.3.99a-2) | 0.3.99a-2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGpvsChRlgoLPrRPwRAgriAJ9ZIeHKTkUE6NpgzSDmWYofayAHFACfUxoe Wi/l2PWYY7ugdGu/dTpu0Vw= =6Umn -----END PGP SIGNATURE-----
--- /usr/share/doc/libopenspc-dev/examples/Makefile 2003-01-09 21:00:42.000000000 -0500 +++ Makefile 2007-07-25 03:14:42.000000000 -0400 @@ -13,19 +13,16 @@ mkdir -p $(INSTALL_BIN_PATH) install -m 755 ospcplay $(INSTALL_BIN_PATH)/ospcplay -ospcplay: ospcplay.o libopenspc.so Makefile +ospcplay: ospcplay.o Makefile $(CC) $(LDFLAGS) -o ospcplay ospcplay.o -lopenspc -spccomm: spccomm.o libopenspc.so Makefile +spccomm: spccomm.o Makefile $(CC) $(LDFLAGS) -o spccomm spccomm.o -lopenspc -libopenspc.so: - make -C ../libopenspc libopenspc.so - -ospcplay.o: ospcplay.c ../libopenspc/openspc.h Makefile +ospcplay.o: ospcplay.c Makefile $(CC) $(CFLAGS) -I../libopenspc -c ospcplay.c -o ospcplay.o -spccomm.o: spccomm.c ../libopenspc/openspc.h Makefile +spccomm.o: spccomm.c Makefile $(CC) $(CFLAGS) -I../libopenspc -c spccomm.c -o spccomm.o clean:
makepatch.sig
Description: Binary data