and again...

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

and again...

jpff
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|

Re: and again...

Istvan Varga
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.

[hidden email] 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|

Re: and again...

jpff
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel