Feb 27 2005, 05:44 AM
Post
#1
|
|
|
Group: Members Posts: 26 Joined: 8-February 04 Member No.: 370 |
Hi all,
I frequently seem to run into trouble when compiling software using the dev-img (1.6), While linking, I get errors related to stat64 not being available, E.g. when compiling cpio I get: CODE gcc -g -O2 -o cpio copyin.o copyout.o copypass.o defer.o dstring.o global.omain.o tar.o util.o filemode.o idcache.o makepath.o userspec.o ../lib/libcpio.a main.o: In function `parse_opt': /mnt/card/Documents/Develop/cpio-2.6/src/main.c:413: undefined reference to `stat64' main.o: In function `process_args': /mnt/card/Documents/Develop/cpio-2.6/src/main.c:594: undefined reference to `stat64' collect2: ld returned 1 exit status make[2]: *** [cpio] Error 1 make[2]: Leaving directory `/usr/mnt.rom/card/Documents/Develop/cpio-2.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/mnt.rom/card/Documents/Develop/cpio-2.6' make: *** [all] Error 2 I am sure this has been dealt with, or there is a workaround. BTW the debian arm cross-compiler package seems to have stat64 implemented, as I was able to cross compile cpio, but still I would like to compile packages natively Any clues? Andrew |
|
|
|
![]() |
Apr 7 2005, 12:35 PM
Post
#2
|
|
|
Group: Members Posts: 65 Joined: 23-February 04 From: Santa Rosa Member No.: 1,997 |
Thanks so much for this fix. I applied it to my Z and now I can compile parted. :-)
|
|
|
|
andrewmaier Stat64 Missing In Dev_img-1.6 Feb 27 2005, 05:44 AM
m-morino Hi,
QUOTE(andrewmaier @ Feb 27 2005, 10:44 PM... Feb 27 2005, 07:13 AM
andrewmaier QUOTE(m-morino @ Feb 27 2005, 04:13 PM)H... Feb 27 2005, 07:56 AM
andrewmaier OK, following all the links, I end up that /usr/li... Feb 27 2005, 08:10 AM
m-morino Hi,
QUOTE(andrewmaier @ Feb 28 2005, 01:10 AM... Feb 27 2005, 07:59 PM
andrewmaier Hi,
I feel like I am such an idiot. This morning,... Feb 28 2005, 02:06 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 20th May 2013 - 07:35 AM |