Hi everybody!, I&#39;m trying to compile squeak under 64bit linux (archlinux) and get some errors. Can anybody help me please?<br><br>I&#39;m using this files <a href="http://squeakvm.org/squeak64/dist3/Squeak-3.8a-2.src.tar.gz">http://squeakvm.org/squeak64/dist3/Squeak-3.8a-2.src.tar.gz</a> and <a href="http://squeakvm.org/squeak64/dist3/Squeak64-3.8g-6548.image.tar.gz">http://squeakvm.org/squeak64/dist3/Squeak64-3.8g-6548.image.tar.gz</a><br>
<br>And heres is the output I get:<br><br>pato@lanobu:~/Desktop/merge64$ gcc --version<br>gcc (GCC) 4.4.1<br>Copyright (C) 2009 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions.  There is NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br><br>pato@lanobu:~/Desktop/merge64$ make --version<br>GNU Make 3.81<br>Copyright (C) 2006  Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions.<br>
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A<br>PARTICULAR PURPOSE.<br><br>This program built for x86_64-unknown-linux-gnu<br><br>pato@lanobu:~/Desktop/merge64/bld$ ../platforms/unix/config/configure --with-src=src64<br>
using built-in src directory<br>/home/pato/Desktop/merge64/platforms/unix/src64<br>checking sanity of generated src directory... okay<br>checking build system type... x86_64-unknown-linux-gnu<br>checking host system type... x86_64-unknown-linux-gnu<br>
<br>Configuring Squeak 3.8a-2 (3.8g-6548) for x86_64-linux-gnu<br><br>checking whether make sets $(MAKE)... yes<br>checking for gcc... gcc<br>checking for C compiler default output... a.out<br>checking whether the C compiler works... yes<br>
checking whether we are cross compiling... no<br>checking for suffix of executables... <br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>
checking for gcc option to accept ANSI C... none needed<br>checking for as... as<br>checking for GNU as... yes<br>checking for ranlib... ranlib<br>checking for a BSD-compatible install... /bin/install -c<br>checking for BSD-compatible nm... /usr/bin/nm -B<br>
checking for ln... ln<br>checking &quot;size of int&quot;... &quot;okay&quot;<br>checking &quot;size of double&quot;... &quot;okay&quot;<br>checking for 64-bit integer type... long<br>checking how to run the C preprocessor... gcc -E<br>
checking for egrep... grep -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>
checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking for int... yes<br>checking size of int... 4<br>checking for long... yes<br>checking size of long... 8<br>
checking for long long... yes<br>checking size of long long... 8<br>checking for void *... yes<br>checking size of void *... 8<br>checking for a sed that does not truncate output... /bin/sed<br>checking for ld used by gcc... /usr/bin/ld<br>
checking if the linker (/usr/bin/ld) is GNU ld... yes<br>checking for /usr/bin/ld option to reload object files... -r<br>checking whether ln -s works... yes<br>checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )<br>
checking dlfcn.h usability... yes<br>checking dlfcn.h presence... yes<br>checking for dlfcn.h... yes<br>checking for g++... g++<br>checking whether we are using the GNU C++ compiler... yes<br>checking whether g++ accepts -g... yes<br>
checking how to run the C++ preprocessor... g++ -E<br>checking for g77... no<br>checking for f77... no<br>checking for xlf... no<br>checking for frt... no<br>checking for pgf77... no<br>checking for fl32... no<br>checking for af77... no<br>
checking for fort77... no<br>checking for f90... no<br>checking for xlf90... no<br>checking for pgf90... no<br>checking for epcf90... no<br>checking for f95... no<br>checking for fort... no<br>checking for xlf95... no<br>
checking for lf95... no<br>checking for g95... no<br>checking whether we are using the GNU Fortran 77 compiler... no<br>checking whether  accepts -g... no<br>checking the maximum length of command line arguments... 32768<br>
checking command to parse /usr/bin/nm -B output from gcc object... ok<br>checking for objdir... .libs<br>checking for ar... ar<br>checking for ranlib... (cached) ranlib<br>checking for strip... strip<br>checking for file... /usr/bin/file<br>
checking if gcc static flag  works... yes<br>checking if gcc supports -fno-rtti -fno-exceptions... no<br>checking for gcc option to produce PIC... -fPIC<br>checking if gcc PIC flag -fPIC works... yes<br>checking if gcc supports -c -o file.o... yes<br>
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking how to hardcode library paths into programs... immediate<br>checking whether stripping libraries is possible... yes<br>
checking dynamic linker characteristics... GNU/Linux ld.so<br>checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... yes<br>checking whether to build static libraries... no<br>
configure: creating libtool<br>appending configuration tag &quot;CXX&quot; to libtool<br>checking for ld used by g++... /usr/bin/ld -m elf_x86_64<br>checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... no<br>checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>
checking for g++ option to produce PIC... -fPIC<br>checking if g++ PIC flag -fPIC works... yes<br>checking if g++ supports -c -o file.o... yes<br>checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>
checking how to hardcode library paths into programs... immediate<br>checking whether stripping libraries is possible... yes<br>checking dynamic linker characteristics... GNU/Linux ld.so<br>appending configuration tag &quot;F77&quot; to libtool<br>
checking for ANSI C header files... (cached) yes<br>checking for unistd.h... (cached) yes<br>checking for string.h... (cached) yes<br>checking fcntl.h usability... yes<br>checking fcntl.h presence... yes<br>checking for fcntl.h... yes<br>
checking sys/file.h usability... yes<br>checking sys/file.h presence... yes<br>checking for sys/file.h... yes<br>checking sys/param.h usability... yes<br>checking sys/param.h presence... yes<br>checking for sys/param.h... yes<br>
checking sys/time.h usability... yes<br>checking sys/time.h presence... yes<br>checking for sys/time.h... yes<br>checking sys/filio.h usability... no<br>checking sys/filio.h presence... no<br>checking for sys/filio.h... no<br>
checking sys/select.h usability... yes<br>checking sys/select.h presence... yes<br>checking for sys/select.h... yes<br>checking features.h usability... yes<br>checking features.h presence... yes<br>checking for features.h... yes<br>
checking alloca.h usability... yes<br>checking alloca.h presence... yes<br>checking for alloca.h... yes<br>checking whether time.h and sys/time.h may both be included... yes<br>checking for dirent.h that defines DIR... yes<br>
checking for library containing opendir... none required<br>checking whether struct tm is in sys/time.h or time.h... time.h<br>checking for struct tm.tm_zone... yes<br>checking for socklen_t in sys/socket.h... yes<br>checking for atexit or on_exit... atexit<br>
checking for tzset... yes<br>checking for gmtoff in struct tm... yes<br>checking for timezone and daylight variables... yes<br>checking for gethostname in unistd.h... yes<br>checking for yp_bind in -lnsl... yes<br>checking for socket in -lsocket... no<br>
checking for sin in -lm... yes<br>checking for _dyld_present... no<br>checking for dlfcn.h... (cached) yes<br>checking for dlopen... no<br>checking for dlopen in -ldl... yes<br>checking for snprintf... yes<br>checking for stdlib.h... (cached) yes<br>
checking for unistd.h... (cached) yes<br>checking for getpagesize... yes<br>checking for working mmap... yes<br>checking for working alloca.h... yes<br>checking for alloca... yes<br>checking for x86_64 optimisation flags... (none)<br>
checking for gawk... gawk<br>checking whether we can gnuify interp.c... yes<br>checking for prefix to use for loadable modules... (none)<br>checking for compiler flags to force 32-bit addresses... <br>checking whether byte ordering is bigendian... no<br>
checking whether unaligned access to doubles is ok... no<br>checking whether doubles are stored in Squeak order... no<br>******** disabling vm-display-Quartz<br>checking for X... libraries , headers <br>checking for gethostbyname... yes<br>
checking for connect... yes<br>checking for remove... yes<br>checking for shmat... yes<br>checking for IceConnectionNumber in -lICE... yes<br>checking for XOpenDisplay in -lX11... yes<br>checking for XShmAttach in -lXext... yes<br>
checking GL/gl.h usability... yes<br>checking GL/gl.h presence... yes<br>checking for GL/gl.h... yes<br>checking for glIsEnabled in -lGL... yes<br>checking linux/fb.h usability... yes<br>checking linux/fb.h presence... yes<br>
checking for linux/fb.h... yes<br>checking for Mac OS X CoreAudio... no<br>******** disabling vm-sound-MacOSX<br>checking for Network Audio System... no<br>******** disabling vm-sound-NAS<br>checking for Open Sound System... yes<br>
checking for SunOS/Solaris audio... no<br>******** disabling vm-sound-Sun<br>checking iconv.h usability... yes<br>checking iconv.h presence... yes<br>checking for iconv.h... yes<br>checking for _dyld_present... (cached) no<br>
checking for iconv_open in -liconv... no<br>checking for libiconv_open in -liconv... no<br>checking for nl_langinfo and CODESET... yes<br>checking for Objective C support... no<br>******** disabling ObjectiveCPlugin<br>checking util.h usability... no<br>
checking util.h presence... no<br>checking for util.h... no<br>checking libutil.h usability... no<br>checking libutil.h presence... no<br>checking for libutil.h... no<br>checking pty.h usability... yes<br>checking pty.h presence... yes<br>
checking for pty.h... yes<br>checking stropts.h usability... yes<br>checking stropts.h presence... yes<br>checking for stropts.h... yes<br>checking for library containing openpty... -lutil<br>checking for FFI support... requires libffi<br>
checking ffi.h usability... no<br>checking ffi.h presence... no<br>checking for ffi.h... no<br>******** disabling SqueakFFIPrims<br>checking for XOpenDisplay in -lX11... (cached) yes<br>configure: creating ./config.status<br>
config.status: creating mkconfig<br>config.status: creating make.cfg<br>config.status: creating <a href="http://make.int">make.int</a><br>config.status: creating make.ext<br>config.status: creating make.prg<br>config.status: creating inisqueak<br>
config.status: creating Makefile<br>config.status: creating config.h<br>config.status: executing default commands<br>creating vm/Makefile<br>creating vm-display-X11/Makefile<br>creating vm-display-fbdev/Makefile<br>creating vm-display-null/Makefile<br>
creating vm-sound-OSS/Makefile<br>creating vm-sound-null/Makefile<br>creating B2DPlugin/Makefile<br>creating BitBltPlugin/Makefile<br>creating FilePlugin/Makefile<br>creating SocketPlugin/Makefile<br><br>pato@lanobu:~/Desktop/merge64/bld$ make<br>
gawk -f /home/pato/Desktop/merge64/platforms/unix/config/gnuify /home/pato/Desktop/merge64/platforms/unix/src64/vm/interp.c &gt; gnu-interp.c.out<br>mv gnu-interp.c.out gnu-interp.c<br>gcc -g -O2 -DLSB_FIRST=1  -DHAVE_CONFIG_H  -DSQUEAK_BUILTIN_PLUGIN -I/home/pato/Desktop/merge64/bld -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/plugins/FilePlugin -I/home/pato/Desktop/merge64/platforms/unix/plugins/B3DAcceleratorPlugin -I/home/pato/Desktop/merge64/bld -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm   -c -o gnu-interp.o gnu-interp.c<br>
gcc -g -O2 -DLSB_FIRST=1  -DHAVE_CONFIG_H  -DSQUEAK_BUILTIN_PLUGIN -I/home/pato/Desktop/merge64/bld -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/plugins/FilePlugin -I/home/pato/Desktop/merge64/platforms/unix/plugins/B3DAcceleratorPlugin -I/home/pato/Desktop/merge64/bld -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm   -c -o sqNamedPrims.o /home/pato/Desktop/merge64/platforms/Cross/vm/sqNamedPrims.c<br>
gcc -g -O2 -DLSB_FIRST=1  -DHAVE_CONFIG_H  -DSQUEAK_BUILTIN_PLUGIN -I/home/pato/Desktop/merge64/bld -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/plugins/FilePlugin -I/home/pato/Desktop/merge64/platforms/unix/plugins/B3DAcceleratorPlugin -I/home/pato/Desktop/merge64/bld -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm   -c -o sqVirtualMachine.o /home/pato/Desktop/merge64/platforms/Cross/vm/sqVirtualMachine.c<br>
gcc -g -O2 -DLSB_FIRST=1  -DHAVE_CONFIG_H  -DSQUEAK_BUILTIN_PLUGIN -I/home/pato/Desktop/merge64/bld -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/plugins/FilePlugin -I/home/pato/Desktop/merge64/platforms/unix/plugins/B3DAcceleratorPlugin -I/home/pato/Desktop/merge64/bld -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm   -c -o aio.o /home/pato/Desktop/merge64/platforms/unix/vm/aio.c<br>
gcc -g -O2 -DLSB_FIRST=1  -DHAVE_CONFIG_H  -DSQUEAK_BUILTIN_PLUGIN -I/home/pato/Desktop/merge64/bld -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/plugins/FilePlugin -I/home/pato/Desktop/merge64/platforms/unix/plugins/B3DAcceleratorPlugin -I/home/pato/Desktop/merge64/bld -I/home/pato/Desktop/merge64/platforms/unix/vm -I/home/pato/Desktop/merge64/platforms/Cross/vm -I/home/pato/Desktop/merge64/platforms/unix/src64/vm   -c -o debug.o /home/pato/Desktop/merge64/platforms/unix/vm/debug.c<br>
In file included from /home/pato/Desktop/merge64/platforms/unix/vm/debug.c:3:<br>/usr/include/stdio.h:397:66: error: macro &quot;dprintf&quot; passed 3 arguments, but takes just 1<br>/home/pato/Desktop/merge64/platforms/unix/vm/debug.c: In function ‘__sq_assert’:<br>
/home/pato/Desktop/merge64/platforms/unix/vm/debug.c:21: warning: incompatible implicit declaration of built-in function ‘abort’<br>make[1]: *** [debug.o] Error 1<br>make: *** [vm/vm.a] Error 2<br><br>Thank you VERY MUCH<br>
<br>Patricio<br>