[Sussex] Cross compiling GTK - Glib

Clive Chapman anbeyon at btinternet.com
Wed May 18 12:20:54 UTC 2005


Hi Geoff,

I have made a bit of headway - well I hope so :0)

I cheated and copied the files it was complaining about not finding
from  /usr/local/arm/3.3.2/arm-linux/lib to  /usr/local/arm-linux/lib

That then made the simple app. compile.

I then returned to GTK Glib ./configure - after a few problems I ended up 
adding a file called arm-cache.conf with the following in it;

glib_cv_stack_grows=no
ac_cv_func_posix_getpwuid_r=yes
glib_cv_uscore=yes

I ran ./configure again and it ran to completion.  I then updated the .conf 
file with a bunch of other settings/variables.

Having run./configure the next step in the prcedure is to then run Make.  This 
unfortunatley failed :0(

At various point the compiler is invoked and file compiled.  A quick scan 
through the console output reveals  lots of warning messages like;

warning: dereferencing type-punned pointer will break strict-aliasing rules

They are only Warnings -do you think I should worry about them ?

At the end of the output the process temrinates with;

 /usr/local/arm/3.3.2/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. 
-DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED 
-DGLIB_COMPILATION -pthread -g -O2 -Wall -MT giounix.lo -MD -MP 
-MF .deps/giounix.Tpo -c giounix.c  -fPIC -DPIC -o .libs/giounix.o
giounix.c: In function `g_io_unix_read':
giounix.c:185: error: `SSIZE_MAX' undeclared (first use in this function)
giounix.c:185: error: (Each undeclared identifier is reported only once
giounix.c:185: error: for each function it appears in.)
make[4]: *** [giounix.lo] Error 1

Do you have any ideas ?

Thanks

Clive



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/sussex/attachments/20050518/e713702f/attachment.htm 


More information about the Sussex mailing list