OpenWrt Forum Archive

Topic: fdisk failes: can't resolve symbol 'llseek'

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

i'm running

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r10439) 
-------------------

i have installed a harddisk and a USB stick.

I did ipkg install fdisk.

My ipkg.conf:

I get the following Error:

root@OpenWrt:/# fdisk

Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda  (for the first IDE disk)
  or: fdisk /dev/sdc  (for the third SCSI disk)
  or: fdisk /dev/eda  (for the first PS/2 ESDI drive)
  or: fdisk /dev/rd/c0d0  or: fdisk /dev/ida/c0d0  (for RAID devices)
  ...

root@OpenWrt:/# fdisk /dev/sdb
fdisk: can't resolve symbol 'llseek'
root@OpenWrt:/# fdisk /dev/sda
fdisk: can't resolve symbol 'llseek'
root@OpenWrt:/#

Any ideas, what's wrong ?

Thanks, Je\/eR

It looks like you've compiled Kamikaze yourself, but you're trying to install packages from version 7.09.

When you compiled Kamikaze you would have got a "bin" directory containing the image that you flashed and also a "packages" subdirectory containing the packages you compiled.

Put that packages directory on a web server and edit your ipkg.conf file to point at it.  e.g.:

src packages http://jever.example.org/packages
dest root /
dest ram /tmp

Then run:
ipkg remove fdisk
ipkg update
ipkg install fdisk

That should work.

Hi Wodin,

yes, this was the problem.
Compiled full stuff with packages and put it on a local Filezilla FTP,
worked quite fine!

Thx! Je\/eR

The discussion might have continued from here.