1
Linux Applications / How To Compile Gnome Application On Zaurus C3200 With Pdaxrom?
« on: June 29, 2008, 02:18:30 pm »
Hello Capn_Fish,
thank you, again.
I did as you advised and tested if the squashfs is mounted correctly on my C3200.
When I type "df" I get: /dev/loop0 26880 26880 0 100% /opt/native/arm/3.4.6-xscale-softvfp
When I type "gcc" I get: gcc: no input files
Indeed I can compile GTK+ - applications with gcc without any problems.
But when I write a simple GNOME application
(example: gnomewin.c from Arthur Griffith, GNOME/GTK+ Programming Bible, IDG Books, 2000, page 31)
and try to compile it with: gcc -o gnomewin gnomewin.c -lgnome -lgtk
the Linux terminal gives the following messages:
gnomewin.c:4:19: gnome.h: No such file or directory
gnomewin.c: In function ´main´:
gnomewin.c:8: error: ´GtkWidget´undeclared (first use in this function)
.
.
and so on
Therefore I think gcc doesn´t find the gnome libs.
Is that correct?
And would you please help me once more?
Best regards
martinS
thank you, again.
I did as you advised and tested if the squashfs is mounted correctly on my C3200.
When I type "df" I get: /dev/loop0 26880 26880 0 100% /opt/native/arm/3.4.6-xscale-softvfp
When I type "gcc" I get: gcc: no input files
Indeed I can compile GTK+ - applications with gcc without any problems.
But when I write a simple GNOME application
(example: gnomewin.c from Arthur Griffith, GNOME/GTK+ Programming Bible, IDG Books, 2000, page 31)
and try to compile it with: gcc -o gnomewin gnomewin.c -lgnome -lgtk
the Linux terminal gives the following messages:
gnomewin.c:4:19: gnome.h: No such file or directory
gnomewin.c: In function ´main´:
gnomewin.c:8: error: ´GtkWidget´undeclared (first use in this function)
.
.
and so on
Therefore I think gcc doesn´t find the gnome libs.
Is that correct?
And would you please help me once more?
Best regards
martinS