Add an #include <stdio.h> in utils/files.cpp. I already fixed this in the Faust2 branch (http://sourceforge.net/p/faudiostream/code/ci/bed860bc34d4fb85e91ab49310dded9ed7f29264/). It looks like Yann did fix the missing #include <stdlib.h> on the master branch, but he forgot about stdio.h.
On Wed, Feb 5, 2014 at 7:55 PM, Peter Boehm <[email protected]> wrote: > hello all, > i am trying to compile faust from git and get the following error (sorry > for german output): > > make -C compiler -f Makefile.unix prefix=/usr/local > > make[1]: Entering directory `/home/pet/source/faust/faust/compiler' > g++ -O1 -g -Wall -Wuninitialized -Wno-parentheses -Iboxes -Ierrors > -Ievaluate -Igenerator -Inormalize -Iparser -Ipropagate -Iparallelize > -Isignals -Itlib -Idraw -Idraw/device -Idraw/schema -Iextended > -Ipatternmatcher -Idocumentator -Iutils -DINSTALL_PREFIX='"/usr/local"' > -c -o utils/files.o utils/files.cpp > > utils/files.cpp: In Funktion »int cholddir()«: > utils/files.cpp:43:20: Fehler: »perror« wurde in diesem > Gültigkeitsbereich nicht definiert > perror("cholddir"); > ^ > utils/files.cpp:44:13: Fehler: »exit« wurde in diesem Gültigkeitsbereich > nicht definiert > exit(errno); > > > > as far as i understand i miss some definitions for >>perror<< and > >>exit<< but i do not know how to solve. any help would be appreciated. > > cheers peter boehm > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > Faudiostream-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/faudiostream-users -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: [email protected] WWW: https://plus.google.com/+AlbertGraef ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Faudiostream-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/faudiostream-users
