fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[fluid-dev] fluid cvs compile error/ bank offset patch


From: Piotr Sawicki
Subject: [fluid-dev] fluid cvs compile error/ bank offset patch
Date: Fri, 09 Jul 2004 15:15:36 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124

Hi,

I'm running fc1 with planet ccrma.
I wanted to try this patch that adds the ability to specify a "bank offset" when

loading a sound font, but while 'make' I got the following:


(cd .libs && rm -f libfluidsynth.la && ln -s ../libfluidsynth.la libfluidsynth.la) if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../include -I/usr/include/ladcca-1.0 -I/usr/include/alsa -I/usr/include/alsa -Wall -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wno-unused -Winline -MT fluidsynth-fluidsynth.o -MD -MP -MF ".deps/fluidsynth-fluidsynth.Tpo" -c -o fluidsynth-fluidsynth.o `test -f 'fluidsynth.c' || echo './'`fluidsynth.c; \ then mv -f ".deps/fluidsynth-fluidsynth.Tpo" ".deps/fluidsynth-fluidsynth.Po"; else rm -f ".deps/fluidsynth-fluidsynth.Tpo"; exit 1; fi
fluidsynth.c: In function `main':
fluidsynth.c:503: error: too few arguments to function `fluid_synth_sfload'
fluidsynth.c: In function `cca_load':
fluidsynth.c:777: error: too few arguments to function `fluid_synth_sfload'
In file included from /usr/include/ladcca-1.0/ladcca/list.h:285:
/usr/include/ladcca-1.0/ladcca/list.h: At top level:
/usr/include/ladcca-1.0/ladcca/list.h:291: warning: inlining failed in call to `cca_list_sort'
/usr/include/ladcca-1.0/ladcca/list.h:314: warning: called from here
/usr/include/ladcca-1.0/ladcca/list.h:291: warning: inlining failed in call to `cca_list_sort'
/usr/include/ladcca-1.0/ladcca/list.h:314: warning: called from here
make[2]: *** [fluidsynth-fluidsynth.o] Błąd 1
make[2]: Leaving directory `/home/piotr/cvsroot/fluid/fluidsynth/src'
make[1]: *** [all] Błąd 2
make[1]: Leaving directory `/home/piotr/cvsroot/fluid/fluidsynth/src'
make: *** [all-recursive] Błąd 1
address@hidden fluidsynth]#

I also don't know, if I patched it corectly, since I had to point manually to each file while patching. I'm sure there is a command that allows to patch the whole source automaticly, but I'm hope that my patching was succesfull anyway:

address@hidden fluidsynth]# patch <bank_offset.patch
can't find file to patch at input line 9
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|? bank_offset.patch
|Index: include/fluidsynth/sfont.h
|===================================================================
|RCS file: /cvsroot/fluid/fluidsynth/include/fluidsynth/sfont.h,v
|retrieving revision 1.2
|diff -u -r1.2 sfont.h
|--- include/fluidsynth/sfont.h 22 Mar 2004 10:28:19 -0000      1.2
|+++ include/fluidsynth/sfont.h 10 Jun 2004 19:54:00 -0000
--------------------------
File to patch:

then I pointed to all files in different directories until everything was patched, a little tediuos, but I You can help me, I would be very gratefull :-)

thanks

Piotr
--
Kopalnia Dźwięku
Piotr Karol Sawicki email: address@hidden
strona domowa: www.piotr.art.pl






reply via email to

[Prev in Thread] Current Thread [Next in Thread]