>>> Unpacking source... >>> Unpacking vbs-1.4.0.tar.gz to /var/tmp/portage/sci-electronics/vbs-1.4.0/work * Applying vbs-1.4.0-gcc-4.1.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sci-electronics/vbs-1.4.0/work/vbs-1.4.0 ... ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking whether i686-pc-linux-gnu-gcc accepts -fPIC... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking whether i686-pc-linux-gnu-g++ accepts -fPIC... yes checking whether i686-pc-linux-gnu-g++ needs -frepo... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sstream usability... yes checking sstream presence... yes checking for sstream... yes checking for bzip2... bzip2 checking for a BSD-compatible install... /usr/bin/install -c checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking whether make sets ${MAKE}... yes checking for swig... swig checking libguile.h usability... yes checking libguile.h presence... yes checking for libguile.h... yes checking tcl.h usability... yes checking tcl.h presence... yes checking for tcl.h... yes checking for Tcl_Main in -ltcl... yes checking for Tcl_Main in -ltcl8... no checking for Tcl_Main in -ltcl8.2... no checking for perl... perl checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for unistd.h... (cached) yes checking for fork... yes checking for stat... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getopt... yes checking for getopt_long... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzopen in -lz... yes checking whether _HPUX_SOURCE is required for POSIX prototypes... no checking whether getopt is prototyped in unistd.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h Configure finished. Run one of the following commands: 'make vbs' ......... Compile VBS simulator 'make vbs-guile' ... Compile Guile script program 'make vbs.so' ...... Library for Perl scripting 'make libvbs.so' ... Library for TCL scripting make -j14 -j1 vbs echo "#define VERSION" \"1.4.0\" > version.h i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -O2 -pipe -ansi -pedantic -Wall -fPIC -DVBS_DEBUG -c ./swig/vbs_api.cc In file included from ./common/bvector.h:33, from ./common/st_node.h:16, from ./common/sym_tab.h:26, from ./swig/vbs_api.cc:20: ./common/logic.h: In static member function 'static void* logic::operator new(size_t)': ./common/logic.h:87: error: 'malloc' was not declared in this scope ./common/logic.h: In static member function 'static void* logic::operator new [](size_t)': ./common/logic.h:107: error: 'malloc' was not declared in this scope In file included from ./common/st_node.h:16, from ./common/sym_tab.h:26, from ./swig/vbs_api.cc:20: ./common/bvector.h: In member function 'bit_vector::sub_bit_vector& bit_vector::sub_bit_vector::operator=(const bit_vector::sub_bit_vector&)': ./common/bvector.h:339: error: 'memset' was not declared in this scope ./common/bvector.h: In member function 'bit_vector::sub_bit_vector& bit_vector::sub_bit_vector::operator=(const bit_vector::const_sub_bit_vector&)': ./common/bvector.h:366: error: 'memset' was not declared in this scope ./common/bvector.h: In member function 'bit_vector::sub_bit_vector& bit_vector::sub_bit_vector::operator=(const bit_vector&)': ./common/bvector.h:388: error: 'memset' was not declared in this scope ./common/bvector.h: In constructor 'bit_vector::bit_vector(long int, long int, logic)': ./common/bvector.h:510: error: 'memset' was not declared in this scope ./common/bvector.h: In copy constructor 'bit_vector::bit_vector(const bit_vector&)': ./common/bvector.h:526: error: 'memcpy' was not declared in this scope ./common/bvector.h: In member function 'bit_vector& bit_vector::operator=(const bit_vector&)': ./common/bvector.h:560: error: 'memcpy' was not declared in this scope ./common/bvector.h:569: error: 'memcpy' was not declared in this scope ./common/bvector.h:571: error: 'memset' was not declared in this scope ./common/bvector.h:573: error: 'memset' was not declared in this scope ./common/bvector.h:578: error: 'memcpy' was not declared in this scope ./common/bvector.h: In member function 'bit_vector& bit_vector::operator=(const bit_vector::sub_bit_vector&)': ./common/bvector.h:597: error: 'memcpy' was not declared in this scope ./common/bvector.h:606: error: 'memcpy' was not declared in this scope ./common/bvector.h:608: error: 'memset' was not declared in this scope ./common/bvector.h:610: error: 'memset' was not declared in this scope ./common/bvector.h:615: error: 'memcpy' was not declared in this scope ./common/bvector.h: In member function 'bit_vector& bit_vector::operator=(const bit_vector::const_sub_bit_vector&)': ./common/bvector.h:634: error: 'memcpy' was not declared in this scope ./common/bvector.h:643: error: 'memcpy' was not declared in this scope ./common/bvector.h:645: error: 'memset' was not declared in this scope ./common/bvector.h:647: error: 'memset' was not declared in this scope ./common/bvector.h:652: error: 'memcpy' was not declared in this scope ./swig/vbs_api.cc: In function 'int vbs_read(char*)': ./swig/vbs_api.cc:216: warning: deprecated conversion from string constant to 'char*' ./swig/vbs_api.cc: In function 'void vbs_fatal(int, const char*, const char*)': ./swig/vbs_api.cc:290: error: 'exit' was not declared in this scope make: *** [vbs_api.o] Error 1 * * ERROR: sci-electronics/vbs-1.4.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2151: Called die * The specific snippet of code: * emake -j1 vbs || die "Compilation failed" * The die message: * Compilation 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/sci-electronics/vbs-1.4.0:20081219-080816.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-electronics/vbs-1.4.0/temp/environment'. *