Re: jack command line and xml patchbay files

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

 



On 09/08/2009 12:12 AM, David Adler wrote:> On Mon, Sep 7, 2009 at 3:06 PM, Grammostola> Rosea<rosea.grammostola@xxxxxxxxx>  wrote:..>> g++ jack_snapshot.cc -o jack_snapshot `pkg-config jack --libs`>> jack_snapshot.cc: In function ‘int main(int, char**)’:>> jack_snapshot.cc:21: error: ‘exit’ was not declared in this scope>> jack_snapshot.cc:35: error: ‘exit’ was not declared in this scope>> jack_snapshot.cc:113: error: ‘strncpy’ was not declared in this scope>> make: *** [jack_snapshot] Error 1>>>>> The same here, this seems to be related to "a major header cleanup in> GCC 4.3", at least that's what a web search revealed.>> After adding the following to the include section of jack_snapshot.cc> it compiles.>> #include<string.h>> #include<cstdlib>
Indeed, with errors like this, if you do `man strncpy', the man page will tell you which header should be #included._______________________________________________Linux-audio-user mailing listLinux-audio-user@xxxxxxxxxxxxxxxxxxxxxxxx://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux