[uClibc]What am I missing?

Luiz Paulo luizpaulo at myrealbox.com
Sun Mar 31 17:30:04 UTC 2002


Hi,

	I'm a newbie when it comes to uClibc, and I'm stuck trying to compile 
something so I decided to ask for some help. Anyways I'm trying to compile 
util-linux with uClibc(0.9.10) and I can't seem to get past the following 
error:

/tmp/ccfk9h7U.o: In function `check_blocks':
/tmp/ccfk9h7U.o(.text+0x393): undefined reference to `lseek64'
/tmp/ccfk9h7U.o: In function `valid_offset':
/tmp/ccfk9h7U.o(.text+0x453): undefined reference to `lseek64'
/tmp/ccfk9h7U.o: In function `get_size':
/tmp/ccfk9h7U.o(.text+0x510): undefined reference to `open64'
/tmp/ccfk9h7U.o: In function `main':
/tmp/ccfk9h7U.o(.text+0x988): undefined reference to `open64'
/tmp/ccfk9h7U.o(.text+0x9a0): undefined reference to `__fxstat64'
/tmp/ccfk9h7U.o(.text+0xb0e): undefined reference to `lseek64'

I also tried to compile sfdisk(the one at the ftp.busybox.net) and I get 
these errors:

sfdisk.o: In function `save_sectors':
sfdisk.o(.text+0x422): undefined reference to `open64'
sfdisk.o: In function `restore_sectors':
sfdisk.o(.text+0x564): undefined reference to `__xstat64'
sfdisk.o(.text+0x5fc): undefined reference to `open64'
sfdisk.o(.text+0x674): undefined reference to `open64'
sfdisk.o: In function `is_blockdev':
sfdisk.o(.text+0xf20): undefined reference to `__fxstat64'
sfdisk.o: In function `is_ide_cdrom_or_tape':
sfdisk.o(.text+0x4402): undefined reference to `fopen64'
sfdisk.o(.text+0x4463): undefined reference to `__xstat64'
sfdisk.o: In function `my_open':
sfdisk.o(.text+0x4dca): undefined reference to `open64'
sfdisk.o: In function `do_fdisk':
sfdisk.o(.text+0x5497): undefined reference to `__xstat64'
collect2: ld returned 1 exit status
make: *** [sfdisk] Error 1

When I first tried to compile it said I didn't have LFS support, which was 
needed, so I went and changed the config and added it, compiled it, and 
installed it(now I get the errors above). And from what I read those errors 
are related to LFS(is that right?). Anyways what am I missing? I tried to 
compile several version of util-linux just to be sure (from l to o...) and 
still no luck. Oh yeah the arch is i386.

Well since I'm asking for help, cam I compile cfdisk using minislang? If so 
does it require any special conf to be done?

Well any help, or hint on the right direction would be great. I appreciate 
any help.

Luiz Paulo



More information about the uClibc mailing list