[maemo-developers] Re: Scratchbox Testing Problem

From: Tim Timmerman tim.timmerman at gmail.com
Date: Wed Oct 14 23:30:13 EEST 2009
> 
> > 
> > Hi,
> > I'm pretty much a newb for bot Linux and Maemo. I've installed Maemo 5 Beta 2 SDK and succeeded to the point of non-GUI Hello World. When testing the GUI Hello World with both the flags and libraries set up. This comes out:
> > 
> > gcc -Wall -g gtk_helloworld-1.c `pkg-config --cflags gtk+-2.0` -o gtk_helloworld-1 `pkg-config --libs gtk+-2.0`
> > /usr/lib/libcairo.so: undefined reference to `__memcpy_chk at GLIBC_2.3.4'
> > /usr/lib/libgio-2.0.so: undefined reference to `inotify_init at GLIBC_2.4'
> > /usr/lib/libcairo.so: undefined reference to `__fprintf_chk at GLIBC_2.3.4'
> > /usr/lib/libgio-2.0.so: undefined reference to `inotify_rm_watch at GLIBC_2.4'
> > /usr/lib/libcairo.so: undefined reference to `__snprintf_chk at GLIBC_2.3.4'
> > /usr/lib/libgtk-x11-2.0.so: undefined reference to `nftw64 at GLIBC_2.3.3'
> > /usr/lib/libgio-2.0.so: undefined reference to `inotify_add_watch at GLIBC_2.4'
> > collect2: ld returned 1 exit status
> > 
> > Any idea what I did wrong and needs to correct?
> > Thanks
> > 
> 
> I've got the same problem. Not sure how to solve this, but could this be setup related ?
> 
> TimT.
> 

OK.. not sure if the above made to all relevant places..(Mailinglist and forum got mixed up) BUT:
A reinstall of the SDK seems to have fixed this for me.

HTH.

TimT.
More information about the maemo-developers mailing list