* Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.30-gentoo-r1 * Checking for suitable kernel configuration options...  [ ok ] >>> Unpacking source... >>> Unpacking incron-0.5.8.tar.gz to /var/tmp/portage/sys-process/incron-0.5.8/work >>> Source unpacked in /var/tmp/portage/sys-process/incron-0.5.8/work >>> Preparing source in /var/tmp/portage/sys-process/incron-0.5.8/work/incron-0.5.8 ... * Applying incron-0.5.8-gentoo.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-process/incron-0.5.8/work/incron-0.5.8 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-process/incron-0.5.8/work/incron-0.5.8 ... make -j14 CXX=i686-pc-linux-gnu-g++ 'CXXFLAGS=-O2 -pipe' i686-pc-linux-gnu-g++ -c -O2 -pipe -o icd-main.o icd-main.cpp i686-pc-linux-gnu-g++ -c -O2 -pipe -o incrontab.o incrontab.cpp i686-pc-linux-gnu-g++ -c -O2 -pipe -o inotify-cxx.o inotify-cxx.cpp i686-pc-linux-gnu-g++ -c -O2 -pipe -o usertable.o usertable.cpp i686-pc-linux-gnu-g++ -c -O2 -pipe -o strtok.o strtok.cpp i686-pc-linux-gnu-g++ -c -O2 -pipe -o appinst.o appinst.cpp i686-pc-linux-gnu-g++ -c -O2 -pipe -o incroncfg.o incroncfg.cpp i686-pc-linux-gnu-g++ -c -O2 -pipe -o appargs.o appargs.cpp i686-pc-linux-gnu-g++ -c -O2 -pipe -o ict-main.o ict-main.cpp appargs.cpp: In static member function 'static void AppArgs::Dump()': appargs.cpp:181: error: 'stderr' was not declared in this scope appargs.cpp:181: error: 'fprintf' was not declared in this scope appargs.cpp: In static member function 'static void AppArgs::DumpOption(const std::string&, char, AppArgOption_t*)': appargs.cpp:263: error: 'stderr' was not declared in this scope appargs.cpp:270: error: 'fprintf' was not declared in this scope make: *** [appargs.o] Error 1 make: *** Waiting for unfinished jobs.... icd-main.cpp: In function 'int main(int, char**)': icd-main.cpp:303: error: 'stderr' was not declared in this scope icd-main.cpp:303: error: 'fprintf' was not declared in this scope icd-main.cpp:310: error: 'stderr' was not declared in this scope icd-main.cpp:310: error: 'fprintf' was not declared in this scope icd-main.cpp:315: error: 'stderr' was not declared in this scope icd-main.cpp:315: error: 'fprintf' was not declared in this scope icd-main.cpp:320: error: 'stderr' was not declared in this scope icd-main.cpp:320: error: 'fprintf' was not declared in this scope icd-main.cpp:338: error: 'stderr' was not declared in this scope icd-main.cpp:338: error: 'fprintf' was not declared in this scope icd-main.cpp:370: error: 'stderr' was not declared in this scope icd-main.cpp:370: error: 'fprintf' was not declared in this scope icd-main.cpp:381: error: 'stderr' was not declared in this scope icd-main.cpp:381: error: 'fprintf' was not declared in this scope icd-main.cpp:390: error: 'stderr' was not declared in this scope icd-main.cpp:390: error: 'fprintf' was not declared in this scope icd-main.cpp:399: error: 'stderr' was not declared in this scope icd-main.cpp:399: error: 'fprintf' was not declared in this scope icd-main.cpp:406: error: 'stderr' was not declared in this scope icd-main.cpp:406: error: 'fprintf' was not declared in this scope make: *** [icd-main.o] Error 1 inotify-cxx.cpp: In static member function 'static uint32_t Inotify::GetCapability(InotifyCapability_t)': inotify-cxx.cpp:581: error: 'fopen' was not declared in this scope inotify-cxx.cpp:586: error: 'fscanf' was not declared in this scope inotify-cxx.cpp:587: error: 'fclose' was not declared in this scope inotify-cxx.cpp:591: error: 'fclose' was not declared in this scope inotify-cxx.cpp: In static member function 'static void Inotify::SetCapability(InotifyCapability_t, uint32_t)': inotify-cxx.cpp:598: error: 'fopen' was not declared in this scope inotify-cxx.cpp:602: error: 'fprintf' was not declared in this scope inotify-cxx.cpp:603: error: 'fclose' was not declared in this scope inotify-cxx.cpp:607: error: 'fclose' was not declared in this scope make: *** [inotify-cxx.o] Error 1 incroncfg.cpp: In static member function 'static bool IncronCfg::IsComment(const char*)': incroncfg.cpp:184: error: invalid conversion from 'const char*' to 'char*' make: *** [incroncfg.o] Error 1 usertable.cpp: In member function 'void UserTable::OnEvent(InotifyEvent&)': usertable.cpp:350: error: 'asprintf' was not declared in this scope make: *** [usertable.o] Error 1 * * ERROR: sys-process/incron-0.5.8 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3115: Called die * The specific snippet of code: * emake CXX=$(tc-getCXX) CXXFLAGS="${CXXFLAGS}" || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-process/incron-0.5.8:20090709-101954.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-process/incron-0.5.8/temp/environment'. *