[maemo-developers] [maemo-developers] In tutorial: callbacks.c:214 undefined reference to `ossohelp_show'
From: Michael Kostrzewa (Nokia-M/Helsinki) michael.kostrzewa at nokia.comDate: Sun Oct 29 00:15:19 EEST 2006
- Previous message: [maemo-developers] In tutorial: callbacks.c:214 undefined reference to `ossohelp_show'
- Next message: [maemo-developers] Proper version of scratchbox? suse 9.2?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm afraid this example is seriously outdated. You might consider reading/following the tutorial on maemo.org - it has more recent information about building a simple application. BTW, we're working on fixing that. MDK On Sat, Oct 28, 2006 at 03:17:10AM -0600, ext Nathan Fain wrote: > building the example maemopad using the instructions in the tutorial, > on both the i386 or arm enviornments results in the following error > (removed the full include list for breivity): > > if gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -O2 -Wall -ansi > -pedantic -MT maemopad-interface.o -MD -MP -MF > ".deps/maemopad-interface.Tpo" \ > -c -o maemopad-interface.o `test -f 'ui/interface.c' || echo > '/home/persona/maemopad/src/'`ui/interface.c; \ > > *ui/interface.c:29:55: hildon-widgets/hildon-file-chooser-dialog.h: No > such file or directory* > > NOTE: a find shows the files are installed: > [sbox-SDK_ARMEL: ~/maemopad] > find / -name hildon-file-chooser-dialog.h > /targets/SDK_PC/usr/include/hildon-fm/hildon-widgets/hildon-file-chooser-dialog.h > /targets/SDK_ARMEL/usr/include/hildon-fm/hildon-widgets/hildon-file-chooser-dialog.h > > Hence a dirty work around was to link to these header files in the > location that the makefile wanted them. However, I just run into > another error: > > > gcc -Wall -g -O2 -O2 -Wall -ansi -pedantic -o maemopad maemopad-main.o > maemopad-interface.o maemopad-callbacks.o -pthread > -Wl,--export-dynamic /usr/lib/libhildonwidgets.so /usr/lib/libesd.so > -L/usr/lib /usr/lib/libaudiofile.so /usr/lib/libmb.so > /usr/lib/libXext.so /usr/lib/libXft.so /usr/lib/libXrender.so > /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libfontconfig.so > /usr/lib/libfreetype.so /usr/lib/libexpat.so -lpng12 > /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so > /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so > /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so > /usr/lib/libpango-1.0.so /usr/lib/libosso.so -lc > /usr/lib/libgnomevfs-2.so /usr/lib/libxml2.so -lz -lm -lresolv -lrt > /usr/lib/libgconf-2.so /usr/lib/libgobject-2.0.so > /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libgmodule-2.0.so -ldl > -ldbus-glib-1 -ldbus-1 /usr/lib/libglib-2.0.so > maemopad-interface.o: In function > `interface_file_chooser':ui/interface.c:86: undefined reference to > `hildon_file_chooser_dialog_new' > maemopad-callbacks.o: In function `callback_help':ui/callbacks.c:214: > undefined reference to `ossohelp_show' > > > > Any help appreciated. Thanks > > -- > cyphunk://cypherpoet.com > nathan://squimp.com > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://maemo.org/mailman/listinfo/maemo-developers
- Previous message: [maemo-developers] In tutorial: callbacks.c:214 undefined reference to `ossohelp_show'
- Next message: [maemo-developers] Proper version of scratchbox? suse 9.2?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]