Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT 3.4M6 does not compile for amd64 arch.


Hi, Ahmed.

Have you seen this FAQ?
http://www.eclipse.org/swt/faq.php#gtk64

Hope this helps,
Carolyn



From: أحمد المحمودي <aelmahmoudy@xxxxxxxxxxxxxxxxxxxxx>
To: platform-swt-dev@xxxxxxxxxxx
Date: 05/06/2008 10:42 PM
Subject: [platform-swt-dev] SWT 3.4M6 does not compile for amd64 arch.





Hello,

 I was trying to compile SWT 3.4M6 for amd64 arch. but it gave this
 error:
cc -g -O2 -g -Wall -O2 -DUSE_ASSEMBLER -c callback.c
callback.c:436: warning: cast from pointer to integer of different size
callback.c:436: error: initializer element is not constant
callback.c:436: error: (near initialization for 'fnx_array[0][0]')
callback.c:436: warning: cast from pointer to integer of different size
callback.c:436: error: initializer element is not constant
callback.c:436: error: (near initialization for 'fnx_array[0][1]')
callback.c:436: warning: cast from pointer to integer of different size
callback.c:436: error: initializer element is not constant
callback.c:436: error: (near initialization for 'fnx_array[0][2]')
...
callback.c:448: warning: cast from pointer to integer of different size
callback.c:448: error: initializer element is not constant
callback.c:448: error: (near initialization for 'fnx_array[12][126]')
callback.c:448: warning: cast from pointer to integer of different size
callback.c:448: error: initializer element is not constant
callback.c:448: error: (near initialization for 'fnx_array[12][127]')
callback.c: In function 'callback':
callback.c:627: warning: dereferencing type-punned pointer will break strict-aliasing rules
callback.c:632: warning: dereferencing type-punned pointer will break strict-aliasing rules

 The full build log can be found at:
 
http://launchpadlibrarian.net/13967106/buildlog_ubuntu-hardy-amd64.swt-gtk_3.4~M6-1~ppa3_FAILEDTOBUILD.txt.gz

 I was wondering how you managed to build a 64-bit version of SWT
 3.4M6.

 Thanks...

--
أحمد المحمودي (Ahmed El-Mahmoudy)
 Digital design engineer
 SySDSoft, Inc.
GPG KeyID: 0x9DCA0B27 (@ subkeys.pgp.net)
GPG Fingerprint: 087D 3767 8CAC 65B1 8F6C  156E D325 C3C8 9DCA 0B27
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top