[Cs-dev] and again...
Date | 2005-08-23 07:10 |
From | jpff@codemist.co.uk |
Subject | [Cs-dev] and again... |
after a few days in other projects I do a cvs update and rebuild. All is OK until.... frontends/csound/csound_main.c: In function `main': frontends/csound/csound_main.c:148: warning: implicit declaration of function `init_getstring' frontends/csound/csound_main.c:155: warning: implicit declaration of function `csoundYield' frontends/csound/csound_main.c:159: warning: implicit declaration of function `Str' frontends/csound/csound_main.c:159: warning: passing arg 2 of `print_benchmark_info' makes pointer from integer without a cast gcc -Wl,-Bdynamic -o csound frontends/csound/csound_main.o -L. -L. -L/usr/local/lib64 -L. -L. -L/usr/local/lib/python2.3/config -L/usr/local/lib64 -L/usr/X11R6/lib64 -lcsound -lsndfile -lfltk -lpthread -lm -lXext -lX11 -lsupc++ -ldl -lpthread -lfltk -lstdc++ -lpthread -lm ./libcsound.a(one_file.o)(.text+0x6a4): In function `mytmpnam': Top/one_file.c:70: warning: the use of `tmpnam' is dangerous, better use `mkstemp' frontends/csound/csound_main.o(.text+0x2e0): In function `main': frontends/csound/csound_main.c:159: undefined reference to `Str' collect2: ld returned 1 exit status scons: *** [csound] Error 1 scons: building terminated because of errors. ==John ffitch ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-08-23 11:21 |
From | Istvan Varga |
Subject | Re: [Cs-dev] and again... |
You seem to have version 1.13 (2005-02-10) of frontends/csound/csound_main.c. I think you should move away the (possibly modified) old version of the file and update again, or even better, do a clean new checkout in a separate directory to get consistent and up to date CVS sources. jpff@codemist.co.uk wrote: > after a few days in other projects I do a cvs update and rebuild. > All is OK until.... > > frontends/csound/csound_main.c: In function `main': > frontends/csound/csound_main.c:148: warning: implicit declaration of function `init_getstring' > frontends/csound/csound_main.c:155: warning: implicit declaration of function `csoundYield' > frontends/csound/csound_main.c:159: warning: implicit declaration of function `Str' > frontends/csound/csound_main.c:159: warning: passing arg 2 of `print_benchmark_info' makes pointer from integer without a cast > gcc -Wl,-Bdynamic -o csound frontends/csound/csound_main.o -L. -L. -L/usr/local/lib64 -L. -L. -L/usr/local/lib/python2.3/config -L/usr/local/lib64 -L/usr/X11R6/lib64 -lcsound -lsndfile -lfltk -lpthread -lm -lXext -lX11 -lsupc++ -ldl -lpthread -lfltk -lstdc++ -lpthread -lm > ./libcsound.a(one_file.o)(.text+0x6a4): In function `mytmpnam': > Top/one_file.c:70: warning: the use of `tmpnam' is dangerous, better use `mkstemp' > frontends/csound/csound_main.o(.text+0x2e0): In function `main': > frontends/csound/csound_main.c:159: undefined reference to `Str' > collect2: ld returned 1 exit status > scons: *** [csound] Error 1 > scons: building terminated because of errors. > > ==John ffitch ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-08-23 12:56 |
From | jpff@codemist.co.uk |
Subject | Re: [Cs-dev] and again... |
What I do not understand is why I keep getting these inconsistencies. I do a "cvs update" frequently, always before changing any code, but I am often having these breaks. ==John ffitch ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |