aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2]

Author Topic: AmuleWeb: wrong file sizes and speeds on NSLU2  (Read 5753 times)

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: AmuleWeb: wrong file sizes and speeds on NSLU2
« Reply #15 on: June 21, 2008, 10:06:21 PM »

What's the output of file `which amule`?
Logged

LucaTNT

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
    • LuBlog
Re: AmuleWeb: wrong file sizes and speeds on NSLU2
« Reply #16 on: June 22, 2008, 04:31:59 PM »

Code: [Select]
# file `which amule`
/opt/usr/bin/amule: ELF 32-bit LSB executable, ARM, version 1, for GNU/Linux 2.6.12, dynamically linked (uses shared libs), stripped
# amule
/opt/usr/bin/amule: /opt/usr/bin/amule: 1: Syntax error: word unexpected (expecting ")")
Logged

LucaTNT

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
    • LuBlog
Re: AmuleWeb: wrong file sizes and speeds on NSLU2
« Reply #17 on: June 24, 2008, 04:38:12 PM »

Couldn't it be due to the different kernel?
File says that it is "for GNU/Linux 2.6.12", while my kernel is 2.4.22-xfs
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: AmuleWeb: wrong file sizes and speeds on NSLU2
« Reply #18 on: June 24, 2008, 06:35:13 PM »

Yes, this is very well possible.
Logged

LucaTNT

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
    • LuBlog
Re: AmuleWeb: wrong file sizes and speeds on NSLU2
« Reply #19 on: June 24, 2008, 06:43:56 PM »

I found out how to make aMule's configure script find zlib, I had to use the --with-zlib=/opt parameter, now I'm compiling some dependancies, let's see if it works...
Logged

lfroen

  • Guest
Re: AmuleWeb: wrong file sizes and speeds on NSLU2
« Reply #20 on: June 27, 2008, 12:02:54 PM »

Yes, this is very well possible.
No, it is not. Kernel version is irrelevant. libc version - is important.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: AmuleWeb: wrong file sizes and speeds on NSLU2
« Reply #21 on: June 27, 2008, 02:00:27 PM »

According to my understanding, there are various kernel API changes/extensions, which will prevent software using these new extensions on running on an older kernel. I didn't consider that these are abstracted through libc and aMule is unlikely to directly call these functions. Please excuse my misleading information.
Logged

lfroen

  • Guest
Re: AmuleWeb: wrong file sizes and speeds on NSLU2
« Reply #22 on: June 27, 2008, 09:56:51 PM »

Generally, as a "rule of thumb", executable created on system with different major kernels (2.4 vs. 2.6) will not be compatible, due to incompatible libc's on accompanying those kernels.
Logged
Pages: 1 [2]