gargs wrote: > Hi > > I am cross compiling a program that is known to work on various other > uClinux platforms, to target blackfin. > > When I compile using the blackfin-toolchain-uclibc-default > ([EMAIL PROTECTED]), and debug the code using gdb, before the segmentation > fault, I get numerous messages of this nature: > > calloc (nmemb=12, lsize=1) at libc/stdlib/malloc/calloc.c:34 > 34 libc/stdlib/malloc/calloc.c: No such file or directory. > in libc/stdlib/malloc/calloc.c > > and > > *___GI_strrchr (s=0x920f86 "pd", c=<value optimized out>) at libc/ > string/generic/strrchr.c:29 > 29 libc/string/generic/strrchr.c: No such file or directory. > in libc/string/generic/strrchr.c > > Why is this so? I installed the uclibc from the blackfin.uclinux.org > RPM. > > cheers, > > -dee > It seems to be a problem related to wrong settings in gdb, almost sure that the search path for source files is wrong.
On gdb console try gdb> show dir to see the current values and eventually fix it by using gdb> dir <your source root dir> Otherwise, post message to gdb list. Carmelo > _______________________________________________ > uClibc mailing list > uClibc@uclibc.org > http://busybox.net/cgi-bin/mailman/listinfo/uclibc > _______________________________________________ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc