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?
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?
On Tue, Nov 18, 2008 at 1:41 PM, Derek O'Connell doconnel@gmail.com wrote:
Look for errors in config.log in your build directory.
I attached the whole log file. Thank you for your help
vm-dev@lists.squeakfoundation.org