Code Monkey home page Code Monkey logo

nwr's Issues

make install failed

After compiling and configuring, trying to run make or make install fail with this error:

g++ -DHAVE_CONFIG_H -I. -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -g -Wall -Werror -MT capture.o -MD -MP -MF .deps/capture.Tpo -c -o capture.o capture.cpp
capture.cpp: In constructor ‘Mp3Writer::Mp3Writer(const char*, int, int, int)’:
capture.cpp:116:21: error: ‘pipe’ was not declared in this scope
if (pipe(pipeout) != 0) {
^
capture.cpp:120:18: error: ‘fork’ was not declared in this scope
child = fork();
^
capture.cpp:126:27: error: ‘dup2’ was not declared in this scope
dup2(pipeout[0], 0);
^
capture.cpp:127:25: error: ‘close’ was not declared in this scope
close(pipeout[1]);
^
capture.cpp:128:110: error: ‘execl’ was not declared in this scope
execl("/usr/local/bin/lame", "lame", "-r", "-m", "m", "-s", "11.025", "-x", "-b", "16", "-", fn, NULL);
^
capture.cpp:132:21: error: ‘close’ was not declared in this scope
close(pipeout[0]);
^
capture.cpp: In destructor ‘virtual Mp3Writer::Mp3Writer()’:
capture.cpp:141:14: error: ‘close’ was not declared in this scope
close(out);
^
capture.cpp: In member function ‘virtual void Mp3Writer::write(const void*, size_t)’:
capture.cpp:154:5: error: ‘::write’ has not been declared
::write(out, buf, n);
^

capture.cpp: In function ‘void eas_deactivate()’:
capture.cpp:248:18: error: ‘fork’ was not declared in this scope
if (fork() == 0) {
^
Makefile:464: recipe for target 'capture.o' failed
make: *** [capture.o] Error 1

All help would be appreciated.

Compile Errors

There were SEVERAL errors related to compiling with GCC4.3 but I was able to get past them. However I was not able to get past the error regarding this code;

eas_decode.cpp: fips.inc

fips.inc: ../emwin/data/county.dump fips2inc.pl
perl fips2inc.pl ../emwin/data/county.dump >$@

Any suggestions? I would really like to get this integrated with our repeater linking system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.