Skip to content

Instantly share code, notes, and snippets.

@shellac
Created February 25, 2010 11:45
Show Gist options
  • Save shellac/314478 to your computer and use it in GitHub Desktop.
Save shellac/314478 to your computer and use it in GitHub Desktop.
$ make
make -f inc/Makefile-rules.mk CONF=unix SUBPROJECTS= .build-conf
make[1]: Entering directory `/tmp/jruby-launcher'
make -f inc/Makefile-rules.mk jruby
make[2]: Entering directory `/tmp/jruby-launcher'
mkdir -p build/unix/Linux
rm -f build/unix/Linux/argparser.o.d
g++ -O2 -Wall -c argparser.cpp -MMD -MP -MF build/unix/Linux/argparser.o.d -o build/unix/Linux/argparser.o
argparser.cpp: In member function ‘bool ArgParser::initPlatformDir()’:
argparser.cpp:155: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result
mkdir -p build/unix/Linux
rm -f build/unix/Linux/utilsfuncs.o.d
g++ -O2 -Wall -c utilsfuncs.cpp -MMD -MP -MF build/unix/Linux/utilsfuncs.o.d -o build/unix/Linux/utilsfuncs.o
utilsfuncs.cpp: In function ‘char* findOnPath(const char*)’:
utilsfuncs.cpp:115: error: ‘getenv’ was not declared in this scope
utilsfuncs.cpp:133: error: ‘malloc’ was not declared in this scope
utilsfuncs.cpp: In function ‘char** convertToArgvArray(std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >)’:
utilsfuncs.cpp:244: error: ‘malloc’ was not declared in this scope
make[2]: *** [build/unix/Linux/utilsfuncs.o] Error 1
make[2]: Leaving directory `/tmp/jruby-launcher'
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/tmp/jruby-launcher'
make: *** [.build-impl] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment