>>> Unpacking source... >>> Unpacking slim-1.3.0.tar.gz to /var/tmp/portage/x11-misc/slim-1.3.0-r1/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/x11-misc/slim-1.3.0-r1/work/slim-1.3.0 ... x86_64-pc-linux-gnu-gcc -pipe -O2 -march=athlon64 -Wall -I. -I/usr/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.0\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c jpeg.c -o jpeg.o x86_64-pc-linux-gnu-gcc -pipe -O2 -march=athlon64 -Wall -I. -I/usr/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.0\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c png.c -o png.o x86_64-pc-linux-gnu-g++ -pipe -O2 -march=athlon64 -Wall -I. -I/usr/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.0\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c main.cpp -o main.o x86_64-pc-linux-gnu-g++ -pipe -O2 -march=athlon64 -Wall -I. -I/usr/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.0\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c image.cpp -o image.o x86_64-pc-linux-gnu-g++ -pipe -O2 -march=athlon64 -Wall -I. -I/usr/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.0\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c numlock.cpp -o numlock.o x86_64-pc-linux-gnu-g++ -pipe -O2 -march=athlon64 -Wall -I. -I/usr/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.0\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c cfg.cpp -o cfg.o x86_64-pc-linux-gnu-g++ -pipe -O2 -march=athlon64 -Wall -I. -I/usr/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.0\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c switchuser.cpp -o switchuser.o cfg.cpp: In static member function ‘static int Cfg::string2int(const char*, bool*)’: cfg.cpp:212: error: ‘strtol’ was not declared in this scope make: *** [cfg.o] Error 1 make: *** Waiting for unfinished jobs.... * * ERROR: x11-misc/slim-1.3.0-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 887: Called die * The specific snippet of code: * emake USE_PAM=1 || 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/tmp/portage/x11-misc/slim-1.3.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/slim-1.3.0-r1/temp/environment'. *