[Vm-dev] Can't compile Squeak on linux 32bits
Derek O'Connell
doconnel at gmail.com
Tue Nov 18 12:41:06 UTC 2008
Hi Damien,
Look for errors in config.log in your build directory.
HTH
DMOC
Damien Cassou wrote:
>
> Hi,
>
> whatever I do, compiling always end up with errors on aio.c:
>
> gcc-4.1 -W -Wall --std=c99 -pedantic -fomit-frame-pointer
> -DLSB_FIRST=1 -DHAVE_CONFIG_H -DSQUEAK_BUILTIN_PLUGIN
> -I/tmp/squeak-svn/bld -I/tmp/squeak-svn/platforms/unix/vm
> -I/tmp/squeak-svn/platforms/Cross/vm
> -I/tmp/squeak-svn/platforms/unix/src/vm
> -I/tmp/squeak-svn/platforms/Cross/vm
> -I/tmp/squeak-svn/platforms/unix/src/vm
> -I/tmp/squeak-svn/platforms/unix/vm
> -I/tmp/squeak-svn/platforms/Cross/plugins/FilePlugin
> -I/tmp/squeak-svn/platforms/unix/plugins/B3DAcceleratorPlugin
> -I/tmp/squeak-svn/bld -I/tmp/squeak-svn/platforms/unix/vm
> -I/tmp/squeak-svn/platforms/Cross/vm
> -I/tmp/squeak-svn/platforms/unix/src/vm -c -o aio.o
> /tmp/squeak-svn/platforms/unix/vm/aio.c
> /tmp/squeak-svn/platforms/unix/vm/aio.c:142: warning: unused parameter
> 'clientData'
> /tmp/squeak-svn/platforms/unix/vm/aio.c: In function 'aioPoll':
> /tmp/squeak-svn/platforms/unix/vm/aio.c:217: warning: implicit
> declaration of function 'ioMSecs'
> /tmp/squeak-svn/platforms/unix/vm/aio.c: In function 'aioSleep':
> /tmp/squeak-svn/platforms/unix/vm/aio.c:272: warning: implicit
> declaration of function 'nanosleep'
> /tmp/squeak-svn/platforms/unix/vm/aio.c: In function 'aioEnable':
> /tmp/squeak-svn/platforms/unix/vm/aio.c:315: error: 'F_SETOWN'
> undeclared (first use in this function)
> /tmp/squeak-svn/platforms/unix/vm/aio.c:315: error: (Each undeclared
> identifier is reported only once
> /tmp/squeak-svn/platforms/unix/vm/aio.c:315: error: for each function
> it appears in.)
>
> I tried with gcc-4.1 and 4.2 without success. To compile, I use:
>
> svn co http://squeakvm.org/svn/squeak/trunk squeak-svn
> cd squeak-svn
> mkdir bld
> cd bld
> ../platforms/unix/config/configure
> make
> sudo make install
>
> Can somebody help me please?
>
More information about the Vm-dev
mailing list