Can't compile Squeak on linux 32bits

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't compile Squeak on linux 32bits

Damien Cassou-3
 
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?

--
Damien Cassou
http://damiencassou.seasidehosting.st
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile Squeak on linux 32bits

Derek O'Connell-2
 
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?
>
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile Squeak on linux 32bits

Damien Cassou-3
 
On Tue, Nov 18, 2008 at 1:41 PM, Derek O'Connell <[hidden email]> wrote:
> Look for errors in config.log in your build directory.

I attached the whole log file. Thank you for your help



--
Damien Cassou
http://damiencassou.seasidehosting.st

config.log (166K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile Squeak on linux 32bits

Derek O'Connell-2
 
Hi Damien,

see private mail with my config.log and comments.