Hi
 
I am starting out with maemo development have installed
scatchbox-0.9.8.8 and 
have installed maemo-sdk 2.1 (scirocco) via the installer script method.
 
Trying to work my way through the maemo 2.1 tutorial, I have created two

targets HOST (for native x86 compilation) and ARM for cross-compilation.
I have downloaded the maemopad application from the subversion
repository into a local directory maemopad-svn and have tried to compile
it under the 
HOST target. 
 
As the tutorial says ...
 
[sbox-HOST: ~] > cd maemopad-svn
[sbox-HOST: ~/maemopad-svn] > dpkg-buildpackage -rfakeroot -b
dpkg-buildpackage: source package is maemopad
dpkg-buildpackage: source version is 1.5
dpkg-buildpackage: source changed by Maemo Integration
<[EMAIL PROTECTED]>
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh_testdir
Name "main::DEBIAN_DIR" used only once: possible typo at
/usr/bin/dh_testdir
 
line 37.
Use of uninitialized value in concatenation (.) or string 
at /usr/bin/dh_testdir line 37.
dh_testroot
rm -f build-stamp 
 
<SNIP> 
 
configure output ...
 
<SNIP>
 
 
# Add here commands to compile the package. /scratchbox/tools/bin/make
make[1]: Entering directory `/home/wrap/maemopad-svn'
/scratchbox/tools/bin/make  all-recursive
make[2]: Entering directory `/home/wrap/maemopad-svn'
Making all in src
make[3]: Entering directory `/home/wrap/maemopad-svn/src'
if gcc -DHAVE_CONFIG_H -I. -I/home/wrap/maemopad-svn/src -I..    
-D_XOPEN_SOURCE=500 -DXTHREADS -DXUSE_MTSAFE_API 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include 
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2

-I/usr/include/hildon-fm   -pthread -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/include/dbus-1.0 
-I/usr/lib/dbus-1.0/include -I/usr/include/gnome-vfs-2.0 
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 
-I/usr/include/gnome-vfs-module-2.0   -Wall -g -O2 -O2 -Wall -ansi
-pedantic
 
-MT maemopad-main.o -MD -MP -MF ".deps/maemopad-main.Tpo" \
  -c -o maemopad-main.o `test -f 'main.c' || echo 
'/home/wrap/maemopad-svn/src/'`main.c; \
then mv -f ".deps/maemopad-main.Tpo" ".deps/maemopad-main.Po"; \ else rm
-f ".deps/maemopad-main.Tpo"; exit 1; \ fi In file included from
/usr/include/gtk-2.0/gtk/gtk.h:31,
                 from ui/interface.h:27,
                 from main.c:24:
/usr/include/gtk-2.0/gdk/gdk.h:70: error: parse error before '*' token
In file included from /usr/include/gtk-2.0/gtk/gtk.h:114,
                 from ui/interface.h:27,
                 from main.c:24:
/usr/include/gtk-2.0/gtk/gtkmain.h:99: error: parse error before 
"GOptionEntry"
/usr/include/gtk-2.0/gtk/gtkmain.h:103: error: parse error before '*'
token
/usr/include/gtk-2.0/gtk/gtkmain.h:103: warning: type defaults to `int'
in 
declaration of `gtk_get_option_group'
/usr/include/gtk-2.0/gtk/gtkmain.h:103: error: ISO C forbids data
definition
 
with no type or storage class
main.c: In function `main':
main.c:92: warning: passing arg 1 of `gtk_signal_connect_full' from 
incompatible pointer type
make[3]: *** [maemopad-main.o] Error 1
make[3]: Leaving directory `/home/wrap/maemopad-svn/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/wrap/maemopad-svn'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/wrap/maemopad-svn'
make: *** [build-stamp] Error 2
[sbox-HOST: ~/maemopad-svn] > 
 
So my question is:  Is gtk-2.0 /gdk broken under maemo-2.1 ? Are there
known
 
bugs or issues with this release ? 
 
Thanks for any help.
Graeme
 
 
Dr Graeme N Brown 
Mobility Research R & V
 
BT Group Chief Technology Office
B28 pp 2B
Adastral Park
Ipswich
Suffolk
United Kingdom
IP5 3RE
___________________________
Office:     +44 (0) 1473 646931
Fax :       +44 (0) 1473 646885
Email:     [EMAIL PROTECTED]
 
British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no. 1800000 
This electronic message contains information from British
Telecommunications plc which may be privileged or confidential. The
information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient be aware that any
disclosure, copying, distribution or use of the contents of this
information is prohibited. If you have received this electronic message
in error, please notify us by telephone or email (to the numbers or
address above) immediately.
Activity and use of the British Telecommunications plc email system is
monitored to secure its effective operation and for other lawful
business purposes. Communications using this system will also be
monitored and may be recorded to secure effective operation and for
other lawful business purposes.
 
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to