Hi everybody!, I'm trying to compile squeak under 64bit linux (archlinux) and get some errors. Can anybody help me please? I'm using this files http://squeakvm.org/squeak64/dist3/Squeak-3.8a-2.src.tar.gz and http://squeakvm.org/squeak64/dist3/Squeak64-3.8g-6548.image.tar.gz And heres is the output I get: pato@lanobu:~/Desktop/merge64$ gcc --version gcc (GCC) 4.4.1 Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. pato@lanobu:~/Desktop/merge64$ make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for x86_64-unknown-linux-gnu pato@lanobu:~/Desktop/merge64/bld$ ../platforms/unix/config/configure --with-src=src64 using built-in src directory /home/pato/Desktop/merge64/platforms/unix/src64 checking sanity of generated src directory... okay checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu Configuring Squeak 3.8a-2 (3.8g-6548) for x86_64-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for as... as checking for GNU as... yes checking for ranlib... ranlib checking for a BSD-compatible install... /bin/install -c checking for BSD-compatible nm... /usr/bin/nm -B checking for ln... ln checking "size of int"... "okay" checking "size of double"... "okay" checking for 64-bit integer type... long checking how to run the C preprocessor... gcc -E checking for egrep... grep -E 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 for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking for long long... yes checking size of long long... 8 checking for void *... yes checking size of void *... 8 checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ) checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fl32... no checking for af77... no checking for fort77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for lf95... no checking for g95... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... (cached) ranlib checking for strip... strip checking for file... /usr/bin/file checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... no checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "F77" to libtool checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for socklen_t in sys/socket.h... yes checking for atexit or on_exit... atexit checking for tzset... yes checking for gmtoff in struct tm... yes checking for timezone and daylight variables... yes checking for gethostname in unistd.h... yes checking for yp_bind in -lnsl... yes checking for socket in -lsocket... no checking for sin in -lm... yes checking for _dyld_present... no checking for dlfcn.h... (cached) yes checking for dlopen... no checking for dlopen in -ldl... yes checking for snprintf... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for working alloca.h... yes checking for alloca... yes checking for x86_64 optimisation flags... (none) checking for gawk... gawk checking whether we can gnuify interp.c... yes checking for prefix to use for loadable modules... (none) checking for compiler flags to force 32-bit addresses... checking whether byte ordering is bigendian... no checking whether unaligned access to doubles is ok... no checking whether doubles are stored in Squeak order... no ******** disabling vm-display-Quartz checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XShmAttach in -lXext... yes checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking for glIsEnabled in -lGL... yes checking linux/fb.h usability... yes checking linux/fb.h presence... yes checking for linux/fb.h... yes checking for Mac OS X CoreAudio... no ******** disabling vm-sound-MacOSX checking for Network Audio System... no ******** disabling vm-sound-NAS checking for Open Sound System... yes checking for SunOS/Solaris audio... no ******** disabling vm-sound-Sun checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for _dyld_present... (cached) no checking for iconv_open in -liconv... no checking for libiconv_open in -liconv... no checking for nl_langinfo and CODESET... yes checking for Objective C support... no ******** disabling ObjectiveCPlugin checking util.h usability... no checking util.h presence... no checking for util.h... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking for library containing openpty... -lutil checking for FFI support... requires libffi checking ffi.h usability... no checking ffi.h presence... no checking for ffi.h... no ******** disabling SqueakFFIPrims checking for XOpenDisplay in -lX11... (cached) yes configure: creating ./config.status config.status: creating mkconfig config.status: creating make.cfg config.status: creating make.int config.status: creating make.ext config.status: creating make.prg config.status: creating inisqueak config.status: creating Makefile config.status: creating config.h config.status: executing default commands creating vm/Makefile creating vm-display-X11/Makefile creating vm-display-fbdev/Makefile creating vm-display-null/Makefile creating vm-sound-OSS/Makefile creating vm-sound-null/Makefile creating B2DPlugin/Makefile creating BitBltPlugin/Makefile creating FilePlugin/Makefile creating SocketPlugin/Makefile pato@lanobu:~/Desktop/merge64/bld$ make gawk -f /home/pato/Desktop/merge64/platforms/unix/config/gnuify /home/pato/Desktop/merge64/platforms/unix/src64/vm/interp.c > gnu-interp.c.out mv gnu-interp.c.out gnu-interp.c 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 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 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 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 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 In file included from /home/pato/Desktop/merge64/platforms/unix/vm/debug.c:3: /usr/include/stdio.h:397:66: error: macro "dprintf" passed 3 arguments, but takes just 1 /home/pato/Desktop/merge64/platforms/unix/vm/debug.c: In function ‘__sq_assert’: /home/pato/Desktop/merge64/platforms/unix/vm/debug.c:21: warning: incompatible implicit declaration of built-in function ‘abort’ make[1]: *** [debug.o] Error 1 make: *** [vm/vm.a] Error 2 Thank you VERY MUCH Patricio |
On 15.10.2009, at 01:52, Patricio Palladino wrote: > Hi everybody!, I'm trying to compile squeak under 64bit linux > (archlinux) and get some errors. Can anybody help me please? > > I'm using this files http://squeakvm.org/squeak64/dist3/Squeak-3.8a-2.src.tar.gz > and http://squeakvm.org/squeak64/dist3/Squeak64-3.8g-6548.image.tar.gz These are the wrong files. The regular VM compiles fine on 64 bits: http://squeakvm.org/unix/ "squeak64" is the experimental 64 bit *image* support, which is incompatible with all the Squeak images: http://squeakvm.org/squeak64/faq.html Ian, can we change the squeak64 page again? The FAQ link is too subtle apparently. E.g. change title to "Squeak 64-bit image support (experimental)" and add a warning on the top a la "<b>WARNING</b> If you merely want to compile a Squeak VM for a 64 bit machine, you are on the <b>wrong</b> page! Please use the <a href="/unix">regular VM</a> instead, which was made 64 bit clean in the mean time. Try the FAQ ..." - Bert - |
Thank you very much ! It works =) I admit that was considering to install windows just to run squeak :$ haha Greets Patricio On Thu, Oct 15, 2009 at 6:35 AM, Bert Freudenberg <[hidden email]> wrote:
|
2009/10/19 Patricio Palladino <[hidden email]>: > > Thank you very much ! It works =) > > I admit that was considering to install windows just to run squeak :$ haha > That would have meant Squeak is really attractive ! Nicolas > Greets > > Patricio > > On Thu, Oct 15, 2009 at 6:35 AM, Bert Freudenberg <[hidden email]> wrote: >> >> >> On 15.10.2009, at 01:52, Patricio Palladino wrote: >> >>> Hi everybody!, I'm trying to compile squeak under 64bit linux (archlinux) and get some errors. Can anybody help me please? >>> >>> I'm using this files http://squeakvm.org/squeak64/dist3/Squeak-3.8a-2.src.tar.gz and http://squeakvm.org/squeak64/dist3/Squeak64-3.8g-6548.image.tar.gz >> >> These are the wrong files. The regular VM compiles fine on 64 bits: >> >> http://squeakvm.org/unix/ >> >> "squeak64" is the experimental 64 bit *image* support, which is incompatible with all the Squeak images: >> >> http://squeakvm.org/squeak64/faq.html >> >> Ian, can we change the squeak64 page again? The FAQ link is too subtle apparently. >> >> E.g. change title to "Squeak 64-bit image support (experimental)" and add a warning on the top a la "<b>WARNING</b> If you merely want to compile a Squeak VM for a 64 bit machine, you are on the <b>wrong</b> page! Please use the <a href="/unix">regular VM</a> instead, which was made 64 bit clean in the mean time. Try the FAQ ..." >> >> - Bert - >> > > > |
Yeah, it's pretty attractive, and I must use it at college :p On Mon, Oct 19, 2009 at 9:23 PM, Nicolas Cellier <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |